diff --git a/.ci/scripts/calc_constraints.py b/.ci/scripts/calc_constraints.py index 2c3ce3c..0f42a09 100755 --- a/.ci/scripts/calc_constraints.py +++ b/.ci/scripts/calc_constraints.py @@ -4,6 +4,15 @@ # './plugin-template --github pulp_maven' to update this file. # # For more info visit https://github.com/pulp/plugin_template +#!/usr/bin/env python +# /// script +# requires-python = ">=3.9" +# dependencies = [ +# "packaging>=26.0,<27", +# "pyyaml>=6.0.3,<6.1", +# "tomli;python_version<'3.11'", +# ] +# /// import argparse import fileinput diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c53b415..9c9f644 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: uvx twine check dist/* - name: "Install built packages" run: | - uv run .ci/scripts/calc_constraints.py -u pyproject.toml > upperbounds_constraints.txt + uv run --script .ci/scripts/calc_constraints.py -u pyproject.toml > upperbounds_constraints.txt # This seems to be the only way to inject the constraints file. uv pip install dist/pulp_maven-*-py3-none-any.whl -c .ci/assets/ci_constraints.txt -c upperbounds_constraints.txt - name: "Generate api specs" diff --git a/.github/workflows/update_ci.yml b/.github/workflows/update_ci.yml index 644a184..7b157e1 100644 --- a/.github/workflows/update_ci.yml +++ b/.github/workflows/update_ci.yml @@ -83,7 +83,7 @@ jobs: with: fetch-depth: 0 path: "pulp_maven" - ref: "0.36" + ref: "0.37" - name: "Run update" working-directory: "pulp_maven" @@ -92,21 +92,21 @@ jobs: - name: "Create Pull Request for CI files" uses: "peter-evans/create-pull-request@v8" - id: "create_pr_0_36" + id: "create_pr_0_37" with: token: "${{ secrets.RELEASE_TOKEN }}" path: "pulp_maven" committer: "pulpbot " author: "pulpbot " - title: "Update CI files for branch 0.36" - branch: "update-ci/0.36" - base: "0.36" + title: "Update CI files for branch 0.37" + branch: "update-ci/0.37" + base: "0.37" delete-branch: true - name: "Mark PR automerge" working-directory: "pulp_maven" run: | - gh pr merge --rebase --auto "${{ steps.create_pr_0_36.outputs.pull-request-number }}" - if: "steps.create_pr_0_36.outputs.pull-request-number" + gh pr merge --rebase --auto "${{ steps.create_pr_0_37.outputs.pull-request-number }}" + if: "steps.create_pr_0_37.outputs.pull-request-number" env: GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" continue-on-error: true diff --git a/pulp_maven/app/__init__.py b/pulp_maven/app/__init__.py index 7e2e37a..16346b0 100644 --- a/pulp_maven/app/__init__.py +++ b/pulp_maven/app/__init__.py @@ -10,7 +10,7 @@ class PulpMavenPluginAppConfig(PulpPluginAppConfig): name = "pulp_maven.app" label = "maven" - version = "0.37.0.dev" + version = "0.38.0.dev" python_package_name = "pulp-maven" domain_compatible = True diff --git a/pyproject.toml b/pyproject.toml index b2581db..ed449fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta' [project] name = "pulp-maven" -version = "0.37.0.dev" +version = "0.38.0.dev" description = "pulp-maven plugin for the Pulp Project" readme = "README.rst" authors = [ @@ -103,7 +103,7 @@ exclude = ''' [tool.bumpversion] # This section is managed by the plugin template. Do not edit manually. -current_version = "0.37.0.dev" +current_version = "0.38.0.dev" commit = false tag = false parse = "(?P\\d+)\\.(?P\\d+)\\.(?P0a)?(?P\\d+)(\\.(?P[a-z]+))?" diff --git a/template_config.yml b/template_config.yml index 2ceedc6..e851217 100644 --- a/template_config.yml +++ b/template_config.yml @@ -23,7 +23,7 @@ disabled_redis_runners: docker_fixtures: false extra_files: [] github_org: "pulp" -latest_release_branch: "0.36" +latest_release_branch: "0.37" lint_ignore: [] lint_requirements: true os_required_packages: []