-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
Update package versions #1262
Update package versions #1262
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1262 +/- ##
=======================================
Coverage 80.63% 80.63%
=======================================
Files 41 41
Lines 3424 3424
=======================================
Hits 2761 2761
Misses 663 663 Continue to review full report at Codecov.
|
@@ -44,8 +44,7 @@ jobs: | |||
displayName: "Install TARDIS environment" | |||
|
|||
- bash: | | |||
echo git clone $(ref.data.github.url) $(ref.data.home) | |||
git clone $(ref.data.github.url) $(ref.data.home) | |||
GIT_LFS_SKIP_SMUDGE=1 git clone $(ref.data.github.url) $(ref.data.home) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why that?
tardis_env3.yml
Outdated
@@ -21,7 +21,7 @@ dependencies: | |||
# I/O | |||
- pyyaml | |||
- jsonschema | |||
- pyne=0.5 | |||
- pyne |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and that
* Unpin packages * Pin numpy to 1.15 again * Pin numba to v0.50 * [skip-ci] Remove Git LFS directive * [skip-ci] (revert) Remove Git LFS directive * Pin pyne to v0.7 * Trying to find problem in macOS env * Trying to find problem in macOS env (2) * Trying to find problem in macOS env (3) * Trying to find problem in macOS env (4) * Remove all the pins * Add some pins * Add some pins (2) * Pin numpy to v1.16 * Pin numpy to v1.17 * Pin numpy to v1.16 and scipy to v1.5 * Pin numba to v0.50 * Pin pyne to v0.7 * [skip-ci] Remove Git LFS directive * [skip-ci] Remove Git LFS directive (2)
Description
A segmentation fault is occurs after running:
pytest tardis/plasma/tests/test_hdf_plasma.py --tardis-refdata=path/to/tardis-refdata
This problem started right after recent
pyne
update:pyne
update inconda-forge
triggered Python update from 3.6 to 3.7.8.numba
is aggressively pinned to 0.43 in TARDIS environment file.numba
0.43 has a bug in Python >=3.7.4 that leads to a segmentation fault (see: numba segmentation fault on Python 3.7.4 numba/numba#4323).Upgrading
numba>=0.45
solves the issue.NOTE: macOS environment still uses
pyne=0.5
after resolving dependencies with unpinnedpyne
, that's why I'm not unpinningnumpy
yet.Motivation and Context
This change would make our test suite to work again.
How Has This Been Tested?
With @Rodot-'s help debugged our code using GDB, and the result was:
Screenshots (if appropriate):
Types of changes
Checklist: