{"id":11773288,"name":"lfreleng-actions/python-project-version-patch-action","ecosystem":"actions","description":"Replaces/updates the Python project version string","homepage":"","licenses":"other","normalized_licenses":["GPL-1.0+"],"repository_url":"https://github.com/lfreleng-actions/python-project-version-patch-action","keywords_array":["python","versioning"],"namespace":"lfreleng-actions","versions_count":7,"first_release_published_at":"2025-03-19T13:19:55.000Z","latest_release_published_at":"2025-07-15T15:32:31.000Z","latest_release_number":"v0.1.6","last_synced_at":"2026-04-15T13:47:00.879Z","created_at":"2025-06-07T23:26:03.940Z","updated_at":"2026-04-15T13:47:00.879Z","registry_url":"https://github.com/lfreleng-actions/python-project-version-patch-action","install_command":null,"documentation_url":null,"metadata":{"name":"🐍 Patch the Python Project Version","description":"Replaces/updates the Python project version string","inputs":{"replacement_version":{"description":"Replacement project version string","required":true},"path_prefix":{"description":"Directory location containing project code","required":false,"default":"."}},"runs":{"using":"composite","steps":[{"name":"Verify valid directory path","shell":"bash","run":"# Verify valid directory path\nif [ ! -d \"${{ inputs.path_prefix }}\" ]; then\n  echo 'Error: invalid path/prefix to project directory ❌'; exit 1\nfi\n"},{"uses":"lfreleng-actions/path-check-action@aa7dabfa92e50e31a0f091dd3e2741692e8dde07","id":"setup-py","with":{"path":"${{ inputs.path_prefix }}/setup.py"}},{"uses":"lfreleng-actions/path-check-action@aa7dabfa92e50e31a0f091dd3e2741692e8dde07","id":"pyproject-toml","with":{"path":"${{ inputs.path_prefix }}/pyproject.toml"}},{"name":"Patch Python project version: setup.py","id":"patch-version-setup-py","if":"steps.setup-py.outputs.type == 'file'","uses":"lfreleng-actions/file-sed-regex-action@e2c1c94d7936e1ded3e5fa8109416383f472ef7c","with":{"flags":"-i -E","regex":"/^[[:space:]]*version[[:space:]]*=.*$/{ s//version=\"${{ inputs.replacement_version }}\"/; t found; }; $ { b notfound; }; b; :found q0; :notfound q1","path":"${{ inputs.path_prefix }}/setup.py","debug":true}},{"name":"Patch Python project version: pyproject.toml","id":"patch-version-pyproject-toml","if":"steps.pyproject-toml.outputs.type == 'file'","uses":"lfreleng-actions/file-sed-regex-action@e2c1c94d7936e1ded3e5fa8109416383f472ef7c","with":{"flags":"-i -E","regex":"/^version =.*$/{ s//version = \"${{ inputs.replacement_version }}\"/; t found; }; $ { b notfound; }; b; :found q0; :notfound q1","path":"${{ inputs.path_prefix }}/pyproject.toml","debug":true}}]},"default_branch":"main","path":null},"repo_metadata":{"id":283294950,"uuid":"951248000","full_name":"lfreleng-actions/python-project-version-patch-action","owner":"lfreleng-actions","description":"Replaces/update the Python project metadata/version string","archived":false,"fork":false,"pushed_at":"2025-09-15T13:09:30.000Z","size":108,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T15:12:21.461Z","etag":null,"topics":["python","versioning"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfreleng-actions.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-19T11:40:22.000Z","updated_at":"2025-09-15T13:09:26.000Z","dependencies_parsed_at":"2025-04-29T07:31:33.561Z","dependency_job_id":"83aabf07-1213-4dc4-888c-bddb8e412bcd","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action","commit_stats":null,"previous_names":["lfreleng-actions/python-project-version-patch-action"],"tags_count":7,"template":false,"template_full_name":"lfreleng-actions/actions-template","purl":"pkg:github/lfreleng-actions/python-project-version-patch-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfreleng-actions","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275675842,"owners_count":25507834,"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-09-17T02:00:09.119Z","response_time":84,"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":"lfreleng-actions","name":"LF Release Engineering Actions","uuid":"202967442","kind":"organization","description":"GitHub Actions used by LF Release Engineering","email":"releng+gha@linuxfoundation.org","website":"https://docs.releng.linuxfoundation.org/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/202967442?v=4","repositories_count":1,"last_synced_at":"2025-03-12T16:39:35.120Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/lfreleng-actions","funding_links":[],"total_stars":0,"followers":0,"following":0,"created_at":"2025-03-12T16:39:35.144Z","updated_at":"2025-03-12T16:39:35.144Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfreleng-actions","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfreleng-actions/repositories"},"tags":[{"name":"v0.1.6","sha":"72969b8a16d004366948e3e49b250aa0549c56fa","kind":"tag","published_at":"2025-07-15T15:32:31.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.6","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.6","dependencies_parsed_at":"2025-07-18T05:36:11.778Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.6/manifests"},{"name":"v0.1.5","sha":"ac63e8abca76920228327d830113ad781c515bcd","kind":"tag","published_at":"2025-07-15T14:18:42.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.5","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.5","dependencies_parsed_at":"2025-07-18T05:36:11.528Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.5/manifests"},{"name":"v0.1.4","sha":"7b7bfce3c936db8f232afe961e47e8dafcd8bcec","kind":"tag","published_at":"2025-05-26T20:21:35.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.4","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.4","dependencies_parsed_at":"2025-06-09T04:14:29.406Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.4/manifests"},{"name":"v0.1.3","sha":"ff8c1187171dbb476a5c42b044f9e48fb2331929","kind":"tag","published_at":"2025-04-09T02:05:41.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.3","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.3","dependencies_parsed_at":"2025-06-09T04:14:29.461Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"fd141326331d1ec9be63662380b75660cf0e00e7","kind":"tag","published_at":"2025-04-05T02:37:31.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.2","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.2","dependencies_parsed_at":"2025-06-09T04:14:29.475Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"639b0b01baf6e9b699ca469e2cc489704a1217fd","kind":"tag","published_at":"2025-03-28T16:37:14.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.1","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.1","dependencies_parsed_at":"2025-06-09T04:14:29.483Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"37c1be5e5e1923632c568c8227a39a13c644bffe","kind":"commit","published_at":"2025-03-19T13:19:55.000Z","download_url":"https://codeload.github.com/lfreleng-actions/python-project-version-patch-action/tar.gz/v0.1.0","html_url":"https://github.com/lfreleng-actions/python-project-version-patch-action/releases/tag/v0.1.0","dependencies_parsed_at":"2025-06-09T04:14:29.625Z","dependency_job_id":null,"purl":"pkg:github/lfreleng-actions/python-project-version-patch-action@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-12-25T19:13:33.836Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":34.34343434343434,"dependent_packages_count":0.0,"stargazers_count":38.393249262814486,"forks_count":19.085262563523433,"docker_downloads_count":null,"average":22.955486542443065},"purl":"pkg:githubactions/lfreleng-actions/python-project-version-patch-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/lfreleng-actions/python-project-version-patch-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/lfreleng-actions/python-project-version-patch-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/lfreleng-actions/python-project-version-patch-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-16T20:14:08.298Z","issues_count":0,"pull_requests_count":56,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":49003.382978723406,"issues_closed_count":0,"pull_requests_closed_count":47,"pull_request_authors_count":3,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.017857142857142856,"merged_pull_requests_count":46,"bot_issues_count":0,"bot_pull_requests_count":42,"past_year_issues_count":0,"past_year_pull_requests_count":56,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":49003.382978723406,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":47,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.017857142857142856,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":42,"past_year_merged_pull_requests_count":46,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpython-project-version-patch-action/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/lfreleng-actions%2Fpython-project-version-patch-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/lfreleng-actions%2Fpython-project-version-patch-action/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/lfreleng-actions%2Fpython-project-version-patch-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/lfreleng-actions%2Fpython-project-version-patch-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/lfreleng-actions%2Fpython-project-version-patch-action/codemeta","maintainers":[]}