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

FIX: dependency of TR-000 & 001 #276

Merged
merged 3 commits into from
May 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/report/001.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"outputs": [],
"source": [
"%pip install -q black==21.5b2 jax==0.4.28 jaxlib==0.4.28 matplotlib==3.4.2 numpy==1.22 sympy==1.8"
Copy link
Member

Choose a reason for hiding this comment

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

Note on pip: numpy==1.22 installs numpy==1.22.0, not the latest patch of v1.22 (in this case numpy==1.22.4). If you want to find the latest version of that patch, use either

pip install -U 'numpy==1.22.*'

or

pip install -U 'numpy~=1.22'

As you noted (#272 (comment)), you can find more info about that here https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts.

In this commit, I upgraded even further to the latest version of NumPy v1 because I got some dependency conflict during runtime (!) with matplotlib.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good that you notice!

"%pip install -q black==21.5b2 jax==0.4.28 jaxlib==0.4.28 matplotlib==3.4.2 numpy==1.26.4 sympy==1.8"
]
},
{
Expand Down
Loading