pypa / build

A simple, correct Python build frontend
https://build.pypa.io
MIT License
735 stars 120 forks source link

no such option: --python #745

Closed oeway closed 7 months ago

oeway commented 7 months ago

Hi, the latest upgrade to 1.1.0 causes build error, which saids no such option: --python.

Here is an example: https://github.com/bioimage-io/bioimageio-chatbot/actions/runs/8099920811/job/22136780917#step:4:91

If I pin build==1.0.3, then it works. I also tried to upgrade pip, but it didn't help.

cr1901 commented 7 months ago

https://build.pypa.io/en/stable/changelog.html#id1

Use external pip if available instead of installing, speeds up environment setup with virtualenv slightly and venv significantly. (PR #736)

Probably related? Interesting that upgrading pip didn't help though...

layday commented 7 months ago

That would be because we're invoking Python with the -I flag which makes it ignore user site packages. In addition, the minimum version of pip is wrong.

layday commented 7 months ago

746

henryiii commented 7 months ago

I've yanked 1.1.0 until we fix this.

henryiii commented 7 months ago

1.1.1 is out.