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

Include poetry in WinPython? #1128

Closed
stefaneidelloth opened this issue Oct 24, 2022 · 11 comments
Closed

Include poetry in WinPython? #1128

stefaneidelloth opened this issue Oct 24, 2022 · 11 comments

Comments

@stefaneidelloth
Copy link

Did you already consider to include poetry in WinPython? I tried to install poetry with pip but it does not seem to be portable:

python-poetry/poetry#6875

Maybe someone here already did it get working in a portable way?

Or maybe someone already tried and faced the same issue and that is the reason why poetry is not included in WinPython?

@stonebig
Copy link
Contributor

stonebig commented Oct 24, 2022

Poetry seems based on virtualenv (or whatever venv)
image

WinPython "single line" change to make Python portable never tried to touch on the "venv" part.

Here is the backbone of WinPython movability, so just try digg if you can figure out what to do for Virtual envs
https://github.com/winpython/winpython/blob/master/winpython/wppm.py#L542..L561

@stonebig
Copy link
Contributor

stonebig commented Oct 24, 2022

and so in WinPython spirit (another name for "capability" or "need"), virtual envs are fixed, until someone knows what to do, and wants it to happen

@stonebig
Copy link
Contributor

certainly we shall have something more than "setuptools", but it's not clear what.

@stonebig
Copy link
Contributor

stonebig commented Feb 26, 2023

humm .... watched Python Packaging Authority on talkpython.fm https://www.youtube.com/watch?v=z50B6AmQwLw
... and the comment from Travis.

neither poetry nor hatch do inspire me

@stonebig
Copy link
Contributor

stonebig commented Feb 27, 2023

WinPython tries to avoid the "virtual environment" thing, that seems to please poetry and hatch.
But it looks that PEP 704 may win over PEP 582
I discover a PEP 668 along the way... Hell is near.

@stonebig
Copy link
Contributor

stonebig commented Feb 27, 2023

as initial step forward, WinPython wheel is now build with flit, to go to one "pyproject.toml" file simplification

@stonebig
Copy link
Contributor

stonebig commented Mar 19, 2023

It looks a bit early to judge what's best:

  • poetry navigates at 500K downloads
  • but I see tricky conda/pip projects, bokeh and now panel, moving to "pypa/hatch".

Being under pypa gives "hatch" a boost of respectability and standard, yet poetry has its nice non-standard hashes.

Until the replacement of rejected pep-0665 is showing-up per Brett Cannon, it's a bit unclear what's best action.

@stefaneidelloth
Copy link
Author

stefaneidelloth commented Jun 24, 2023

As you can see from the mention, I suggested pip to support
pip install
without extra argument, to install dependencies from pyproject.toml: pypa/pip#12100

@stonebig
Copy link
Contributor

stonebig commented Jun 25, 2023

reading:

@stonebig
Copy link
Contributor

stonebig commented Sep 3, 2023

in b5

@stonebig
Copy link
Contributor

proved a problem in WinPython context, replaced par hatch

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

No branches or pull requests

2 participants