Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename whohacks to whois. #79

Closed
wants to merge 6 commits into from
Closed

Conversation

EduKav1813
Copy link
Collaborator

The project is named "whohacks" while the actual
folder is named "whois", which causes poetry install to fail.

The project is named "whohacks" while the actual
folder is named "whois", which causes `poetry
install` to fail.
@EduKav1813 EduKav1813 requested a review from not7cd September 29, 2024 18:24
@EduKav1813 EduKav1813 self-assigned this Sep 29, 2024
Copy link
Contributor

@not7cd not7cd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there should be a different setting for changing the module name that is being found by poetry.

@EduKav1813
Copy link
Collaborator Author

Ok, I will have a look

@EduKav1813
Copy link
Collaborator Author

I managed to fix this problem by using the "packages" section and modifying the Dockerfile. I also moved from using the deprecated poetry install --no-dev to newer poetry install --only main.

@EduKav1813 EduKav1813 requested a review from not7cd October 1, 2024 18:20
@@ -7,9 +7,10 @@ RUN poetry config virtualenvs.create false

COPY pyproject.toml /app/
COPY poetry.lock /app/
COPY whois /app/whois/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't be required to do this. We are not copying project files before requirement install, so every code change doesn't force requirement installation.

@EduKav1813
Copy link
Collaborator Author

Closed in favor of #81

@EduKav1813 EduKav1813 closed this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants