-
-
Notifications
You must be signed in to change notification settings - Fork 290
Improve packaging [PEP 517 + 621] #1670
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
Conversation
1c3b3d5
to
79350ba
Compare
79350ba
to
58bd603
Compare
Pull Request Test Coverage Report for Build 2579380559
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great !
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add 3.11
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm nice catch, I think we forgot to add it in #1584
"Programming Language :: Python :: 3.10", | |
"Programming Language :: Python :: 3.10", | |
"Programming Language :: Python :: 3.11", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add the 3.11 metadata before supporting all 3.11 features, because we're supporting all the old features and if we don't do that, then there's no astroid at all for 3.11 which is a lot worse than having astroid without some 3.11 exclusive features.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add the 3.11 metadata before supporting all 3.11 features, because we're supporting all the old features and if we don't do that, then there's no astroid at all for 3.11 which is a lot worse than having astroid without some 3.11 exclusive features.
We don't block anyone from installing astroid with Python 3.11.
However, the way I understand the classifier is "All of the features (or at least the major ones) for version x.xx are supported." That's why I would recommend to wait a bit longer before adding it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't block anyone from installing astroid with Python 3.11.
Hmm right, my bad, pip is using install_require
not the metadata.
23af930
to
65ca53b
Compare
After the issue with dependabot in pylint, I've added back |
Description
Similar to pylint-dev/pylint#7076
python -m build
instead of deprecatedpython setup.py sdist bdist_wheel
setup.cfg
topyproject.toml
PEP 621MANIFEST.in
-> entries haven't been used.README.rst
toMANIFEST.in
. Required to be able to build thewheel
fromsdist
and still include the readme text in the project metadata.Metadata diff
Notes
README.rst
should be included insdist
to buildwheel
successfully. WithoutMANIFEST.in
,README.rst
would be added automatically. Let's add it manually, just in case something else is added toMANIFEST.in
later.Platform
isn't used currently / anymoreHome-page
was defined withurl
. I've moved it toproject.urls
and renamed it toSource Code
.project.url
forDocs