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

Include Python 3.10 classifier when running poetry build on 3.10 #4581

Closed
2 tasks done
playpauseandstop opened this issue Oct 1, 2021 · 3 comments
Closed
2 tasks done
Labels
kind/feature Feature requests/implementations

Comments

@playpauseandstop
Copy link
Contributor

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Hi team!

Python 3.10 will be released next Mon, Oct 4, but at a moment it is still impossible to release a package to PyPI via stable poetry (1.1.10) && poetry-core (1.0.6), which will include "Programming Language :: Python :: 3.10" trove classifier, as AVAILABLE_PYTHONS list still does not contain "3.10" version.

In same time, poetry-core@master already has included "3.10" to list of AVAILABLE_PYTHONS, so I am wondering is there any chance to backport this change and include "3.10" classifier, when building package via stable poetry && poetry-core at Python 3.10rc2.

I understand, that I can manually include "Programming Language :: Python :: 3.10" classifier to list of classifiers in pyproject.toml, but I find that fix not very intuitive and clean.

Thanks in advance and let me know, if I can provide any additional info on a topic.


@playpauseandstop playpauseandstop added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Oct 1, 2021
playpauseandstop added a commit to playpauseandstop/badabump that referenced this issue Oct 2, 2021
At a moment `[email protected]` does not automatically add the classifier
into wheel metadata, even when run on python 3.10.0rc2, as it used at
GitHub Actions.

Related: python-poetry/poetry#4581
playpauseandstop added a commit to playpauseandstop/badabump that referenced this issue Oct 2, 2021
At a moment `[email protected]` does not automatically add the classifier
into wheel metadata, even when run on python 3.10.0rc2, which is used
at GitHub Actions for publishing `badabump` into PyPI.

Related: python-poetry/poetry#4581
@playpauseandstop
Copy link
Contributor Author

poetry-core==1.0.7 released with fix for this issue: python-poetry/poetry-core#215

Now, it is possible to reinstall poetry if you're using pipx via,

pipx reinstall poetry

and it will automatically add Programming Language :: Python :: 3.10 as classifier to the package.

Thanks a lot!

ps. Not sure, whether new poetry release, which will require poetry-core>=1.0.7, is planned or not, so leaving this issue as open. But if you come here from search, reinstalling poetry should fix the issue for you.

@playpauseandstop
Copy link
Contributor Author

And now it is for sure fixed via poetry==1.1.11 release.

Thanks again!

@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

2 participants