pypa / build

A simple, correct Python build frontend

Home Page:https://build.pypa.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no such option: --python

oeway opened this issue · comments

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.

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...

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.

I've yanked 1.1.0 until we fix this.

1.1.1 is out.