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

python-dateutil 2.9.0post0 is actually 2.8.2 #13435

Open
6 of 8 tasks
sam-s opened this issue Oct 29, 2024 · 2 comments
Open
6 of 8 tasks

python-dateutil 2.9.0post0 is actually 2.8.2 #13435

sam-s opened this issue Oct 29, 2024 · 2 comments
Labels

Comments

@sam-s
Copy link

sam-s commented Oct 29, 2024

Checklist

  • I added a descriptive title.
  • I searched through existing issues and couldn't find a solution or duplicate issue.
  • I searched on the web (e.g. Google) and didn't find any helpful information.
  • I searched the Anaconda documentation and didn't find any helpful information.

Impacted product

  • A conda package (built by Anaconda)
  • Anaconda Distribution (formerly Anaconda Individual Edition)
  • Miniconda
  • Anaconda.org

What happened?

Conda reports dateutil as 2.9 while 2.8 is actually installed:

$ conda list --show-channel-urls dateutil
# packages in environment at .../miniconda3/envs/c312:
#
# Name                    Version                   Build  Channel
python-dateutil           2.9.0post0      py312haa95532_0    defaults

but

$ python -c 'import dateutil; print(dateutil.__version__); print(dateutil.__path__)'
2.8.2
['.../miniconda3/envs/c312/Lib/site-packages/dateutil']

and

cat $(python -c 'import dateutil; print(dateutil.__path__[0])')/_version.py
# file generated by setuptools_scm
# don't change, don't track in version control
...
__version__ = version = '2.8.2'
__version_tuple__ = version_tuple = (2, 8, 2)

Judging by

.../miniconda3/envs/c312/Lib/site-packages/dateutil/tz/tz.py: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated...

the actually used code is 2.8.2.

Expected behavior or outcome

2.9post0 should be present when conda reports it as installed

Conda info

active environment : c312
    active env location : $HOME\AppData\Local\miniconda3\envs\c312
            shell level : 2
       user config file : $HOME\.condarc
 populated config files : $HOME\.condarc
          conda version : 24.9.2
    conda-build version : not installed
         python version : 3.11.9.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=cascadelake
                          __conda=24.9.2=0
                          __cuda=11.4=0
                          __win=0=0
       base environment : $HOME\AppData\Local\miniconda3  (writable)
      conda av data dir : $HOME\AppData\Local\miniconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://artprod.dev.bloomberg.com/artifactory/api/conda/bb-conda/win-64
                          https://artprod.dev.bloomberg.com/artifactory/api/conda/bb-conda/noarch
                          https://artprod.dev.bloomberg.com/artifactory/api/conda/conda-forge/win-64
                          https://artprod.dev.bloomberg.com/artifactory/api/conda/conda-forge/noarch
                          https://artprod.dev.bloomberg.com/artifactory/bb-bqnt/conda-repo/win-64
                          https://artprod.dev.bloomberg.com/artifactory/bb-bqnt/conda-repo/noarch
                          https://artprod.dev.bloomberg.com/artifactory/bqnt-conda-dev/win-64
                          https://artprod.dev.bloomberg.com/artifactory/bqnt-conda-dev/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : $HOME\AppData\Local\miniconda3\pkgs
                          $HOME\.conda\pkgs
                          $HOME\AppData\Local\conda\conda\pkgs
       envs directories : $HOME\AppData\Local\miniconda3\envs
                          $HOME\.conda\envs
                          $HOME\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/24.9.2 requests/2.32.3 CPython/3.11.9 Windows/10 Windows/10.0.19045
solver/libmamba conda-libmamba-solver/24.9.0 libmambapy/1.5.10
          administrator : False
             netrc file : None
           offline mode : False

Conda config

ssl_verify: False
proxy_servers:
  http: http://proxy.inet.bloomberg.com:81
  https: http://proxy.inet.bloomberg.com:81
  https://bbgithub.dev.bloomberg.com: http://bproxy.tdmz1.bloomberg.com:80
  https://artprod.dev.bloomberg.com: http://bproxy.tdmz1.bloomberg.com:80
channel_priority: flexible
channels:
  - https://artprod.dev.bloomberg.com/artifactory/api/conda/bb-conda
  - https://artprod.dev.bloomberg.com/artifactory/api/conda/conda-forge
  - https://artprod.dev.bloomberg.com/artifactory/bb-bqnt/conda-repo
  - https://artprod.dev.bloomberg.com/artifactory/bqnt-conda-dev
  - conda-forge
  - defaults
report_errors: False

Conda list

way too long

Additional information

Originally reported conda/conda#13933 - it is claimed there that the problem is fixed, but it is not.

@JeanChristopheMorinPerso

@sam-s The problem was fixed in 2.9.0post0 build number 2. Your conda list output shows that you have build 0 installed.

@sam-s
Copy link
Author

sam-s commented Oct 30, 2024

@JeanChristopheMorinPerso

The problem was fixed in 2.9.0post0 build number 2. Your conda list output shows that you have build 0 installed.

thank you for the explanation.

how do I install "build number 2"?

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