Skip to content

py-isort: needs setuptools build dep before v5#40234

Merged
adamjstewart merged 6 commits intospack:developfrom
haampie:py-isort/fix-deps
Oct 4, 2023
Merged

py-isort: needs setuptools build dep before v5#40234
adamjstewart merged 6 commits intospack:developfrom
haampie:py-isort/fix-deps

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented Sep 28, 2023

Detected in #40224.

In the past, system setuptools could be picked up when using an external
python, so py-isort@4 would install fine. With the linked PR, pip can
only consider packages that Spack controls from PYTHONPATH, so the issue
of missing py-setuptools showed up.

Detected in spack#40224.

In the past, system setuptools could be picked up when using an external
python, so py-isort@4 would install fine. With the linked PR, pip can
only consider packages that Spack controls from PYTHONPATH, so the issue
of missing py-setuptools showed up.
@haampie haampie closed this Sep 28, 2023
@haampie haampie reopened this Sep 28, 2023
@adamjstewart adamjstewart enabled auto-merge (squash) October 4, 2023 09:24
@adamjstewart adamjstewart merged commit 931fce2 into spack:develop Oct 4, 2023
AdhocMan pushed a commit to AdhocMan/spack that referenced this pull request Oct 10, 2023
* py-isort: needs setuptools build dep before v5

Detected in spack#40224.

In the past, system setuptools could be picked up when using an external
python, so py-isort@4 would install fine. With the linked PR, pip can
only consider packages that Spack controls from PYTHONPATH, so the issue
of missing py-setuptools showed up.

* py-importlib-metadata: fix lowerbounds on python

* review

* py-isort unconditionally add optional setuptools dep to prevent picking up user package at runtime

* style

* drop optional py-setuptools run dep
RikkiButler20 pushed a commit to RikkiButler20/spack that referenced this pull request Nov 2, 2023
* py-isort: needs setuptools build dep before v5

Detected in spack#40224.

In the past, system setuptools could be picked up when using an external
python, so py-isort@4 would install fine. With the linked PR, pip can
only consider packages that Spack controls from PYTHONPATH, so the issue
of missing py-setuptools showed up.

* py-importlib-metadata: fix lowerbounds on python

* review

* py-isort unconditionally add optional setuptools dep to prevent picking up user package at runtime

* style

* drop optional py-setuptools run dep
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