Skip to content

Pin setuptools in horizontest to < 82.0.0#367

Closed
amoralej wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
amoralej:workaround-horizontest
Closed

Pin setuptools in horizontest to < 82.0.0#367
amoralej wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
amoralej:workaround-horizontest

Conversation

@amoralej
Copy link
Contributor

@amoralej amoralej commented Feb 9, 2026

Until upstream issue [1] is properly fixed, we can pin it in the tcib dockerfile as a temporary workaround.

[1] https://bugs.launchpad.net/horizon/+bug/2141293

Until upstream issue [1] is properly fixed, we can pin it in the tcib
dockerfile as a temporary workaround.

[1] https://bugs.launchpad.net/horizon/+bug/2141293

Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 9, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: amoralej, deshipu
Once this PR has been reviewed and has the lgtm label, please assign fultonj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/dcae68b7344148249cc4624749db44c0

tcib-openstack-meta-content-provider-master FAILURE in 25m 27s
⚠️ tcib-crc-podified-edpm-baremetal-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master

@amoralej
Copy link
Contributor Author

amoralej commented Feb 9, 2026

This approach doesn't work. Actually I can reproduce it installing a good version of setuptools in the same command:

# /usr/local/bin/pip install XStatic-Angular-Schema-Form "setuptools==80.10.2"
Collecting XStatic-Angular-Schema-Form
  Using cached XStatic-Angular-Schema-Form-0.8.13.0.tar.gz (41 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... 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 "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/usr/local/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 "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-mt00zmlw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-mt00zmlw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-mt00zmlw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 520, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-mt00zmlw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 1, in <module>
        File "/tmp/pip-install-fqqtgi26/xstatic-angular-schema-form_c88edcfd5b324ece833a4949a396cd7d/xstatic/__init__.py", line 1, in <module>
          __import__('pkg_resources').declare_namespace(__name__)
      ModuleNotFoundError: No module named 'pkg_resources'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: python3 -m pip install --upgrade pip
ERROR: Failed to build 'XStatic-Angular-Schema-Form' when getting requirements to build wheel

@karelyatin
Copy link
Contributor

#368 fixed it

@amoralej amoralej closed this Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants