Skip to content

Commit

Permalink
Bump minor version
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot authored and lubosmj committed Jul 22, 2024
1 parent 35c6dee commit cd7e960
Show file tree
Hide file tree
Showing 24 changed files with 21 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.21.0.dev
current_version = 2.22.0.dev
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+))?
Expand Down
7 changes: 5 additions & 2 deletions .ci/ansible/Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ ADD ./{{ item.name }} ./{{ item.name }}
# S3 botocore needs to be patched to handle responses from minio during 0-byte uploads
# Hacking botocore (https://github.com/boto/botocore/pull/1990)

RUN pip3 install
RUN pip3 install --upgrade pip setuptools wheel && \
rm -rf /root/.cache/pip && \
pip3 install
{%- if s3_test | default(false) -%}
{{ " " }}git+https://github.com/gerrod3/botocore.git@fix-100-continue
{%- endif -%}
Expand All @@ -25,7 +27,8 @@ RUN pip3 install
{{ " " }}-r ./{{ item.name }}/ci_requirements.txt
{%- endif -%}
{%- endfor %}
{{ " " }}-c ./{{ plugins[0].name }}/.ci/assets/ci_constraints.txt
{{ " " }}-c ./{{ plugins[0].name }}/.ci/assets/ci_constraints.txt && \
rm -rf /root/.cache/pip

{% if pulp_env is defined and pulp_env %}
{% for key, value in pulp_env.items() %}
Expand Down
2 changes: 2 additions & 0 deletions .ci/scripts/calc_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def to_upper_bound(req):
max_version = f"{version.major}.{version.minor}.{version.micro-1}"
elif version.minor != 0:
max_version = f"{version.major}.{version.minor-1}"
elif version.major != 0:
max_version = f"{version.major-1}.0"
else:
return f"# NO BETTER CONSTRAINT: {req}"
return f"{requirement.name}{operator}{max_version}"
Expand Down
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-354-g82d22de
2021.08.26-361-gcd6f9f0
4 changes: 1 addition & 3 deletions .github/workflows/scripts/build_python_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../..
pushd ../pulp-openapi-generator
rm -rf "pulp_container-client"

# We need to copy that over to be visible in the container.
cp "../pulp_container/container-api.json" .
./gen-client.sh "container-api.json" "container" python "pulp_container"
./gen-client.sh "../pulp_container/container-api.json" "container" python "pulp_container"

pushd pulp_container-client
python setup.py sdist bdist_wheel --python-tag py3
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/scripts/build_ruby_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../..
pushd ../pulp-openapi-generator
rm -rf "pulp_container-client"

# We need to copy that over to be visible in the container.
#cp "../pulp_container/container-api.json" .
#./gen-client.sh "container-api.json" "container" ruby "pulp_container"

# -------------
# The generator still needs to have it called api.json at this time...
cp "../pulp_container/api.json" .
./gen-client.sh "api.json" "container" ruby "pulp_container"
# -------------
./gen-client.sh "../pulp_container/container-api.json" "container" ruby "pulp_container"

pushd pulp_container-client
gem build pulp_container_client
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
with:
fetch-depth: 0
path: "pulp_container"
ref: "2.20"
ref: "2.21"

- name: "Run update"
working-directory: "pulp_container"
Expand All @@ -88,10 +88,10 @@ jobs:
path: "pulp_container"
committer: "pulpbot <[email protected]>"
author: "pulpbot <[email protected]>"
title: "Update CI files for branch 2.20"
title: "Update CI files for branch 2.21"
body: ""
branch: "update-ci/2.20"
base: "2.20"
branch: "update-ci/2.21"
base: "2.21"
commit-message: |
Update CI files
Expand Down
2 changes: 0 additions & 2 deletions CHANGES/1347.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/1493.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/1499.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/1550.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/1602.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/1607.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/1623.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/1624.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/1648.feature

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/1651.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/1657.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/1681.misc

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/459.feature

This file was deleted.

4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
# built documents.
#
# The short X.Y version.
version = "2.21.0.dev"
version = "2.22.0.dev"
# The full version, including alpha/beta/rc tags.
release = "2.21.0.dev"
release = "2.22.0.dev"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pulp_container/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PulpContainerPluginAppConfig(PulpPluginAppConfig):

name = "pulp_container.app"
label = "container"
version = "2.21.0.dev"
version = "2.22.0.dev"
python_package_name = "pulp-container"

def ready(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="pulp-container",
version="2.21.0.dev",
version="2.22.0.dev",
description="Container plugin for the Pulp Project",
long_description=long_description,
license="GPLv2+",
Expand Down
4 changes: 2 additions & 2 deletions template_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This config represents the latest values used when running the plugin-template. Any settings that
# were not present before running plugin-template have been added with their default values.

# generated with [email protected]354-g82d22de
# generated with [email protected]361-gcd6f9f0

api_root: /pulp/
black: true
Expand All @@ -28,7 +28,7 @@ flake8_ignore: []
github_org: pulp
issue_tracker: github
kanban: true
latest_release_branch: '2.20'
latest_release_branch: '2.21'
lint_requirements: true
noissue_marker: '[noissue]'
os_required_packages: []
Expand Down

0 comments on commit cd7e960

Please sign in to comment.