Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build CLI stuck unless I hit <ENTER> twice #620

Open
lazarillo opened this issue May 22, 2023 · 3 comments
Open

Build CLI stuck unless I hit <ENTER> twice #620

lazarillo opened this issue May 22, 2023 · 3 comments

Comments

@lazarillo
Copy link

lazarillo commented May 22, 2023

I needed to use python -m build instead of using PDM like I usually would.

I tried to perform

python -m build

and it just sat there. I changed backends, I went to lunch so that it had plenty of time, etc., and it just sat there.

Then I ran across this issue, which was similar enough to mine that I tried out the suggestion to "Hit enter twice to reveal the command". Not only could I see the command, but then everything worked fine, as long as I hit enter twice. The problem is that I cannot do this in my automated build pipeline.

Some details:

I use fish for the CLI.

> pip --version
pip 23.1.2 from <My Path>/python3.10/site-packages/pip (python 3.10)

> python --version
Python 3.10.6

> fish --version
fish, version 3.6.1

> python -m build --version
build 0.10.0 (<My Path>/python3.10/site-packages/build)

Has anyone seen this? What is the fix? Is this already reported (I couldn't see anything).

@henryiii
Copy link
Contributor

Is that build or pip?

(PS: I'm a fish user and I've never seen it require pressing enter twice)

@sbor23
Copy link

sbor23 commented May 30, 2023

Sorry I mixed things up, this is build of course.

IMO this issue is a duplicate, of course the "hit multiple times" workaround is not an actual fix. This is why the linked issue is still open: because it's still not fixed.

@FFY00
Copy link
Member

FFY00 commented May 31, 2023

Do you have any custom pip configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants