Skip to content

Update noxfile.py #306

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

Closed
wants to merge 1 commit into from
Closed

Conversation

dustinmichels
Copy link

Hallo! 👋 I am a huge fan of your tutorial, thank you for putting it together!

To get nox working, I had to include the argument --without-hashes along with the poetry export command. Otherwise I get errors. For example, running:

nox -s black

I get the error:

ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    black from https://files.pythonhosted.org/packages/d2/16/a92c999103bee1236dd93f703f3522217fe00bd97bd50ae3699c2d91e320/black-21.9b0-py3-none-any.whl#sha256=380f1b5da05e5a1429225676655dddb96f5ae8c75bdf91e53d798871b902a115

I am a bit confused by the error, but if it seems reproducible maybe you'd like to include this change?

My setup:

Poetry==1.1.10
nox==2021.10.1
Python==3.9.7

Thanks again!

To get nox working, I had to include the argument `--without-hashes` along with the `poetry export` command.
@dustinmichels
Copy link
Author

Sorry, did not realize their was already a lengthy discussion of this issue: #174

@cjolowicz
Copy link
Owner

Thanks for the report and feedback 😊

Closing as duplicate of #174

@cjolowicz cjolowicz closed this Dec 15, 2021
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