clean up find_links=, tahoe-lafs/deps/ web cache #2750

Closed
opened 2016-03-22 05:15:44 +00:00 by warner · 3 comments
warner commented 2016-03-22 05:15:44 +00:00
Owner

Tasks to do:

  • publish OS-X and windows wheels of all dependencies to https://tahoe-lafs.org/deps/
  • change tahoe.cfg to point find_links= at that (rather than separate sdist/ and eggs/ directories) (NEVERMIND)
  • get rid of the confusing mess of other tahoe-lafs.org dependencies URLs
  • manually test an OS-X build without a compiler
  • manually test a windows build without a compiler
Tasks to do: * ~~publish OS-X and windows wheels of all dependencies to <https://tahoe-lafs.org/deps/>~~ * ~~change tahoe.cfg to point `find_links=` at that (rather than separate sdist/ and eggs/ directories) (NEVERMIND)~~ * get rid of the confusing mess of other tahoe-lafs.org dependencies URLs * ~~manually test an OS-X build without a compiler~~ * ~~manually test a windows build without a compiler~~
tahoe-lafs added the
packaging
normal
task
1.10.2
labels 2016-03-22 05:15:44 +00:00
tahoe-lafs added this to the 1.11.0 milestone 2016-03-22 05:15:44 +00:00
warner commented 2016-03-23 01:21:28 +00:00
Author
Owner

Daira pointed out that we should keep the old tahoe-lafs.org dependency directories around for now, for the sake of the previous release. We can deprecate them after 1.11.0 is out.

Daira pointed out that we should keep the old tahoe-lafs.org dependency directories around for now, for the sake of the previous release. We can deprecate them after 1.11.0 is out.
warner commented 2016-03-26 20:45:21 +00:00
Author
Owner

I've removed the find_links= from tahoe.cfg because it was only getting used by commands that run setup.py directly (e.g. setup.py install or setup.py develop). Our instructions direct users to do pip install ., and pip doesn't look at find_links in setup.cfg .

Instead, to take advantage of our published wheels, users should do pip install --find-links=<https://tahoe-lafs.org/deps/> .. I'm updating the mac/windows docs to suggest that, because it will help on those platforms. I'm not updating the linux docs for it, because it doesn't help very much (installing a wheel is marginally faster than installing a pure-python tarball, but not enough to compensate for the distraction of an extra argument).

Wheels are published to the URL above.

I tested a windows install with the --find-links= argument, and it ran quickly (and didn't appear to compile anything). The only windows instance I have access to (a GCE VM) has the compiler installed, so I don't have a way to test without a compiler, but I think eyeballing the lack of "building XYZ.." lines in the output is probably good enough.

I've removed the `find_links=` from `tahoe.cfg` because it was only getting used by commands that run `setup.py` directly (e.g. `setup.py install` or `setup.py develop`). Our instructions direct users to do `pip install .`, and pip doesn't look at find_links in setup.cfg . Instead, to take advantage of our published wheels, users should do `pip install --find-links=<https://tahoe-lafs.org/deps/> .`. I'm updating the mac/windows docs to suggest that, because it will help on those platforms. I'm not updating the linux docs for it, because it doesn't help very much (installing a wheel is marginally faster than installing a pure-python tarball, but not enough to compensate for the distraction of an extra argument). Wheels are published to the URL above. I tested a windows install with the `--find-links=` argument, and it ran quickly (and didn't appear to compile anything). The only windows instance I have access to (a GCE VM) has the compiler installed, so I don't have a way to test without a compiler, but I think eyeballing the lack of "building XYZ.." lines in the output is probably good enough.
warner commented 2016-03-26 21:17:42 +00:00
Author
Owner

I think that's good.

I think that's good.
tahoe-lafs added the
fixed
label 2016-03-26 21:17:42 +00:00
warner closed this issue 2016-03-26 21:17:42 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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