{"id":5803869,"name":"samuelcolvin/check-python-version","ecosystem":"actions","description":"Check the release tag matches the library version before deploy","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/samuelcolvin/check-python-version","keywords_array":["github-actions","python","version"],"namespace":"samuelcolvin","versions_count":8,"first_release_published_at":"2022-09-23T14:25:53.000Z","latest_release_published_at":"2025-08-09T12:43:58.000Z","latest_release_number":"v5","last_synced_at":"2026-04-10T20:46:01.499Z","created_at":"2023-01-04T14:44:35.710Z","updated_at":"2026-04-10T20:46:01.499Z","registry_url":"https://github.com/samuelcolvin/check-python-version","install_command":null,"documentation_url":null,"metadata":{"name":"Check Python Version","author":"Samuel Colvin \u003cs@muelcolvin.com\u003e","description":"Check the release tag matches the library version before deploy","inputs":{"version_file_path":{"description":"Path to python file containing the version number string","required":true},"version_pattern":{"description":"Custom regular expression to find version with, defaults to `(?i)^(__version__|VERSION) *= *([\\'\"])v?(?P\u003cversion\u003e.+?)\\2`\n","required":false},"test_github_ref":{"description":"Version to check, defaults to using `GITHUB_REF` - this is mostly for testing","required":false},"skip_env_check":{"description":"Set to \"true\" to skip environment variable (e.g. `GITHUB_REF`, or `input.test_github_ref`) check, mostly useful when you want to use outputs in later steps\n","required":false}},"outputs":{"IS_PRERELEASE":{"description":"Either `'true'` or `'false'` whether the version is a pre-release","value":"${{ steps.check-python-version.outputs.IS_PRERELEASE }}"},"VERSION":{"description":"The \"pretty\" version string","value":"${{ steps.check-python-version.outputs.VERSION }}"},"VERSION_MAJOR_MINOR":{"description":"Major and minor version numbers, e.g. `1.2.3` would output `1.2`","value":"${{ steps.check-python-version.outputs.VERSION_MAJOR_MINOR }}"}},"runs":{"using":"composite","steps":[{"uses":"astral-sh/setup-uv@v6","with":{"enable-cache":true,"python-version":3.13}},{"run":"echo \"$GITHUB_ACTION_PATH\" \u003e\u003e $GITHUB_PATH","shell":"bash","env":{"GITHUB_ACTION_PATH":"${{ github.action_path }}"}},{"run":"check-python-version.py","id":"check-python-version","shell":"bash","env":{"INPUT_VERSION_FILE_PATH":"${{ inputs.version_file_path }}","INPUT_VERSION_PATTERN":"${{ inputs.version_pattern }}","INPUT_TEST_GITHUB_REF":"${{ inputs.test_github_ref }}","INPUT_SKIP_ENV_CHECK":"${{ inputs.skip_env_check }}"}}]},"branding":{"icon":"check-circle","color":"orange"},"default_branch":"main","path":null},"repo_metadata":{"id":59989141,"uuid":"540477878","full_name":"samuelcolvin/check-python-version","owner":"samuelcolvin","description":"Check the release tag matches the library version before deploy.","archived":false,"fork":false,"pushed_at":"2025-08-09T12:47:05.000Z","size":46,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-21T00:53:52.634Z","etag":null,"topics":["github-actions","python","version"],"latest_commit_sha":null,"homepage":"","language":"Python","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/samuelcolvin.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":"2022-09-23T14:25:19.000Z","updated_at":"2025-08-19T12:36:48.000Z","dependencies_parsed_at":"2024-10-01T19:19:51.063Z","dependency_job_id":"1d1f9d82-d9a1-407b-b81e-e49b924844b6","html_url":"https://github.com/samuelcolvin/check-python-version","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"8c53eadaf568eec0da6815d0a31b215ac907f5bb"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/samuelcolvin/check-python-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelcolvin","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271410550,"owners_count":24754752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"samuelcolvin","name":"Samuel Colvin","uuid":"4039449","kind":"user","description":"The Pydantic Stack: Pydantic Validation, Pydantic AI and Pydantic Logfire","email":"","website":"https://pydantic.dev/logfire","location":"London, United Kingdom","twitter":"samuel_colvin","company":"@pydantic","icon_url":"https://avatars.githubusercontent.com/u/4039449?u=42eb3b833047c8c4b4f647a031eaef148c16d93f\u0026v=4","repositories_count":294,"last_synced_at":"2025-08-12T10:03:30.323Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/samuelcolvin","funding_links":["https://github.com/sponsors/samuelcolvin"],"total_stars":7045,"followers":5797,"following":47,"created_at":"2022-11-05T13:50:51.563Z","updated_at":"2025-08-12T10:03:30.323Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelcolvin","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelcolvin/repositories"},"tags":[{"name":"v5","sha":"ee87cddb8049d2694cc03badc8569765a05cef00","kind":"commit","published_at":"2025-08-09T12:43:58.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v5","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v5","dependencies_parsed_at":"2025-08-12T05:23:19.266Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v5/manifests"},{"name":"v4.1","sha":"758a13b52c26833cffda0f2ed4f3c9e54d9186d9","kind":"commit","published_at":"2023-07-10T12:01:18.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v4.1","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v4.1","dependencies_parsed_at":"2023-07-12T04:22:27.546Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v4.1/manifests"},{"name":"v4","sha":"ee112e7afa6e57d4ead91bd84904fbfeb8955004","kind":"commit","published_at":"2023-07-03T14:14:33.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v4","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v4","dependencies_parsed_at":"2023-07-05T04:10:24.588Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v4/manifests"},{"name":"v3.2","sha":"8f6ea42ad2d57792012c2ad0bb9d362afd9facdf","kind":"commit","published_at":"2023-04-27T22:37:27.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v3.2","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v3.2","dependencies_parsed_at":"2023-06-02T01:27:16.512Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v3.2/manifests"},{"name":"v3.1","sha":"8c53eadaf568eec0da6815d0a31b215ac907f5bb","kind":"commit","published_at":"2023-01-22T13:25:17.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v3.1","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v3.1","dependencies_parsed_at":"2023-06-02T01:27:16.574Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v3.1/manifests"},{"name":"v3","sha":"36484b388ee65c874df45c7a64f1bcadf62c25ad","kind":"commit","published_at":"2022-09-24T17:20:49.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v3","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v3","dependencies_parsed_at":"2023-06-01T11:20:18.243Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v3/manifests"},{"name":"v2","sha":"2f8e564cbfd544ae2ea5746df0028345e25d6e99","kind":"commit","published_at":"2022-09-24T13:54:12.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v2","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v2","dependencies_parsed_at":"2023-06-01T11:20:18.686Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v2/manifests"},{"name":"v1","sha":"1887907a159fc4f3f6e7aca274d96078b4b03aaf","kind":"commit","published_at":"2022-09-23T14:25:53.000Z","download_url":"https://codeload.github.com/samuelcolvin/check-python-version/tar.gz/v1","html_url":"https://github.com/samuelcolvin/check-python-version/releases/tag/v1","dependencies_parsed_at":"2023-05-31T01:45:52.616Z","dependency_job_id":null,"purl":"pkg:github/samuelcolvin/check-python-version@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/tags/v1/manifests"}]},"repo_metadata_updated_at":"2025-08-21T01:11:51.561Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":16,"rankings":{"downloads":null,"dependent_repos_count":10.1378545396926,"dependent_packages_count":0.0,"stargazers_count":17.54080177467913,"forks_count":35.132308667406114,"docker_downloads_count":null,"average":15.70274124544446},"purl":"pkg:githubactions/samuelcolvin/check-python-version","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/samuelcolvin/check-python-version","docker_dependents_count":1,"docker_downloads_count":5,"usage_url":"https://repos.ecosyste.ms/usage/actions/samuelcolvin/check-python-version","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/samuelcolvin/check-python-version/dependencies","status":null,"funding_links":["https://github.com/sponsors/samuelcolvin"],"critical":null,"issue_metadata":{"last_synced_at":"2025-04-19T19:39:58.137Z","issues_count":1,"pull_requests_count":0,"avg_time_to_close_issue":11823434.0,"avg_time_to_close_pull_request":null,"issues_closed_count":1,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":3.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcheck-python-version/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/samuelcolvin%2Fcheck-python-version/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/samuelcolvin%2Fcheck-python-version/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/samuelcolvin%2Fcheck-python-version/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/samuelcolvin%2Fcheck-python-version/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/samuelcolvin%2Fcheck-python-version/codemeta","maintainers":[]}