Code Monkey home page Code Monkey logo

Comments (9)

xylar avatar xylar commented on September 23, 2024 1

@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.

timkpaine avatar timkpaine commented on September 23, 2024

/lib/python3.12/importlib/__init__.py", line 90, in import_module

maybe related to python-poetry/poetry#8507

from poetry-feedstock.

xylar avatar xylar commented on September 23, 2024

@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.

xylar avatar xylar commented on September 23, 2024

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.

xylar avatar xylar commented on September 23, 2024

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.

xylar avatar xylar commented on September 23, 2024

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.

xylar avatar xylar commented on September 23, 2024

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.

xylar avatar xylar commented on September 23, 2024

Fixing the issue in:
conda-forge/rapidfuzz-feedstock#155

from poetry-feedstock.

xylar avatar xylar commented on September 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.