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

[1.5.0] Incorrectly List by Pypi as Available for Python < 3.7 #61

Closed
hswong3i opened this issue Aug 4, 2022 · 1 comment · Fixed by #62
Closed

[1.5.0] Incorrectly List by Pypi as Available for Python < 3.7 #61

hswong3i opened this issue Aug 4, 2022 · 1 comment · Fixed by #62

Comments

@hswong3i
Copy link
Contributor

hswong3i commented Aug 4, 2022

From git diff 1.4.0..1.5.0 setup.* we get, so 1.5.0 should be available for python_requires = >=3.7:

diff --git a/setup.cfg b/setup.cfg
index 9dd01be..37d4a4a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -16,20 +16,18 @@ classifier =
     Intended Audience :: Developers
     License :: OSI Approved :: ISC License (ISCL)
     Operating System :: OS Independent
-    Programming Language :: Python :: 2
-    Programming Language :: Python :: 2.6
-    Programming Language :: Python :: 2.7
-    Programming Language :: Python :: 3
-    Programming Language :: Python :: 3.4
-    Programming Language :: Python :: 3.5
-    Programming Language :: Python :: 3.6
+    Programming Language :: Python :: 3 :: Only
+    Programming Language :: Python :: 3.7
+    Programming Language :: Python :: 3.8
+    Programming Language :: Python :: 3.9
+    Programming Language :: Python :: 3.10
     Topic :: Software Development :: Libraries :: Python Modules
 
 [options]
 package_dir =
     = src
 packages = find:
-python_requires = >=2.6,!=3.0,!=3.1,!=3.2,!=3.3
+python_requires = >=3.4
 install_requires =
 zip_safe = true

But due to above python_requires = >=3.4, Pypi incorrectly list it as available for Python 3.6. e.g with Ubuntu 18.04:

$ sudo podman run -ti --rm ubuntu:18.04 bash

root@1924dd60b7f6:/# apt update && apt -y install python3-dev python3-pip

root@1924dd60b7f6:/# python3 --version
Python 3.6.9

root@1924dd60b7f6:/# pip3 install shellingham

root@1924dd60b7f6:/# pip3 list | grep shellingham
shellingham (1.5.0)

Please kindly remove 1.5.0 from Pypi and create a new release with python_requires = >=3.7

hswong3i added a commit to alvistack/sarugaku-shellingham that referenced this issue Aug 4, 2022
`python_requires = >=3.4` should be updated as `python_requires =
>=3.7`, else Pypi will still list it as available for Python < 3.7.

Fixes sarugaku#61

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@hswong3i
Copy link
Contributor Author

hswong3i commented Aug 4, 2022

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

Successfully merging a pull request may close this issue.

1 participant