https://github.com/durandtibo/pip-install-package-action
GitHub action to find a valid package version and install it
https://github.com/durandtibo/pip-install-package-action
Last synced: about 2 months ago
JSON representation
GitHub action to find a valid package version and install it
- Host: GitHub
- URL: https://github.com/durandtibo/pip-install-package-action
- Owner: durandtibo
- License: bsd-3-clause
- Created: 2024-09-17T20:25:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-03T15:27:14.000Z (about 2 months ago)
- Last Synced: 2025-04-03T16:34:51.555Z (about 2 months ago)
- Language: Python
- Size: 777 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Python Package GitHub Action
GitHub action to find valid package versions based on python version
## What's new
Please refer to
the [release page](https://github.com/durandtibo/pip-install-package-action/releases) for
the latest release notes.### Basic usage
```yaml
- name: Install valid package version
uses: durandtibo/[email protected]
with:
package-name: 'numpy'
package-version: 2.0.2
python-version: 3.11
```### Inputs
| name | description | default value |
|-------------------|-----------------------------------------|---------------|
| `package-name` | The package name e.g. `numpy` | none |
| `package-version` | The target package version e.g. `2.0.2` | none |
| `python-version` | The python version e.g. `3.11` | none |### Outputs
| name | description |
|-------------------------|-------------------------------------------------------------------|
| `closest-valid-version` | The closest valid package version given the input package version | |## Suggestions and Communication
Everyone is welcome to contribute to the community.
If you have any questions or suggestions, you can
submit [Github Issues](https://github.com/durandtibo/pip-install-package-action/issues).
We will reply to you as soon as possible. Thank you very much.## License
`pip-install-package-action` is licensed under BSD 3-Clause "New" or "Revised" license available
in [LICENSE](LICENSE)
file.