Comments (9)
@timkpaine, I think the real effect of adding poetry <1.6
to your recipes was to downgrade the version of python used in the host environment to 3.11 at which point things worked out.
from poetry-feedstock.
/lib/python3.12/importlib/__init__.py", line 90, in import_module
maybe related to python-poetry/poetry#8507
from poetry-feedstock.
@timkpaine, I can't quite understand it but if you actually look at the CI you linked to above, it's pulling in:
poetry: 1.1.15-pyhd8ed1ab_1 conda-forge
poetry-core: 1.0.7-pyhd8ed1ab_1 conda-forge
These are some very old versions, not 1.6 or 1.6.1. My guess is that they're the cause of the problem. I think the issue is that we haven't build poetry
for python 3.12 yet and you're getting a very old version of poetry that must have an incorrect constraint on python, whereas you should be getting an error that poetry isn't available for python 3.12 yet.
from poetry-feedstock.
Hmm, sorry, that's not right. Poetry is noarch: python
so it shouldn't require python 3.12 migration and the python constraint includes python 3.12. So I'm still baffled.
from poetry-feedstock.
I can reproduce the problem locally with:
mamba create -y -n test python=3.12 poetry pip
I also get:
poetry 1.1.15 pyhd8ed1ab_1 conda-forge
poetry-core 1.0.7 pyhd8ed1ab_1 conda-forge
When I try:
mamba create -y -n test pip "poetry>=1.6" python=3.12
I get a solver failure that I don't yet understand.
from poetry-feedstock.
I believe this problem is caused, at least in part, by a CI failure after this PR was merged:
conda-forge/dulwich-feedstock#83
from poetry-feedstock.
Next problem is with rapidfuzz < 3.0.0. I will try to fix this, starting with adding myself as a maintainer:
conda-forge/rapidfuzz-feedstock#153
from poetry-feedstock.
Fixing the issue in:
conda-forge/rapidfuzz-feedstock#155
from poetry-feedstock.
The following is now working:
mamba create -y -n test python=3.12 "poetry>=1.2" pip
and creates an environment with poetry 1.6.1
and poetry-core 1.7.0
, so I think this can be closed.
from poetry-feedstock.
Related Issues (13)
- README is lacking an ELI5 summary. HOT 1
- Strong version limitations needed? HOT 9
- @conda-forge-admin rerender HOT 1
- feat: poetry v1.2 HOT 18
- Update the importlib-metadata to >=1.6.0 After next poetry release >1.0.8 HOT 3
- How to install the development version of Poetry HOT 1
- How to add poetry-plugin-export HOT 10
- Poetry 1.2.0 HOT 20
- @conda-forge-admin, add noarch: python HOT 1
- @conda-forge-admin, please add user @BastianZim HOT 1
- Unable to install on Linux HOT 13
- Unable to pull poetry package on conda-forge HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poetry-feedstock.