Skip to content

Conversation

yarikoptic
Copy link
Member

We had prior attempt to upgrade in

and now we got failing build installs so may be we get it better with 3.11

e.g. https://github.com/datalad/datalad-extensions/actions/runs/15035390748/job/42256079524#step:6:55

Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.9.22/x64/lib/python3.9/site-packages (25.1.1)
Collecting https://github.com/datalad/datalad/archive/master.zip
  Downloading https://github.com/datalad/datalad/archive/master.zip
     | 1.7 MB 10.0 MB/s 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.9.22/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/opt/hostedtoolcache/Python/3.9.22/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "/opt/hostedtoolcache/Python/3.9.22/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line [14](https://github.com/datalad/datalad-extensions/actions/runs/15035390748/job/42256079524#step:6:15)3, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-d466csg3/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-d466csg3/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-d466csg3/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-d466csg3/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 3[17](https://github.com/datalad/datalad-extensions/actions/runs/15035390748/job/42256079524#step:6:18), in run_setup
          exec(code, locals())
        File "<string>", line 19, in <module>
        File "/tmp/pip-req-build-pc51ylbw/_datalad_build_support/setup.py", line 25, in <module>
          from setuptools import (
      ImportError: cannot import name 'DistutilsOptionError' from 'setuptools' (/tmp/pip-build-env-d466csg3/overlay/lib/python3.9/site-packages/setuptools/__init__.py)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "git sedi '\\<3\\.9\\>' 3.11",
 "dsid": "6b923cfa-a6c6-4bae-941d-e92f6afd5fcb",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant