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

Python 3.13 needs Numpy > 2.0 #26026

Open
5 tasks done
richard-scott opened this issue Sep 4, 2024 · 6 comments
Open
5 tasks done

Python 3.13 needs Numpy > 2.0 #26026

richard-scott opened this issue Sep 4, 2024 · 6 comments
Assignees
Labels
investigate Flagged for investigation. todo

Comments

@richard-scott
Copy link

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

If you attempt to install numpy<2.0.0,>=1.26.0 you will get issues on Python 3.13
numpy>=2.0.0 works fine.

Error Message and Stack Trace (if applicable)

numpy/numpy#24318

Description

The numpy dependency needs bumping up to >=2.0.0

System Info

Python 3.13-dev on Mac OS M1

@langcarl langcarl bot added the investigate Flagged for investigation. label Sep 4, 2024
@langcarl langcarl bot assigned ccurme Sep 4, 2024
@langcarl langcarl bot added the todo label Sep 4, 2024
@souzatharsis
Copy link

Hi, any updates on this?

Several modern packages depend on Numpy > 2.0 and there currently cannot be integrated with langchain currently, e.g. https://github.com/DS4SD/docling

@MANGO-H20
Copy link

Hi any updates

@pablosjv
Copy link

Just for reference, linking here the relevant PR #27991

@pablosjv
Copy link

Looks like this has already been released on langchain-core >= 0.3.19 (Release Notes) 👏 🚀

@ulgens
Copy link
Contributor

ulgens commented Nov 26, 2024

For the full support

are still needed.

@ulgens
Copy link
Contributor

ulgens commented Nov 28, 2024

I tested the new release with Python 3.13 and it seems to be working fine.

Two questions:

  • Is there anything else left for official Python 3.13 support?
  • Can we update trove classifiers so PyPI page will show that 3.13 is supported?

Current trove section on PyPI page:

CleanShot 2024-11-28 at 03 33 03@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Flagged for investigation. todo
Projects
None yet
Development

No branches or pull requests

6 participants