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

Installing the latest ska3-flight, then replacing it by ska3-flight-latest should be a no-op. #967

Open
javierggt opened this issue Nov 15, 2022 · 3 comments
Labels

Comments

@javierggt
Copy link
Contributor

Description

In the answer I gave Josh in analysis-coding, I did the trick of installing ska3-flight-latest and removing ska3-flight. Without the --force option, conda tries to do this:

The following packages will be DOWNGRADED:

  astropy                                5.0-py38h7588534_0 --> 4.2.1-py38he3068b8_1
  blas                                         1.1-openblas --> 1.0-mkl
  numexpr                              2.8.1-py38h9c3cb84_0 --> 2.7.1-py38hce01a72_0
  numpy                               1.20.3-py38h0fa1045_0 --> 1.18.5-py38h1da2735_0
  numpy-base                          1.20.3-py38hbbe2e76_0 --> 1.18.5-py38h3304bdc_0
  scipy                                1.7.3-py38hfb86763_0 --> 1.5.0-py38hbab996c_0

I think this is a bug.

To Reproduce

note that the channels are always set:

conda create -n star-app --override-channels -c https://icxc.cfa.harvard.edu/aspect/ska3-conda/flight ska3-flight ska3-perl
conda activate star-app
conda install -y --override-channels -c https://icxc.cfa.harvard.edu/aspect/ska3-conda/flight ska3-flight-latest
conda uninstall -y --override-channels -c https://icxc.cfa.harvard.edu/aspect/ska3-conda/flight ska3-flight

Expected behavior
Installing the latest ska3-flight, then replacing it by ska3-flight-latest should be a no-op.

@javierggt javierggt added the bug label Nov 15, 2022
@javierggt javierggt added this to the ska3-prime milestone Jan 17, 2023
@javierggt javierggt removed this from the 2023.1 milestone Mar 28, 2023
@javierggt
Copy link
Contributor Author

javierggt commented Jan 24, 2025

Also, installing ska3-core-latest, then installing ska3-core should also be a no-op.

I was looking at this now, and currently the following packages are installed by ska3-core and not ska3-core-latest:

  - astroid
  - configobj
  - dill
  - ipyparallel
  - isort
  - mccabe
  - nose
  - paramiko
  - pytables
  - qtconsole
  - tomlkit

Usually this happens because they are added as dependence of some ska3-flight package. The following packages list them in their recipe (the ones in bold do not actually import them directly, so the dependency might be stale).

  • configobj: kadi
  • ipyparallel: cheta
  • nose: ska_numpy
  • paramiko: ska_shell
  • pytables: a bunch of them
  • qtconsole: aca_view

I don't know who pulled astroid, isort, dill, mccabe and tomlkit. I might have added isort by hand?

@jeanconn
Copy link
Contributor

paramiko is required by ska_ftp.

@jeanconn
Copy link
Contributor

nose could probably be removed in a future release as ska_numpy's tests have since been updated.

@javierggt javierggt added this to the 2025.3 milestone Jan 24, 2025
@javierggt javierggt removed this from the 2025.3 milestone Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants