Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chris48s/satisfying-python
Output maximum and minimum python versions satisfying constraint from pyproject.toml
https://github.com/chris48s/satisfying-python
Last synced: 24 days ago
JSON representation
Output maximum and minimum python versions satisfying constraint from pyproject.toml
- Host: GitHub
- URL: https://github.com/chris48s/satisfying-python
- Owner: chris48s
- License: mit
- Created: 2023-10-02T17:35:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-15T18:13:25.000Z (about 2 months ago)
- Last Synced: 2024-09-15T19:35:05.843Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 365 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# satisfying-python
[![Build](https://github.com/chris48s/satisfying-python/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/chris48s/satisfying-python/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/chris48s/satisfying-python/graph/badge.svg?token=wvSK4hGh8k)](https://codecov.io/gh/chris48s/satisfying-python)Github action that outputs the maximum (`outputs.max`) and minimum (`outputs.min`) python versions satisfying a range from `pyproject.toml`.
[PEP 621](https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#declaring-project-metadata) and [Poetry](https://python-poetry.org/) formats are supported.
Example usage:
```yaml
- name: Get python versions
uses: chris48s/[email protected]
id: python-versions- name: Set up Python ${{ steps.python-versions.outputs.min }}
uses: actions/setup-python@v4
with:
python-version: '${{ steps.python-versions.outputs.min }}'
```