{"id":20466045,"url":"https://github.com/rizerphe/poetry-python-downgrader-action","last_synced_at":"2026-03-07T12:36:42.075Z","repository":{"id":246961369,"uuid":"824744684","full_name":"rizerphe/poetry-python-downgrader-action","owner":"rizerphe","description":"A github action for poetry-python-downgrader - a tool to downgrade poetry packages for compatibility with specific Python versions.","archived":false,"fork":false,"pushed_at":"2024-08-01T11:26:22.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T12:34:08.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rizerphe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-05T20:53:00.000Z","updated_at":"2024-08-01T11:26:11.000Z","dependencies_parsed_at":"2024-07-06T01:34:40.532Z","dependency_job_id":"6657cc6b-c72b-41e4-ad2c-e4c17333c059","html_url":"https://github.com/rizerphe/poetry-python-downgrader-action","commit_stats":null,"previous_names":["rizerphe/poetry-python-downgrader-action"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rizerphe/poetry-python-downgrader-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizerphe%2Fpoetry-python-downgrader-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizerphe%2Fpoetry-python-downgrader-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizerphe%2Fpoetry-python-downgrader-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizerphe%2Fpoetry-python-downgrader-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizerphe","download_url":"https://codeload.github.com/rizerphe/poetry-python-downgrader-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizerphe%2Fpoetry-python-downgrader-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30213254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T12:15:00.571Z","status":"ssl_error","status_checked_at":"2026-03-07T12:15:00.217Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T13:21:16.900Z","updated_at":"2026-03-07T12:36:42.039Z","avatar_url":"https://github.com/rizerphe.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poetry Python Downgrader\n\nThis is a github action for [poetry-python-downgrader](https://github.com/rizerphe/poetry-python-downgrader).\n\n[![Use action](https://img.shields.io/badge/Use_action-gray?style=flat-square\u0026logo=GitHub%20Actions)](https://github.com/marketplace/actions/poetry-python-downgrader)\n[![The original project](https://img.shields.io/badge/The_original_project-gray?style=flat-square\u0026logo=GitHub)](https://github.com/rizerphe/poetry-python-downgrader)\n[![Latest release](https://flat.badgen.net/github/release/rizerphe/poetry-python-downgrader-action)](https://github.com/rizerphe/poetry-python-downgrader-action/releases)\n[![License: MIT](https://flat.badgen.net/github/license/rizerphe/poetry-python-downgrader-action)](https://opensource.org/licenses/MIT)\n[![PyPI project](https://flat.badgen.net/pypi/v/poetry-python-downgrader)](https://badge.fury.io/py/poetry-python-downgrader)\n\n## Quickstart\n\n```yaml\n- name: Downgrade Poetry packages\n  uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n  with:\n      python-version: \"3.8\"\n```\n\nThis action will modify `pyproject.toml` in place, making sure it is compatible with Python 3.8.\n\n## Usage\n\nYou can use this tool as a GitHub Action in your workflows. Here's an example of how to use it:\n\n```yaml\n- name: Downgrade Poetry packages\n  uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n  with:\n      python-version: \"3.8\"\n      pyproject-path: \"pyproject.toml\"\n      pin-versions: \"false\"\n      repository: \"https://pypi.org/pypi\"\n```\n\n**Action inputs:**\n\n-   `pyproject-path` (defaults to `pyproject.toml`): The path to the `pyproject.toml` file.\n-   `python-version` (defaults to \"3.6\"): The target Python version to downgrade the dependencies for.\n-   `pin-versions` (defaults to \"false\"): Set to \"true\" to pin package versions exactly instead of using caret ranges.\n-   `repository` (optional, defaults to \"https://pypi.org/pypi\"): The PyPI repository URL to use for querying package information.\n\n### Examples\n\n**Basic usage (downgrade to Python 3.8)**\n\n```yaml\n- uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n  with:\n      python-version: \"3.8\"\n```\n\n**Use in a version matrix**\n\n```yaml\njobs:\n    build:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"pypy3.10\"]\n        steps:\n            - uses: actions/checkout@v2\n            - uses: actions/setup-python@v2\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n              with:\n                  python-version: ${{ matrix.python-version }}\n```\n\nThis action does not support all github actions python versions; it'll just skip the downgrade if it doesn't know how to handle the version.\n\n**Downgrade with pinned versions**\n\n```yaml\n- uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n  with:\n      python-version: \"3.8\"\n      pin-versions: \"true\"\n```\n\n**Use a custom PyPI repository**\n\n```yaml\n- uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n  with:\n      python-version: \"3.8\"\n      repository: \"https://custom-pypi.example.com/pypi\"\n```\n\n**Specify a different pyproject.toml location**\n\n```yaml\n- uses: rizerphe/poetry-python-downgrader-action@v0.1.6\n  with:\n      python-version: \"3.8\"\n      pyproject-path: \"path/to/pyproject.toml\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizerphe%2Fpoetry-python-downgrader-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizerphe%2Fpoetry-python-downgrader-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizerphe%2Fpoetry-python-downgrader-action/lists"}