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

New release? #38

Open
max-sixty opened this issue Mar 2, 2022 · 3 comments
Open

New release? #38

max-sixty opened this issue Mar 2, 2022 · 3 comments

Comments

@max-sixty
Copy link

Creating a specific issue for #32 (comment) — would it be possible to create a new release for the library?

Thanks!

@dhendry
Copy link

dhendry commented Jan 31, 2023

It would be great to get a fix for this released

@monopoly-db
Copy link

Ran into this issue today while building a jupyter container image.

#0 6.419 Collecting nb_mypy
#0 6.519   Downloading nb_mypy-1.0.4-py3-none-any.whl (7.4 kB)
#0 6.587 Collecting nb_black
#0 6.648   Downloading nb_black-1.0.7.tar.gz (4.8 kB)
#0 6.661   Preparing metadata (setup.py): started
#0 6.764   Preparing metadata (setup.py): finished with status 'error'
#0 6.768   error: subprocess-exited-with-error
#0 6.768   
#0 6.768   × python setup.py egg_info did not run successfully.
#0 6.768   │ exit code: 1
#0 6.768   ╰─> [3 lines of output]
#0 6.768       error in nb_black setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after name and no valid version specifier)
#0 6.768           yapf >= '0.28'; python_version < '3.6'
#0 6.768                ^
#0 6.768       [end of output]
#0 6.768   
#0 6.768   note: This error originates from a subprocess, and is likely not a problem with pip. 
#0 6.769 error: metadata-generation-failed
#0 6.769 
#0 6.769 × Encountered error while generating package metadata.
#0 6.769 ╰─> See above for output.
#0 6.769 
#0 6.769 note: This is an issue with the package mentioned above, not pip.
#0 6.769 hint: See above for details.

@leifdenby
Copy link

It's not much of a fix, but I've forked the repo and simplified setup.py to drop python2 support. You can install my fork with:

python -m pip install git+https://github.com/leifdenby/nb_black/#egg=nb_black

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

No branches or pull requests

4 participants