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

installs wrong multiprocess wheel for pypy #222

Closed
mmckerns opened this issue Oct 14, 2021 · 8 comments
Closed

installs wrong multiprocess wheel for pypy #222

mmckerns opened this issue Oct 14, 2021 · 8 comments

Comments

@mmckerns
Copy link
Member

Travis CI installs the wrong multiprocess wheel when for pypy3.6 and pypy3.7.
A pathos pypy3.6 install identifies multiprocess-0.70.12.2-py36-none-any.whl as a dependency

Installed /home/travis/virtualenv/pypy3.6-7.3.3/site-packages/pathos-0.2.9.dev0-py3.6.egg
Processing dependencies for pathos==0.2.9.dev0
Searching for multiprocess>=0.70.12.1
Reading https://pypi.org/simple/multiprocess/
Downloading https://files.pythonhosted.org/packages/df/d0/c3011a5bb77f307e68682a5046cce1a2c6591267bf24b5bf3fc4130bb39d/multiprocess-0.70.12.2-py36-none-any.whl#sha256=b3f866f7d9c7acc1a9cb1b6063a29f5cb140ff545b35b71fd4bfdac6f19d75fa
Best match: multiprocess 0.70.12.2
Processing multiprocess-0.70.12.2-py36-none-any.whl
Installing multiprocess-0.70.12.2-py36-none-any.whl to /home/travis/virtualenv/pypy3.6-7.3.3/site-packages
Adding multiprocess 0.70.12.2 to easy-install.pth file

and a pathos pypy3.7 install also identifies multiprocess-0.70.12.2-py36-none-any.whl

Installed /home/travis/virtualenv/pypy3.7-7.3.5/site-packages/pathos-0.2.9.dev0-py3.7.egg
Processing dependencies for pathos==0.2.9.dev0
Searching for multiprocess>=0.70.12.1
Reading https://pypi.org/simple/multiprocess/
Downloading https://files.pythonhosted.org/packages/df/d0/c3011a5bb77f307e68682a5046cce1a2c6591267bf24b5bf3fc4130bb39d/multiprocess-0.70.12.2-py36-none-any.whl#sha256=b3f866f7d9c7acc1a9cb1b6063a29f5cb140ff545b35b71fd4bfdac6f19d75fa
Best match: multiprocess 0.70.12.2
Processing multiprocess-0.70.12.2-py36-none-any.whl
Installing multiprocess-0.70.12.2-py36-none-any.whl to /home/travis/virtualenv/pypy3.7-7.3.5/site-packages
Adding multiprocess 0.70.12.2 to easy-install.pth file

Note that both do not install the pypy-specific versions (i.e. multiprocess-0.70.12.2-pp36-none-any.whl), and the latter also installs the wrong version of python (i.e. 3.6 instead of 3.7).

@mmckerns
Copy link
Member Author

@mmckerns
Copy link
Member Author

a pathos pypy2.7 also installs the wrong multiprocess dependency (zip not whl):

Installed /home/travis/virtualenv/pypy2.7-7.3.1/site-packages/pathos-0.2.9.dev0-py2.7.egg
Processing dependencies for pathos==0.2.9.dev0
Searching for multiprocess>=0.70.12.1
Reading https://pypi.org/simple/multiprocess/
Downloading https://files.pythonhosted.org/packages/99/1a/472900644359cdd208d1fbe71706bdeecbc6e8db2e39c35ebe89459e9172/multiprocess-0.70.12.2.zip#sha256=206bb9b97b73f87fec1ed15a19f8762950256aa84225450abc7150d02855a083
Best match: multiprocess 0.70.12.2
Processing multiprocess-0.70.12.2.zip
Writing /tmp/easy_install-ZZ7SxN/multiprocess-0.70.12.2/setup.cfg
Running multiprocess-0.70.12.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZZ7SxN/multiprocess-0.70.12.2/egg-dist-tmp-aEPlAM
no previously-included directories found matching '.git'
no previously-included directories found matching '.coverage'
creating /home/travis/virtualenv/pypy2.7-7.3.1/site-packages/multiprocess-0.70.12.2-py2.7.egg
Extracting multiprocess-0.70.12.2-py2.7.egg to /home/travis/virtualenv/pypy2.7-7.3.1/site-packages
Adding multiprocess 0.70.12.2 to easy-install.pth file

