← All tasks
pythonsarugaku/shellingham #61Not a task: already works

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

envgap__sarugaku__shellingham-61

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
ace45254557977bb8d0a7c511d16c074ec95576b
Manifest
setup.cfg
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

sarugaku/shellingham #61 · read the original issue
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`
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]