Jason R. Coombs

Results 1062 comments of Jason R. Coombs

On further examination, I determined that the default-shell package as used by Hyper [does honor COMSPEC](https://www.npmjs.com/package/default-shell?activeTab=code). I must have done something wrong the first time I tried. I was able...

On further consideration, while setting COMSPEC does in fact allow Hyper to launch a different shell, it also breaks other things that expect COMSPEC to refer to a cmd.exe-compatible shell,...

The problem I have is that [my config file](https://github.com/jaraco/dotfiles/blob/main/.hyper.js) is shared across different systems, so if I put "shell: C:\Users\jaraco\.local\bin\xonsh.exe" there, the config file no longer works on my Mac...

In https://github.com/jaraco/pipx-1539/commit/57411d4d399fcff20139686b538f51bf780c5ddd, I attempted to create a minimal reproducer, but in that minimal environment, the issue doesn't reproduce, so there's some other factor at play.

In [this run](https://github.com/jaraco/pipx-1539/actions/runs/10747627760/job/29810304941) (from https://github.com/jaraco/pipx-1539/commit/c120c9ee84aa8eea97c27cf63415cd546b410f5d), I've replicated the issue minimally, only using `pipx run` (remembering to include `--python`) and setuptools.

For posterity, here's the workflow: ```yaml name: tests on: push: jobs: test: strategy: fail-fast: false matrix: python: - "3.12" platform: - ubuntu-latest - macos-latest - windows-latest runs-on: ${{ matrix.platform }}...

I tried replicating the issue using Docker, but even using ubuntu:jammy and installing python3-setuptools and pipx using apt, the issue doesn't replicate. Curiously there, `pipx` doesn't accept `--python 3.12`, suggesting...

Aha! Using the latest pipx, I'm able to replicate the issue in a Docker image: ```Dockerfile FROM ubuntu:jammy RUN apt update RUN apt upgrade -y RUN apt install -y software-properties-common...

I can see that when launching python, `python3.10/site-packages` is on sys.path: ``` 🐚 docker run -it @$(docker build -q .) pipx run --python 3.12 --spec setuptools python Python 3.12.5 (main,...

I thought maybe site-packages was relevant, as that affects `.pth` file processing. ``` >>> site.getsitepackages() ['/root/.cache/pipx/6b9620d37d49ab9/lib/python3.12/site-packages', '/root/.cache/pipx/6b9620d37d49ab9/local/lib/python3.12/dist-packages', '/root/.cache/pipx/6b9620d37d49ab9/lib/python3/dist-packages', '/root/.cache/pipx/6b9620d37d49ab9/lib/python3.12/dist-packages'] ``` I see that the python3.10 path doesn't appear there. But...