-
Notifications
You must be signed in to change notification settings - Fork 85
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
Switch away from Poetry for build (to setuptools?) #374
Comments
My two cents, but not trying to throw a wrench in this if y'all are already all for it... |
FWIW when I try
Full traceback:
|
Interesting. I wonder if the below is true IFF setuptools is actually installed?
|
@jrbourbeau — to clarify — are you trying to use a local, edited, version of a dependency? Something like what's described in this poetry issue? |
@danielfromearth we solved @jrbourbeau issue here: We needed to update the build backend and remove the dummy |
oh, that's great! It's nice to have only |
I'd suggest considering uv. It might not quite be ready for prime-time, but I strongly feel this is worth a look. It's by the same folks that created ruff, which we are already using here. |
As a follow-on, I know some people love poetry and others hate it. It's difficult to find any sort of tool or library that is nearly universally appreciated, but poetry might be in the class of tools where more folks are at the extremes of the spectrum than more centrally located. For those who are not so much in love with poetry, a major factor is that it can be excruciatingly slow to resolve dependencies (as is the case for some other tools as well, such as pipenv). Here's an example that I just ran into on this project:
That took almost 3 minutes (134 seconds for resolution alone, plus another ~40 seconds after that) to add a seemly innocuous library that has only 1 transitive dependency (zipp, which has no further dependencies), and that's not even as bad as I've encountered elsewhere, where it can take many 10s of minutes to resolve dependencies. |
Along with As far as I've looked, |
Just noting that https://github.com/astral-sh/uv?tab=readme-ov-file#resolution-strategy |
🤩 |
Boosting this issue, which could be said to be blocking #520, because I'm not sure how to approach resolving environments for CI. We need |
To get around the build failure for that issue, perhaps just move - python-cmr=0.9.0 with these lines: - pip
- pip:
- python-cmr==0.10.0 |
Open an issue like this one if you'd like to become a maintainer over on the conda-forge feedstock :) It would be really useful to have a couple more folks helping out there I think! |
Kinda related #614 |
@MattF-NSIDC : Little experience with poetry, prefer setuptools
@jhkennedy : Has #Reasons, happy to elaborate if the group is amenable to switching
@jrbourbeau : "I want to be able to
pip install -e .
" (NOTE: Modernpip
can find dependencies that are specified somewhere other thanproject.dependencies
, sopip install -e .
does work with new enough version ofpip
. We think it's looking at[build-system]
section to discover poetry dependencies.)@betolink : "less is more"
The text was updated successfully, but these errors were encountered: