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

Adding some tools to a installed toolchain looks frozen #834

Closed
cnpryer opened this issue Nov 8, 2023 · 1 comment Β· Fixed by #837
Closed

Adding some tools to a installed toolchain looks frozen #834

cnpryer opened this issue Nov 8, 2023 · 1 comment Β· Fixed by #837
Milestone

Comments

@cnpryer
Copy link
Owner

cnpryer commented Nov 8, 2023

Installing an old project of mine to test out the toolchain add command I noticed a long install will appear to be stuck since we swallow all the stdout from the install.

huak on ξ‚  master [$!] is πŸ“¦ v0.0.20a1 via 🐍 v3.11.4 via πŸ¦€ v1.75.0-nightly took 4s 
❯ cargo run --bin huak toolchain add secretset
   Compiling huak-package-manager v0.0.0 (/Users/chrispryer/github/huak/crates/huak-package-manager)
   Compiling huak v0.0.20-alpha.1 (/Users/chrispryer/github/huak/crates/huak-cli)
    Finished dev [unoptimized + debuginfo] target(s) in 0.78s
     Running `target/debug/huak toolchain add secretset`
     Updating adding secretset to 3.12  <-- looks stuck here

I can just not silence this, but I'd like this issue to document other solutions that might be ideal for stuff like this.

I'd like for #809 to cover this.

huak on ξ‚  master [$!] is πŸ“¦ v0.0.20a1 via 🐍 v3.11.4 via πŸ¦€ v1.75.0-nightly took 4s 
❯ cargo run --bin huak toolchain add secretset
   Compiling huak-package-manager v0.0.0 (/Users/chrispryer/github/huak/crates/huak-package-manager)
   Compiling huak v0.0.20-alpha.1 (/Users/chrispryer/github/huak/crates/huak-cli)
    Finished dev [unoptimized + debuginfo] target(s) in 0.78s
     Running `target/debug/huak toolchain add secretset`
     Updating adding secretset to 3.12
Collecting secretset
  Using cached secretset-0.1.1-py3-none-any.whl (4.6 kB)
Collecting click<9.0.0,>=8.1.3 (from secretset)
  Obtaining dependency information for click<9.0.0,>=8.1.3 from https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl.metadata
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: openpyxl<4.0.0,>=3.0.10 in /Users/chrispryer/.huak/toolchains/3.12/downloads/python/install/lib/python3.12/site-packages (from secretset) (3.1.2)
Collecting pandas<2.0.0,>=1.4.3 (from secretset)
  Using cached pandas-1.5.3.tar.gz (5.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: et-xmlfile in /Users/chrispryer/.huak/toolchains/3.12/downloads/python/install/lib/python3.12/site-packages (from openpyxl<4.0.0,>=3.0.10->secretset) (1.1.0)
Collecting python-dateutil>=2.8.1 (from pandas<2.0.0,>=1.4.3->secretset)
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2020.1 (from pandas<2.0.0,>=1.4.3->secretset)
  Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/32/4d/aaf7eff5deb402fd9a24a1449a8119f00d74ae9c2efa79f8ef9994261fc2/pytz-2023.3.post1-py2.py3-none-any.whl.metadata
  Using cached pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB)
Collecting numpy>=1.21.0 (from pandas<2.0.0,>=1.4.3->secretset)
  Obtaining dependency information for numpy>=1.21.0 from https://files.pythonhosted.org/packages/65/5a/87a862acf8aa3ef5896577db5baf29e56df0fdbda025fbb67fd5039794d1/numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl.metadata
  Using cached numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.1->pandas<2.0.0,>=1.4.3->secretset)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB)
Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
Building wheels for collected packages: pandas
  Building wheel for pandas (pyproject.toml) ... done
  Created wheel for pandas: filename=pandas-1.5.3-cp312-cp312-macosx_11_0_arm64.whl size=10410306 sha256=567d89fb404114f4286496a5b4ab0ee58e0b53dcd70eee36cd1aaf52a14c7b5b
  Stored in directory: /Users/chrispryer/Library/Caches/pip/wheels/fb/83/18/8e7307aa1185c5498c5490e4d9c8a1732d9f1056e86c3491c6
Successfully built pandas
Installing collected packages: pytz, six, numpy, click, python-dateutil, pandas, secretset
  WARNING: The script f2py is installed in '/Users/chrispryer/.huak/toolchains/3.12/downloads/python/install/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script secretset is installed in '/Users/chrispryer/.huak/toolchains/3.12/downloads/python/install/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed click-8.1.7 numpy-1.26.1 pandas-1.5.3 python-dateutil-2.8.2 pytz-2023.3.post1 secretset-0.1.1 six-1.16.0

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: /Users/chrispryer/.huak/toolchains/3.12/bin/python -m pip install --upgrade pip
      Success secretset was added to '3.12'
@cnpryer cnpryer added this to the General-use release milestone Nov 8, 2023
@cnpryer cnpryer changed the title Adding some tools to a installed toolchain look frozen Adding some tools to a installed toolchain looks frozen Nov 8, 2023
@cnpryer
Copy link
Owner Author

cnpryer commented Nov 8, 2023

Closing with #837 but need to consider in #809

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

Successfully merging a pull request may close this issue.

1 participant