Git Product home page Git Product logo

Comments (2)

gsarti avatar gsarti commented on May 22, 2024 1

I think it could be reasonable to bump the minimum version to 3.9. Relatedly, we might want to also include 3.12 now that it's out!

Update: torch does not support Python 3.12 yet, so that will have to wait

from inseq.

carschno avatar carschno commented on May 22, 2024

Jaxtyping currently requires Python >= 3.9, so we need to increase the minimum Python version from 3.8 to 3.9.

% poetry update
Updating dependencies
Resolving dependencies... (1.5s)

The current project's Python requirement (>=3.8.1,<3.12) is not compatible with some of the required packages Python requirement:
  - jaxtyping requires Python ~=3.9, so it will not be satisfied for Python >=3.8.1,<3.9

Because jaxtyping (0.2.23) requires Python ~=3.9
 and no versions of jaxtyping match >0.2.23,<0.3.0, jaxtyping is forbidden.
So, because inseq depends on jaxtyping (^0.2.23), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For jaxtyping, a possible solution would be to set the `python` property to ">=3.9,<3.12"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

An alternative might be to use an old Jaxtype version, but that seems not ideal either.

@gsarti Any opinion on that?

from inseq.

Related Issues (20)

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.