the version of a library chosen for a setup requirement can conflict with a build requirement #2286

Closed
opened 2014-08-30 00:35:57 +00:00 by daira · 3 comments
daira commented 2014-08-30 00:35:57 +00:00
Owner

This problem happens because setuptools decides on the version of a package specified as a setup_requires dependency, before computing all of the (transitive) install_requires dependencies. So it can happen that it drops an egg into the current directory of the build that then conflicts with a build requirement.

I don't know whether this bug is specific to zetuptoolz or still exists in more recent setuptools versions.

In any case, setuptools delenda est.

This problem happens because setuptools decides on the version of a package specified as a `setup_requires` dependency, before computing all of the (transitive) `install_requires` dependencies. So it can happen that it drops an egg into the current directory of the build that then conflicts with a build requirement. I don't know whether this bug is specific to zetuptoolz or still exists in more recent setuptools versions. In any case, setuptools delenda est.
tahoe-lafs added the
packaging
normal
defect
1.10.0
labels 2014-08-30 00:35:57 +00:00
tahoe-lafs added this to the undecided milestone 2014-08-30 00:35:57 +00:00
Daira Hopwood <daira@jacaranda.org> commented 2015-05-13 11:56:22 +00:00
Author
Owner

In /tahoe-lafs/trac-2024-07-25/commit/07aa5e76b5faea91f55fc5f566e8b766c7685c51:

Retire the setup_requires hack in cases where it isn't needed (and can cause build problems). refs #2286

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
In [/tahoe-lafs/trac-2024-07-25/commit/07aa5e76b5faea91f55fc5f566e8b766c7685c51](/tahoe-lafs/trac-2024-07-25/commit/07aa5e76b5faea91f55fc5f566e8b766c7685c51): ``` Retire the setup_requires hack in cases where it isn't needed (and can cause build problems). refs #2286 Signed-off-by: Daira Hopwood <daira@jacaranda.org> ```

I think a good next-step on this is #2473 (stop using setup_requires).

I think a good next-step on this is #2473 (stop using `setup_requires`).

We no longer use setup_requires=, so we can close this one now.

We no longer use `setup_requires=`, so we can close this one now.
warner added the
fixed
label 2016-03-26 23:15:49 +00:00
warner modified the milestone from undecided to 1.11.0 2016-03-26 23:15:49 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2286
No description provided.