spider-rs / spider-py

Spider ported to Python
https://spider-rs.github.io/spider-py/
MIT License
37 stars 3 forks source link

pip install fail #1

Closed Tristan0430 closed 5 months ago

Tristan0430 commented 6 months ago

Collecting spider_rs Using cached http://mirrors.aliyun.com/pypi/packages/26/ba/bc4bf77e7923583aede0ed4a203f2ea5c2d6a2c85fe8d07f4b3f81570c9b/spider_rs-0.0.30.tar.gz (38 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output] Updating rsproxy index From https://rsproxy.cn/crates.io-index

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

j-mendez commented 6 months ago

Hi can you try 0.0.31? There was an update with maturin messed up some of the compilation of the cargo crate metadata like being able to add a 'description' etc. This recently just started happening.

j-mendez commented 6 months ago
pip install spider_rs 
Collecting spider_rs
  Downloading spider_rs-0.0.31.tar.gz (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.2/40.2 kB 1.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: spider_rs
  Building wheel for spider_rs (pyproject.toml) ... done
  Created wheel for spider_rs: filename=spider_rs-0.0.31-cp311-cp311-macosx_11_0_arm64.whl size=7828504 sha256=c3ec7eb5f5f60fc543f2f509f91f9bca1a7d4622456df2ebfd7a550b60593f5a
  Stored in directory: /Users/jmendez/Library/Caches/pip/wheels/53/46/f1/5045ed476b19aef1626e769090fb9707c541ed3da4eac50950
Successfully built spider_rs
Installing collected packages: spider_rs
Successfully installed spider_rs-0.0.31

0.0.31 works on mac, I need to spin up a windows vm to test later.

Tristan0430 commented 5 months ago

thx,I just installed 0.0.33 successfully.