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

Update package versions #1262

Merged
merged 20 commits into from
Aug 5, 2020
Merged

Conversation

epassaro
Copy link
Member

@epassaro epassaro commented Jul 31, 2020

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:

Upgrading numba>=0.45 solves the issue.

NOTE: macOS environment still uses pyne=0.5 after resolving dependencies with unpinned pyne, that's why I'm not unpinning numpy 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:

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007fffdc7f43a0 in closure_dealloc (clo=0x7fffdb74b2f0) at numba/_dynfunc.c:175
175     numba/_dynfunc.c: No such file or directory.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have assigned/requested two reviewers for this pull request.

@codecov
Copy link

codecov bot commented Jul 31, 2020

Codecov Report

Merging #1262 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7bcf752...c49a2ac. Read the comment docs.

@@ -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)
Copy link
Member

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 Show resolved Hide resolved
tardis_env3.yml Outdated
@@ -21,7 +21,7 @@ dependencies:
# I/O
- pyyaml
- jsonschema
- pyne=0.5
- pyne
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and that

@wkerzendorf wkerzendorf merged commit a3e202d into tardis-sn:master Aug 5, 2020
atharva-2001 pushed a commit to atharva-2001/tardis that referenced this pull request Oct 1, 2021
* 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)
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.

3 participants