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

build: pin python to 3.12 (not 3.13) due to outdated dependencies #120

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

youngjoon-lee
Copy link
Contributor

@youngjoon-lee youngjoon-lee commented Mar 10, 2025

Recently, the actions/setup-python@v5 has started installing Python 3.13 instead of 3.12. Ideally our code should work with 3.13, but installing dependencies is failing.

The first error is:

      ../scipy/meson.build:159:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig and cmake

https://github.com/logos-co/nomos-specs/actions/runs/13521718813/job/37782294686#step:4:103
This can be resolved by upgrading scipy to the latest (1.15.2). I tested it in my local.

However, I got another error when installing poseidon-hash==0.1.4.

Collecting numba<0.60,>=0.55 (from galois~=0.3.6->poseidon-hash==0.1.4->-r requirements.txt (line 14))
...
      RuntimeError: Cannot install on Python version 3.13.2; only versions >=3.9,<3.13 are supported.

numba and galois have been upgraded for Python 3.13, but there's no update on poseidon-hash yet.

Until we have an updated version of poseidon-hash, we still should use Python 3.12.

@youngjoon-lee youngjoon-lee marked this pull request as ready for review March 10, 2025 08:13
@youngjoon-lee youngjoon-lee merged commit 4029eba into master Mar 10, 2025
1 check passed
@youngjoon-lee youngjoon-lee deleted the use-python312 branch March 10, 2025 13:35
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.

2 participants