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

Add setuptools to install_requires #2720

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

JCGoran
Copy link
Contributor

@JCGoran JCGoran commented Feb 9, 2024

When installing a pre-built wheel in a venv on Python 3.12+, calling nrniv fails because the wrapper script uses setuptools for some functionality (and it's not added to the venv anymore as of Python 3.12+, see python/cpython#95299), so it should also be added as a runtime dependency of NEURON.

NOTE: this should also be backported to 8.2 if we want full Python 3.12 compatibility.

When installing a pre-built wheel in a venv on Python 3.12, calling
`nrniv` fails because the wrapper script uses `setuptools` for some
functionality, so it should also be added as a runtime dependency.
Copy link

sonarcloud bot commented Feb 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

✔️ 0fe22c2 -> Azure artifacts URL

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (17bd2c8) 66.23% compared to head (0fe22c2) 66.24%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2720   +/-   ##
=======================================
  Coverage   66.23%   66.24%           
=======================================
  Files         559      559           
  Lines      104008   104008           
=======================================
+ Hits        68890    68898    +8     
+ Misses      35118    35110    -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pramodk pramodk merged commit 2813450 into master Feb 9, 2024
37 checks passed
@pramodk pramodk deleted the jelic/fix_missing_reqs_py312 branch February 9, 2024 17:21
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.

4 participants