Skip to content

[deps] Attempt to remove numpy restrictions #2937

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

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

tomaarsen
Copy link
Collaborator

Resolves #2933

Hello!

Pull Request overview

  • Attempt to remove numpy restrictions

Details

I have some good luck with this locally; perhaps some of the problematic third-party dependencies have also been updated to support Numpy. For context: Numpy 2 used to break for Windows: https://github.com/UKPLab/sentence-transformers/actions/runs/9547213601/job/26311747682?pr=2757

  • Tom Aarsen

@tomaarsen tomaarsen merged commit dafe2b6 into UKPLab:master Sep 17, 2024
11 checks passed
@tomaarsen tomaarsen deleted the deps/remove_numpy_restriction branch September 17, 2024 16:40
claui added a commit to claui/aider that referenced this pull request Mar 5, 2025
Commit 66c24fa pinned NumPy to v1.x due to an upstream incompatibility
in sentence-transformers.

In September 2024 [1], Aider picked up sentence-transformers v3.1.1,
which contains a fix for the NumPy 2 incompatibility [2].

To help unblock PR Aider-AI#3037 [3], bump NumPy to v2.0.2, the most recent
version still compatible to Python 3.9.

[1]: Aider-AI@2ca093f
[2]: UKPLab/sentence-transformers#2937
[3]: Aider-AI#3037
claui added a commit to claui/aider that referenced this pull request Mar 8, 2025
Commit 66c24fa pinned NumPy to v1.x due to an upstream incompatibility
in sentence-transformers.

In September 2024 [1], Aider picked up sentence-transformers v3.1.1,
which contains a fix for the NumPy 2 incompatibility [2].

To help unblock PR Aider-AI#3037 [3], bump NumPy to v2.0.2, the most recent
version still compatible to Python 3.9.

[1]: Aider-AI@2ca093f
[2]: UKPLab/sentence-transformers#2937
[3]: Aider-AI#3037
claui added a commit to claui/aider that referenced this pull request Mar 9, 2025
Commit 66c24fa pinned NumPy to v1.x due to an upstream incompatibility
in sentence-transformers.

In September 2024 [1], Aider picked up sentence-transformers v3.1.1,
which contains a fix for the NumPy 2 incompatibility [2].

To help unblock PR Aider-AI#3037 [3], bump NumPy to v2.0.2, the most recent
version still compatible to Python 3.9.

[1]: Aider-AI@2ca093f
[2]: UKPLab/sentence-transformers#2937
[3]: Aider-AI#3037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 3.1.0 forces a downgrade to Numpy 1.x
1 participant