[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2473: stop using `setup_requires` on Windows (was: stop using `setup_requires`)

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jul 21 20:07:54 UTC 2015


#2473: stop using `setup_requires` on Windows
-----------------------------+--------------------------------
     Reporter:  zooko        |      Owner:  daira
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  undecided
    Component:  packaging    |    Version:  1.10.1
   Resolution:               |   Keywords:  setuptools windows
Launchpad Bug:               |
-----------------------------+--------------------------------
Changes (by daira):

 * keywords:  setuptools => setuptools windows


Old description:

> If we removed the remaining use of
> [source:trunk/src/allmydata/_auto_deps.py?annotate=blame&rev=c830419e04eac49dc53bac4f7f37c755d685a772#L147
> setup_requires], I think it would fix at least the following tickets:
>
> * #2286 (the version of a library chosen for a setup requirement can
> conflict with a build requirement)
> * #2066 (setup.py performs work without a command being specified)
>
> and it would be the next-step on improving these ones:
>
> * #2055 (Building tahoe safely is non-trivial)
> * #1220 (build/install should be able to refrain from getting
> dependencies)
> * #2077 (pip packaging plan)

New description:

 If we removed the remaining use of
 [source:trunk/src/allmydata/_auto_deps.py?annotate=blame&rev=c830419e04eac49dc53bac4f7f37c755d685a772#L147
 setup_requires], which applies only to Windows, I think it would fix at
 least the following tickets:

 * #2286 (the version of a library chosen for a setup requirement can
 conflict with a build requirement)
 * #2066 (setup.py performs work without a command being specified)

 and it would be the next-step on improving these ones:

 * #2055 (Building tahoe safely is non-trivial)
 * #1220 (build/install should be able to refrain from getting
 dependencies)
 * #2077 (pip packaging plan)

--

Comment:

 I think that we should press ahead with #2077 for non-Windows platforms
 and worry about removing the use of `setup_requires` on Windows later.
 This would avoid some thorny problems, including the fact that zetuptoolz
 does strange things on Windows to support running scripts.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2473#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list