-
-
Notifications
You must be signed in to change notification settings - Fork 491
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 build/pkgs/matplotlib/install-requires.txt and distros/conda.txt #33642
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
Author: Matthias Koeppe |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:6
The conda distribution file probably needs to be changed as well. However, requiring |
comment:7
For now with conda, the updated install-requires will ensure that the upgraded package is installed with pip until conda packaging is updated |
comment:8
Let's get this in please. |
Reviewer: Dima Pasechnik |
comment:9
lgtm - just a version bump |
comment:10
Thanks! |
comment:11
This is not really fixing the version conda picks. Conda still uses v3.3.2 on linux, see https://github.com/sagemath/sagetrac-mirror/runs/5871183030?check_suite_focus=true So there should at least be a proper version requirement for conda, so that the environment file correctly setups up the conda environment. |
comment:12
Didn't you say in comment:6 that setting the version with conda does not work with python 3.10? |
comment:13
In the log of this run, pip correctly upgrades matplotlib:
|
comment:15
Can you give some small reproducer for this? When I install sage=9.5 conda package I always get matplotlib 3.5.1 regardless of the python version |
comment:16
Nvm, I can reproduce |
comment:17
Not sure exactly why this happens. |
comment:18
Replying to @mkoeppe:
But we want to use conda for managing the environment, otherwise wouldn't need to list the python packages as dependencies (since they would be installed by pip as well otherwise). So please add the version constraint that isuruf mentions above. Thanks |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed reviewer from Dima Pasechnik to Dima Pasechnik, Tobias Diez |
comment:22
Replying to @tobiasdiez:
This is what we prefer, but it does work correctly to install dependencies with pip. Anyway, here it is. |
comment:23
ok |
comment:24
Thanks! Looks good to me and seems to work well: https://github.com/sagemath/sagetrac-mirror/runs/5876791740?check_suite_focus=true By the way, there are more conda-installed packages that are later replaced by pip: ptyprocess, iniconfig, sphinx, pytest, rpy2. I'll add them to #33331. |
comment:25
Thanks for resolving this problem. |
Changed branch from u/mkoeppe/update_build_pkgs_matplotlib_install_requires_txt to |
(from #33491 comment:6)
(from #33331): Failures with conda install:
Should be fixed by matplotlib/matplotlib#21073, which is in included in matplotlib 3.5.1 (but for some reason conda installs only 3.3.2, to be investigated)
Probably introduced by #33491.
CC: @davidlowryduda @tobiasdiez @mwageringel @tscrim @dimpase @isuruf
Component: build
Author: Matthias Koeppe
Branch/Commit:
aafa2d7
Reviewer: Dima Pasechnik, Tobias Diez
Issue created by migration from https://trac.sagemath.org/ticket/33642
The text was updated successfully, but these errors were encountered: