Skip to content

Support python script file executable.#1807

Merged
jsirois merged 4 commits intopex-tool:mainfrom
jsirois:Jacob/kebab-scripts
Jun 17, 2022
Merged

Support python script file executable.#1807
jsirois merged 4 commits intopex-tool:mainfrom
jsirois:Jacob/kebab-scripts

Conversation

@jsirois
Copy link
Member

@jsirois jsirois commented Jun 17, 2022

No description provided.

jsirois added 2 commits June 16, 2022 20:18
Two fixes:

1. Fix dependency drift in test.
   A protobuf release foiled the legacy resolver and this went
   unchecked.

2. Bump 3.11 shards to latest beta.
@jsirois jsirois requested review from Eric-Arellano and benjyw June 17, 2022 06:56
@jsirois jsirois force-pushed the Jacob/kebab-scripts branch from 202fc1e to 79b65a5 Compare June 17, 2022 06:59
@jsirois
Copy link
Member Author

jsirois commented Jun 17, 2022

The relevant commit to review is 79b65a5. The rest come from #1806 which unbreaks CI.

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

@jsirois jsirois merged commit 66f7c57 into pex-tool:main Jun 17, 2022
@jsirois jsirois deleted the Jacob/kebab-scripts branch June 17, 2022 14:31
@jsirois jsirois mentioned this pull request Jun 19, 2022
8 tasks
cognifloyd added a commit to pantsbuild/pants that referenced this pull request Feb 9, 2024
This PR adds support for `pex --executable <path to script>` added in
pex [2.1.93](https://github.com/pantsbuild/pex/releases/tag/v2.1.93):
pex-tool/pex#1807

With this change, users should be able to do `pants run
bin/my-python-script.py`.

Closes #18290

---------

Co-authored-by: Benjy Weinberger <benjyw@gmail.com>
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 this pull request may close these issues.

2 participants