python -m pip install -U https://github.com/deknowny/reqsnaked/archive/main.zip
Collecting https://github.com/deknowny/reqsnaked/archive/main.zip
Downloading https://github.com/deknowny/reqsnaked/archive/main.zip
\ 578.7 kB 550.5 kB/s 0:00:01
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: reqsnaked
Building wheel for reqsnaked (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for reqsnaked (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [131 lines of output]
Running `maturin pep517 build-wheel -i /Users/river/miniforge3/bin/python --compatibility off`
Compiling proc-macro2 v1.0.51
Compiling unicode-ident v1.0.6
Compiling quote v1.0.23
Compiling libc v0.2.139
Compiling syn v1.0.107
Compiling cfg-if v1.0.0
Compiling autocfg v1.1.0
Compiling log v0.4.17
Compiling memchr v2.5.0
Compiling pin-project-lite v0.2.9
Compiling parking_lot_core v0.9.7
Compiling lock_api v0.4.9
Compiling futures-core v0.3.26
Compiling smallvec v1.10.0
Compiling scopeguard v1.1.0
Compiling bytes v1.4.0
Compiling tokio v1.25.0
Compiling signal-hook-registry v1.4.1
Compiling mio v0.8.6
Compiling num_cpus v1.15.0
Compiling socket2 v0.4.7
Compiling parking_lot v0.12.1
Compiling slab v0.4.7
Compiling futures-sink v0.3.26
Compiling futures-task v0.3.26
Compiling futures-channel v0.3.26
Compiling version_check v0.9.4
Compiling futures-util v0.3.26
Compiling itoa v1.0.5
Compiling pin-utils v0.1.0
Compiling target-lexicon v0.12.6
Compiling futures-io v0.3.26
Compiling once_cell v1.17.1
Compiling cc v1.0.79
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.6.0
Compiling tracing-core v0.1.30
Compiling ring v0.16.20
Compiling core-foundation-sys v0.8.3
Compiling unicode-normalization v0.1.22
Compiling unicase v2.6.0
Compiling untrusted v0.7.1
Compiling unicode-bidi v0.3.10
Compiling percent-encoding v2.2.0
Compiling serde_derive v1.0.152
Compiling indexmap v1.9.2
Compiling fnv v1.0.7
Compiling serde v1.0.152
Compiling pyo3-build-config v0.16.6
Compiling http v0.2.9
Compiling idna v0.3.0
Compiling form_urlencoded v1.1.0
Compiling tokio-macros v1.8.2
Compiling futures-macro v0.3.26
Compiling tracing-attributes v0.1.23
Compiling getrandom v0.2.8
Compiling httparse v1.8.0
Compiling tracing v0.1.37
Compiling hashbrown v0.12.3
Compiling thiserror v1.0.38
Compiling lazy_static v1.4.0
Compiling pyo3-ffi v0.16.6
Compiling rand_core v0.6.4
Compiling thiserror-impl v1.0.38
Compiling core-foundation v0.9.3
Compiling security-framework-sys v2.8.0
Compiling native-tls v0.2.11
Compiling async-trait v0.1.64
Compiling try-lock v0.2.4
Compiling ryu v1.0.12
Compiling alloc-no-stdlib v2.0.4
Compiling crc32fast v1.3.2
Compiling webpki v0.22.0
Compiling time-core v0.1.0
Compiling fastrand v1.9.0
Compiling ppv-lite86 v0.2.17
Compiling matches v0.1.10
Compiling remove_dir_all v0.5.3
Compiling serde_json v1.0.93
Compiling rustls v0.20.8
Compiling bitflags v1.3.2
Compiling security-framework v2.8.2
Compiling rand_chacha v0.3.1
Compiling tempfile v3.3.0
Compiling idna v0.2.3
Compiling tokio-util v0.7.7
Compiling h2 v0.3.15
Compiling time-macros v0.2.7
Compiling sct v0.7.0
Compiling alloc-stdlib v0.2.2
Compiling want v0.3.0
Compiling url v2.3.1
Compiling http-body v0.4.5
Compiling cookie v0.16.2
Compiling httpdate v1.0.2
Compiling match_cfg v0.1.0
Compiling heck v0.4.1
Compiling tower-service v0.3.2
Compiling adler v1.0.2
Compiling enum-as-inner v0.5.1
Compiling miniz_oxide v0.6.2
Compiling time v0.3.19
Compiling hostname v0.3.1
Compiling hyper v0.14.24
Compiling brotli-decompressor v2.3.4
error: could not compile `time` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `cargo rustc --manifest-path Cargo.toml --message-format json --release --lib -- -C link-arg=-undefined -C link-arg=dynamic_lookup -C link-args=-Wl,-install_name,@rpath/reqsnaked.cpython-310-darwin.so`
🔗 Found pyo3 bindings
🐍 Found CPython 3.10 at /Users/river/miniforge3/bin/python
error[E0282]: type annotations needed for `Box<_>`
--> /Users/river/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.19/src/format_description/parse/mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
= note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0282`.
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/Users/river/miniforge3/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for reqsnaked
Failed to build reqsnaked
ERROR: Could not build wheels for reqsnaked, which is required to install pyproject.toml-based projects
I use the
python -m pip install -U https://github.com/deknowny/reqsnaked/archive/main.zipto install the package, but get: