-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] AttributeError: '_Printer' object has no attribute 'split' in rfc822_escape #2741
Comments
I too have run into this. Downgrading to setuptools 56.1.0 as @jhmartin suggested worked. |
Setting
in setup.py also works around the issue. |
As reported, the |
Necessary to be able to install with setuptools>`56.1.0`, see pypa/setuptools#2741
Necessary to be able to install with setuptools>`56.1.0`, see pypa/setuptools#2741
Even I ran in this error ,
Please suggest an option to resolve this asap. |
Hi Arun. Your traceback provides no insight that changes any of the analysis previously done above. I've requested additional information from the original poster without response. If there's going to be any progress on this issue, it's going to require someone to come up with a reproducer that demonstrates what inputs are necessary to trigger the error. |
useful |
I have also encountered this issue using setuptools 67.1.0. The bug occurs if the "license" kwarg is set by importing it from another module.
If I change the |
Hey Tristan. Thanks for the repro. I created the two files you suggested and also created a
|
Indeed, it was the misplaced commas that broke it. Thanks for your help! |
setuptools version
57.4.0
Python version
3.8.11
OS
OSX (Docker image python:3.8)
Additional environment information
I suspect https://github.com/pypa/setuptools/pull/2640/files triggered it.
56.2.0 fails.
56.1.0 works.
Description
My setup.py is
The repository does not have a LICENSE.txt in it.
My version.py has:
Build fails as seen in the console output below.
Expected behavior
The build should complete.
How to Reproduce
Build an egg that does not specify a license in license.py, but does in __version__.py as a single line.
The build will fail as shown in Output.
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: