Open blais opened 6 years ago
Original comment by Dan Stromberg (Bitbucket: strombrg, ).
Same here - both pip and pip3 fail the same way.
Original comment by Dan Stromberg (Bitbucket: strombrg, ).
I'm interested in working on this.
What branch or tag should I fork?
Thanks.
Original comment by Dan Stromberg (Bitbucket: strombrg, ).
Would you be interested in handing off maintenance of snakefood to someone else? I imagine we might be able to find someone - it's pretty useful.
Original comment by Dan Stromberg (Bitbucket: strombrg, ).
Please do set me up with access to the repo.
Original comment by Fredrik Wendt (Bitbucket: FredrikWendt, GitHub: FredrikWendt).
@dstromberg Did you make any progress on this?
Original comment by Fredrik Wendt (Bitbucket: FredrikWendt, GitHub: FredrikWendt).
Saw this: https://github.com/GreatFruitOmsk/snakefood but that initiative seems to have ended without having a Python 3 compatible release.
I may be able to contribute, at least insofar as making compatible w/ Python 3!
Problem is largely deprecated.
Really? I still get the Python 3 compatibility errors with latest on PyPi. 😬 PyPi needs updating maybe?
No idea. I should delete the project. Python2 is EOL already.
On Wed, Mar 3, 2021, 00:53 Ezekiel Victor notifications@github.com wrote:
Really? I still get the Python 3 compatibility errors with latest on PyPi. 😬 PyPi needs updating maybe?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blais/snakefood/issues/6#issuecomment-789455291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACSBE4SH5FIHC4UKX7PEFDTBXFF7ANCNFSM4YQAZTVQ .
Yikes, don't do that! I'd be happy to take ownership if you want to get rid of it.
hey @evictor, we can work in this project, I haven't find a good replacement for python3... @blais @evictor, where is this project at? otherwise any recommendation for a good dependency analysis / mapper?
Project is frozen in time. I have no recommendation for a working replacement. If you find one let me know.
Would you mind adding
python_requires='<3',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
somewhere in https://github.com/blais/snakefood/blob/f902c9a099f7c5bb75154a747bf098259211025d/setup.py#L41-L57
and re-releasing (i.e., release a bugfix)?
That should block people trying to download it with py3:
$ virtualenv .venv
created virtual environment CPython3.8.10.final.0-64 in 211ms
creator CPython3Posix(dest=@repos/snakefood/.venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv)
added seed packages: pip==23.2.1, setuptools==68.2.2, wheel==0.41.2
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
$ . .venv/bin/activate
$ pip install .
Processing @repos/snakefood
Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of snakefood to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'snakefood' requires a different Python: 3.8.10 not in '<3'
and
$ virtualenv -p2 .venv
created virtual environment CPython2.7.18.final.0-64 in 156ms
creator CPython2Posix(dest=@repos/snakefood/.venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv)
added seed packages: pip==20.3.4, setuptools==44.1.1, wheel==0.37.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
$ . .venv/bin/activate
$ python -m pip install .
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Processing @repos/snakefood
Building wheels for collected packages: snakefood
Building wheel for snakefood (setup.py) ... done
Created wheel for snakefood: filename=snakefood-1.4-py2-none-any.whl size=39944 sha256=0816b6e31b96c524a5dfc1a66ca075a00f9615c7d6da537bb69ba90a6f81c288
Stored in directory: /tmp/pip-ephem-wheel-cache-7Iym4T/wheels/bf/4a/40/224cd5332861b2e66e8d9d37c7dbdd12cf25fafd40f1445d1d
Successfully built snakefood
Installing collected packages: snakefood
Successfully installed snakefood-1.4
WARNING: You are using pip version 20.3.4; however, version 23.2.1 is available.
You should consider upgrading via the '@repos/snakefood/.venv/bin/python -m pip install --upgrade pip' command.
$
Done, thank you!
On Mon, Oct 9, 2023 at 7:09 AM Stavros Ntentos @.***> wrote:
Would you mind adding
python_requires='<3', classifiers=[ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ],
somewhere in https://github.com/blais/snakefood/blob/f902c9a099f7c5bb75154a747bf098259211025d/setup.py#L41-L57
and re-releasing (i.e., release a bugfix)?
That should block people trying to download it with py3:
$ virtualenv .venvcreated virtual environment CPython3.8.10.final.0-64 in 211ms creator @.***/snakefood/.venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv) added seed packages: pip==23.2.1, setuptools==68.2.2, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator $ . .venv/bin/activate $ pip install .Processing @repos/snakefood Preparing metadata (setup.py) ... doneINFO: pip is looking at multiple versions of snakefood to determine which version is compatible with other requirements. This could take a while.ERROR: Package 'snakefood' requires a different Python: 3.8.10 not in '<3'
and
$ virtualenv -p2 .venvcreated virtual environment CPython2.7.18.final.0-64 in 156ms creator @./snakefood/.venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv) added seed packages: pip==20.3.4, setuptools==44.1.1, wheel==0.37.1 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator $ . .venv/bin/activate $ python -m pip install .DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.Processing @repos/snakefoodBuilding wheels for collected packages: snakefood Building wheel for snakefood (setup.py) ... done Created wheel for snakefood: filename=snakefood-1.4-py2-none-any.whl size=39944 sha256=0816b6e31b96c524a5dfc1a66ca075a00f9615c7d6da537bb69ba90a6f81c288 Stored in directory: /tmp/pip-ephem-wheel-cache-7Iym4T/wheels/bf/4a/40/224cd5332861b2e66e8d9d37c7dbdd12cf25fafd40f1445d1dSuccessfully built snakefoodInstalling collected packages: snakefoodSuccessfully installed snakefood-1.4WARNING: You are using pip version 20.3.4; however, version 23.2.1 is available.You should consider upgrading via the @./snakefood/.venv/bin/python -m pip install --upgrade pip' command. $
— Reply to this email directly, view it on GitHub https://github.com/blais/snakefood/issues/6#issuecomment-1752803683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACSBE3R2M3GMDG3ZNF5PVTX6PLNDAVCNFSM4YQAZTV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZVGI4DAMZWHAZQ . You are receiving this because you were mentioned.Message ID: @.***>
Original report by Anonymous.
Doing pip install in a python3
venv
environment: