mgedmin / mgedmin/check-python-versions
check-python-versions --add ... drops the Python :: 3 :: Only classifier
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 24
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce:
- git clone https://github.com/mgedmin/check-manifest
- git checkout 61023f599d5bbdb2b5b7ff2e9404f0e40ca170f7
- check-python-versions --add 3.10 --diff
Expected:
- adds 3.10, doesn't touch anything else
Actual:
--- ./setup.py (original)
+++ ./setup.py (updated)
@@ -44,11 +44,11 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with check-python-versions --add 3.10 --diff at commit 61023f599d5bbdb2b5b7ff2e9404f0e40ca170f7, then inspect the logic that updates classifiers in setup.py. Done means the command adds the Python 3.10 classifier while preserving Python :: 3 :: Only and other existing classifiers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100