Skip to content

[26.05] awscli2: fix urllib3 dependency with urllib3 2.7.0 - #563165

Merged
vcunat merged 1 commit into
NixOS:staging-next-26.05from
h0nIg:patch-55
Sep 17, 2026
Merged

vcunat merged 1 commit into
NixOS:staging-next-26.05from
h0nIg:patch-55

Conversation

@h0nIg

@h0nIg h0nIg commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

build failure on staging-26.05 due to recent urllib3 bump #524510

error: Cannot build '/nix/store/clwh3cy27bdvrg1nh6jfqx4xwm46mjn4-awscli2-2.34.24.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/f1ha6piq3rmmf2qs51fpj2yip3jq69si-awscli2-2.34.24-dist
         /nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24
       Last 62 log lines:
       > Sourcing python-remove-tests-dir-hook
       > Sourcing python-catch-conflicts-hook.sh
       > Sourcing python-remove-bin-bytecode-hook.sh
       > Sourcing pypa-build-hook
       > Using pypaBuildPhase
       > Sourcing python-runtime-deps-check-hook
       > Using pythonRuntimeDepsCheckHook
       > Sourcing pypa-install-hook
       > Using pypaInstallPhase
       > Sourcing python-imports-check-hook.sh
       > Using pythonImportsCheckPhase
       > Sourcing python-namespaces-hook
       > Sourcing python-catch-conflicts-hook.sh
       > Sourcing pytest-check-hook
       > Using pytestCheckPhase
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/11yb0b9f5g787qdc65zwzr8ifv6bs384-source
       > source root is source
       > setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tox.ini"
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > patching script interpreter paths in ./configure
       > ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/7n1hai8jk6vgc967drgkqi6k7j6ff28q-bash-5.3p9/bin/sh"
       > configure flags: --prefix=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24 --bindir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/bin --sbindir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/sbin --includedir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/include --mandir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/share/man --infodir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/share/info --docdir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/share/doc/awscli --libdir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/lib --libexecdir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/libexec --localedir=/nix/store/zasbbfq3hr6dlg3zdxy4lpfz8aiymkiv-awscli2-2.34.24/share/locale
       > checking for a Python interpreter with version >= 3.8... python
       > checking for python... /nix/store/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python
       > checking for python version... 3.13
       > checking for python platform... linux
       > checking for GNU default python prefix... ${prefix}
       > checking for GNU default python exec_prefix... ${exec_prefix}
       > checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.13/site-packages
       > checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages
       > checking for sqlite3... yes
       > checking for --with-install-type... system-sandbox
       > checking for --with-download-deps... Traceback (most recent call last):
       >   File "<frozen runpy>", line 203, in _run_module_as_main
       >   File "<frozen runpy>", line 88, in _run_code
       >   File "/build/source/./backends/build_system/__main__.py", line 127, in <module>
       >     main()
       >     ~~~~^^
       >   File "/build/source/./backends/build_system/__main__.py", line 123, in main
       >     parsed_args.func(parsed_args)
       >     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
       >   File "/build/source/./backends/build_system/__main__.py", line 51, in validate
       >     validate_env(parsed_args.artifact)
       >     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
       >   File "/build/source/./backends/build_system/validate_env.py", line 39, in validate_env
       >     raise UnmetDependenciesException(unmet_deps, in_venv)
       > utils.UnmetDependenciesException: Environment requires following Python dependencies:
       >
       > urllib3 (required: ('>=1.25.4', '<=2.6.3')) (version installed: 2.7.0)
       >
       > We recommend using --with-download-deps flag to automatically create a virtualenv and download the dependencies.
       >
       > If you want to manage the dependencies yourself instead, run the following pip command:
       > /nix/store/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python -m pip install --prefer-binary 'urllib3>=1.25.4,<=2.6.3'
       >
       > We noticed you are not in a virtualenv.
       > If not using --with-download-deps we highly recommend using a virtualenv to prevent dependencies from being installed into your global Python environment.
       > 
       > configure: error: "Python dependencies not met."
       For full logs, run:
         nix log /nix/store/clwh3cy27bdvrg1nh6jfqx4xwm46mjn4-awscli2-2.34.24.drv

Things done

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Important

869690e is not a cherry-pick, because: build failure on 26.05 only. Please review this commit manually.

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@h0nIg

h0nIg commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Not-cherry-picked-because: build failure on 26.05 only
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 4.workflow: backport This targets a stable branch labels Sep 14, 2026
@vcunat
vcunat changed the base branch from release-26.05 to staging-next-26.05 September 17, 2026 03:42
@nixpkgs-ci nixpkgs-ci Bot closed this Sep 17, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Sep 17, 2026
@vcunat
vcunat dismissed nixpkgs-commit-check[bot]’s stale review September 17, 2026 03:56

nixpkgs master updated awscli2 instead

@vcunat
vcunat added this pull request to the merge queue Sep 17, 2026
@vcunat

vcunat commented Sep 17, 2026

Copy link
Copy Markdown
Member

It fixes the build, so let me merge at least this. But if the maintainers think a different solution would be better (e.g. update awscli2 or something), certainly feel free to improve anytime.

Merged via the queue into NixOS:staging-next-26.05 with commit 2b088c5 Sep 17, 2026
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants