diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5826d1b58..2467505a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.11" + python-version: "3.14" - name: "Install python dependencies" run: | pip install build setuptools wheel diff --git a/.github/workflows/collect_changes.yml b/.github/workflows/collect_changes.yml index 04caafe9a..b5f86ef2e 100644 --- a/.github/workflows/collect_changes.yml +++ b/.github/workflows/collect_changes.yml @@ -14,7 +14,7 @@ jobs: fetch-depth: 0 - uses: "actions/setup-python@v5" with: - python-version: "3.11" + python-version: "3.x" - name: "Setup git" run: | git config user.name pulpbot diff --git a/.github/workflows/cookiecutter.yml b/.github/workflows/cookiecutter.yml index 96546b8ee..62151f8a9 100644 --- a/.github/workflows/cookiecutter.yml +++ b/.github/workflows/cookiecutter.yml @@ -22,7 +22,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.11" + python-version: "3.x" - name: "Setup git" run: | git config user.name pulpbot diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ec4f4bfb0..11a84e3f7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: matrix: python: - "3.11" - - "3.13" + - "3.14" steps: - uses: "actions/checkout@v4" - uses: "actions/cache@v4" diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 43f2bb6f2..49b5c34b9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -36,7 +36,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.11" + python-version: "3.x" - name: "Install python dependencies" run: | pip install toml pygithub diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index ef9c6ff8f..bdb93d434 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - uses: "actions/setup-python@v5" with: - python-version: "3.12" + python-version: "3.x" - name: "Determine PR labels" run: | pip install GitPython==3.1.42 diff --git a/.github/workflows/release_branch.yml b/.github/workflows/release_branch.yml index 9d23a4730..41138f5ee 100644 --- a/.github/workflows/release_branch.yml +++ b/.github/workflows/release_branch.yml @@ -13,7 +13,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.11" + python-version: "3.x" - name: "Setup git" run: | git config user.name pulpbot diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87ef298b6..7cc84993c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.12" + python-version: "3.14" - name: "Install Python Test Dependencies" run: | pip install dist/pulp_cli-*.whl pulp-glue/dist/pulp_glue-*.whl -r test_requirements.txt @@ -59,7 +59,7 @@ jobs: - image_tag: "3.63" pulp_https: "true" pulp_oauth2: "true" - python: "3.10" + python: "3.14" - image_tag: "3.49" pulp_https: "true" python: "3.10" diff --git a/pulp-glue/pyproject.toml b/pulp-glue/pyproject.toml index 4056934a1..d95c87b4a 100644 --- a/pulp-glue/pyproject.toml +++ b/pulp-glue/pyproject.toml @@ -7,7 +7,7 @@ name = "pulp-glue" version = "0.33.1.dev" description = "Version agnostic glue library to talk to pulpcore's REST API." readme = "README.md" -requires-python = ">=3.9,<3.14" +requires-python = ">=3.9,<3.15" license = {text = "GPLv2+"} authors = [ {name = "Pulp Team", email = "pulp-list@redhat.com"}, diff --git a/pulp_cli/generic.py b/pulp_cli/generic.py index 8a4fd91cb..cff5af3b0 100644 --- a/pulp_cli/generic.py +++ b/pulp_cli/generic.py @@ -649,7 +649,8 @@ def load_labels_callback( def create_content_json_callback( - context_class: t.Optional[t.Type[PulpContentContext]] = None, schema: s.Schema = None + context_class: t.Optional[t.Type[PulpContentContext]] = None, + schema: t.Optional[s.Schema] = None, ) -> t.Any: @load_file_wrapper def _callback( diff --git a/pyproject.toml b/pyproject.toml index 3bbbb9f9d..c476dc4d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pulp-cli" version = "0.33.1.dev" description = "Command line interface to talk to pulpcore's REST API." readme = "README.md" -requires-python = ">=3.9,<3.14" +requires-python = ">=3.9,<3.15" license = {text = "GPLv2+"} authors = [ {name = "Pulp Team", email = "pulp-list@redhat.com"},