@mmckerns mmckerns changed the title travis installs wrong multiprocess wheel for pypy3 travis installs wrong multiprocess wheel for pypy Oct 14, 2021
@mmckerns
Copy link
Member Author

mmckerns commented Oct 14, 2021

Seems similar issue exists for a local install as well...

Installed /Users/mmckerns/lib/pypy-2.7/site-packages/pathos-0.2.9.dev0-py2.7.egg
Processing dependencies for pathos==0.2.9.dev0
Searching for multiprocess>=0.70.12.1
Reading https://pypi.org/simple/multiprocess/
Downloading https://files.pythonhosted.org/packages/99/1a/472900644359cdd208d1fbe71706bdeecbc6e8db2e39c35ebe89459e9172/multiprocess-0.70.12.2.zip#sha256=206bb9b97b73f87fec1ed15a19f8762950256aa84225450abc7150d02855a083
Best match: multiprocess 0.70.12.2
Processing multiprocess-0.70.12.2.zip
...

@mmckerns mmckerns changed the title travis installs wrong multiprocess wheel for pypy installs wrong multiprocess wheel for pypy Oct 14, 2021
@mmckerns
Copy link
Member Author

Same result for local install with pypy3.6

Installed /Users/mmckerns/lib/pypy-3.6/site-packages/pathos-0.2.9.dev0-py3.6.egg
Processing dependencies for pathos==0.2.9.dev0
Searching for multiprocess>=0.70.12.1
Reading https://pypi.org/simple/multiprocess/
Downloading https://files.pythonhosted.org/packages/df/d0/c3011a5bb77f307e68682a5046cce1a2c6591267bf24b5bf3fc4130bb39d/multiprocess-0.70.12.2-py36-none-any.whl#sha256=b3f866f7d9c7acc1a9cb1b6063a29f5cb140ff545b35b71fd4bfdac6f19d75fa
Best match: multiprocess 0.70.12.2
Processing multiprocess-0.70.12.2-py36-none-any.whl
...

and pypy3.7

Installed /Users/mmckerns/lib/pypy-3.7/site-packages/pathos-0.2.9.dev0-py3.7.egg
Processing dependencies for pathos==0.2.9.dev0
Searching for multiprocess>=0.70.12.1
Reading https://pypi.org/simple/multiprocess/
Downloading https://files.pythonhosted.org/packages/df/d0/c3011a5bb77f307e68682a5046cce1a2c6591267bf24b5bf3fc4130bb39d/multiprocess-0.70.12.2-py36-none-any.whl#sha256=b3f866f7d9c7acc1a9cb1b6063a29f5cb140ff545b35b71fd4bfdac6f19d75fa
Best match: multiprocess 0.70.12.2
Processing multiprocess-0.70.12.2-py36-none-any.whl
...

@mmckerns
Copy link
Member Author

mmckerns commented Oct 14, 2021

Possibly due to badly named multiprocess wheel... however, pypy3.7 installing a py3.6 wheel is very odd.

@mmckerns
Copy link
Member Author

It appears as pip moved from 19.x to 20.x, the supported naming conventions for pypy changed: pypa/packaging#311
pypa/pip#7629

Thus pp37-none-any.whl (used by multiprocess) is no longer supported:

$ pypy3.7
>>>> from packaging import tags
>>>> for t in tags.generic_tags(): print(t)
pp37-pypy37_pp73-macosx_***
[SNIPPED]
pp37-none-macosx_***
[SNIPPED]
>>>> for t in tags.compatible_tags(): print(t)
[SNIPPED]
py37-none-any
py3-none-any
py36-none-any
py35-none-any
py34-none-any
py33-none-any
py32-none-any
py31-none-any
py30-none-any

Same for pp36-none-any.whl and pp27-none-any.whl.

@mmckerns
Copy link
Member Author

Workaround added for travis (force a source install): 835a3fd. The issue still remains for a non-travis install.

@mmckerns
Copy link
Member Author

should be fixed by the release of multiprocess-0.70.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant