Commit graph

32 commits

Author SHA1 Message Date
Charlie Marsh
c8477991a9
Use local versions of PEP 440 and PEP 508 crates (#32)
This PR modifies the PEP 440 and PEP 508 crates to pass CI, primarily by
fixing all lint violations.

We're also now using these crates in the workspace via `path`.
(Previously, we were still fetching them from Cargo.)
2023-10-07 00:16:44 +00:00
Charlie Marsh
4fcdb3c045
Copy over pep508-rs crate (#31)
This PR copies over the `pep440-rs` crate at commit
`82aa5d4dcbe676b121dc931b0afa09a82de8e3d7` with no modifications.

It won't pass CI, but modifications will intentionally be confined to
later PRs.
2023-10-06 20:12:19 -04:00
Charlie Marsh
f03398bee3
Copy over pep440-rs crate (#30)
This PR copies over the `pep440-rs` crate at commit
`a8303b01ffef6fccfdce562a887f6b110d482ef3` with no modifications.

It won't pass CI, but modifications will intentionally be confined to
later PRs.
2023-10-06 20:11:52 -04:00
Charlie Marsh
1e6a217503
Check in Cargo.lock (#29) 2023-10-06 20:59:17 +00:00
Charlie Marsh
36d0124e60
Do wheel downloads concurrently (#28) 2023-10-06 20:51:31 +00:00
Charlie Marsh
dd26cfa0cc
Migrate to tokio (#27)
Closes https://github.com/astral-sh/puffin/issues/26.
2023-10-06 20:31:03 +00:00
Charlie Marsh
ca6aa207ff
Move to workspace dependencies (#25) 2023-10-06 19:49:41 +00:00
Charlie Marsh
dab70a661a
Change install to sync (with sync semantics) (#24)
For better separate at this stage (and following `pip-tools`), it's now
`puffin sync`, and it assumes `--no-deps`.
2023-10-06 19:42:58 +00:00
Charlie Marsh
ff8e24a621
Move puffin-installer to its own crate (#23) 2023-10-06 19:31:21 +00:00
Charlie Marsh
f395c9c98c Update README 2023-10-06 01:03:07 -04:00
Charlie Marsh
28721cf5fc Avoid caching wheel fetches 2023-10-06 00:50:30 -04:00
Charlie Marsh
a43328d914
Support wheel installation (#19)
Closes https://github.com/astral-sh/puffin/issues/8.
2023-10-06 00:47:45 -04:00
Charlie Marsh
47bbb7a78e
Separate platform tags (#18) 2023-10-05 23:24:38 -04:00
Charlie Marsh
9ea6eaeb10
Add separate compile and install commands (#17)
Closes #9.
2023-10-05 21:44:31 -04:00
Charlie Marsh
4c30cb146a Add crate README 2023-10-05 21:09:58 -04:00
Charlie Marsh
8b151a64d5
Rename puffin-requirements to puffin-package (#16)
Closes https://github.com/astral-sh/puffin/issues/7.
2023-10-05 21:03:20 -04:00
Charlie Marsh
94895de46d
Add support for wheel tag parsing (#15)
Closes https://github.com/astral-sh/puffin/issues/12.
2023-10-05 20:59:58 -04:00
Charlie Marsh
2d6266b167
Add an HTTP cache (and --no-cache argument) (#14)
Closes https://github.com/astral-sh/puffin/issues/3.
2023-10-05 19:14:05 -04:00
Charlie Marsh
1063d8c150
Add Python interpreter detection (#11)
Closes https://github.com/astral-sh/puffin/issues/2.
2023-10-05 15:09:22 -04:00
Charlie Marsh
b059c590c4
Add basic CI via GitHub Actions (#10)
Closes https://github.com/astral-sh/puffin/issues/1.
2023-10-05 13:42:58 -04:00
Charlie Marsh
b4828fb3f2 Remove progress bar 2023-10-05 12:45:38 -04:00
Charlie Marsh
7f497fa43f Add progress bar 2023-10-05 12:45:38 -04:00
Charlie Marsh
8032d4606e Misc. changes 2023-10-05 12:45:38 -04:00
Charlie Marsh
f51432382a Do basic resolution 2023-10-05 12:45:38 -04:00
Charlie Marsh
0f10595ac3 Add version selection 2023-10-05 12:45:38 -04:00
Charlie Marsh
44b444494e Fetch package metadata in parallel 2023-10-05 12:45:38 -04:00
Charlie Marsh
b08e8c78b5 Remove normalized representation of SimpleJson 2023-10-05 12:45:38 -04:00
Charlie Marsh
610fd9994f Add client networking stack 2023-10-05 12:45:38 -04:00
Charlie Marsh
1a2f35801b Add client networking stack 2023-10-05 12:45:38 -04:00
Charlie Marsh
53607df7c6 Add a requirements.txt parser 2023-10-05 12:45:38 -04:00
Charlie Marsh
8b9ac30507 Add license, Cargo.toml, etc. 2023-10-05 12:45:38 -04:00
Charlie Marsh
d226e0a2cd Add README and LICENSE files 2023-10-05 12:45:38 -04:00