Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

upgrade deps to fix CI #267

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

graingert-coef
Copy link
Contributor

No description provided.

@graingert-coef
Copy link
Contributor Author

Needed to merge in #264 to get python to install via pyenv:

Run gabrielfalcao/pyenv-action@91f80eb59affae16a948d6ace29b1fada06d8e4c
downloading https://github.com/pyenv/pyenv/archive/v2.3.35.zip
/usr/bin/unzip -o -q /opt/hostedtoolcache/pyenv-archive.zip/2.3.35/x64/pyenv-archive.zip
Extracted /opt/hostedtoolcache/pyenv-archive.zip/2.3.35/x64/pyenv-archive.zip to /home/runner/work/_temp/d45f6f19-1a26-4dea-ac45-25445ab4dabb.
archive_path /opt/hostedtoolcache/pyenv-archive.zip/2.3.35/x64/pyenv-archive.zip
pyenv_root /opt/hostedtoolcache/pyenv_root/2.3.35/x64
export PYENV_ROOT="/opt/hostedtoolcache/pyenv_root/2.3.35/x64"
Patched PATH with "/opt/hostedtoolcache/pyenv_root/2.3.35/x64/bin"
/opt/hostedtoolcache/pyenv_root/2.3.35/x64/bin/pyenv install 3.12.1
Downloading Python-3.12.1.tar.xz...
-> https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tar.xz
Installing Python-3.12.1...
Installing pip from https://bootstrap.pypa.io/get-pip.py...
error: failed to install pip via get-pip.py

BUILD FAILED (Ubuntu 22.04 using python-build 20180424)

Inspect or clean up the working tree at /tmp/python-build.20241008134330.1884
Results logged to /tmp/python-build.20241008134330.1884.log

Last 10 log lines:
  File "/tmp/tmpas9l7xqf/pip.zip/pip/_internal/operations/install/wheel.py", line 40, in <module>
  File "/tmp/tmpas9l7xqf/pip.zip/pip/_vendor/distlib/scripts.py", line 16, in <module>
  File "/tmp/tmpas9l7xqf/pip.zip/pip/_vendor/distlib/compat.py", line 81, in <module>
  File "/opt/hostedtoolcache/pyenv_root/2.3.35/x64/versions/3.12.1/lib/python3.12/xmlrpc/client.py", line 272, in <module>
    if _try('%Y'):      # Mac OS X
       ^^^^^^^^^^
  File "/opt/hostedtoolcache/pyenv_root/2.3.35/x64/versions/3.12.1/lib/python3.12/xmlrpc/client.py", line 269, in _try
    return _day0.strftime(fmt) == '0001'
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'datetime.datetime' object has no attribute 'times'. Did you mean: 'time'?
Failed to install python 3.12.1

@graingert-coef graingert-coef marked this pull request as ready for review October 8, 2024 13:59
Copy link
Collaborator

@jcoombes jcoombes left a comment

Choose a reason for hiding this comment

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

https://github.com/pyenv/pyenv/releases/tag/v2.4.14

With the proviso that this only works for people have have the absolute latest version of pyenv, this looks good to me.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants