Skip to content

Commit

Permalink
Bump version to 0.1.0.dev
Browse files Browse the repository at this point in the history
Also declares compatibility with pulpcore 3.70+

This required modifying one of the tests for Remotes. The bindings now throw an exception
instead of the server.
  • Loading branch information
dkliban committed Feb 14, 2025
1 parent b2cbb16 commit 25360f5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = "0.1.0a5.dev"
version = "0.1.0.dev"
# The full version, including alpha/beta/rc tags.
release = "0.1.0a5.dev"
release = "0.1.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_npm/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ class PulpNpmPluginAppConfig(PulpPluginAppConfig):

name = "pulp_npm.app"
label = "npm"
version = "0.1.0a5.dev"
version = "0.1.0.dev"
python_package_name = "pulp-npm"
domain_compatible = True
4 changes: 1 addition & 3 deletions pulp_npm/tests/functional/api/test_crud_remotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,8 @@ def test_invalid_remote_policy(npm_remote_factory, npm_bindings):
Verify the policy remains the same.
"""
remote = npm_remote_factory()
with pytest.raises(ApiException) as exp:
with pytest.raises(Exception):
npm_bindings.RemotesNpmApi.partial_update(remote.pulp_href, {"policy": str(uuid.uuid4())})

assert exp.value.status == 400

remote = npm_bindings.RemotesNpmApi.read(remote.pulp_href)
assert remote.policy == "immediate"
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = "pulp-npm"
version = "0.1.0a5.dev"
version = "0.1.0.dev"
description = "pulp-npm plugin for the Pulp Project"
readme = "README.md"
authors = [
Expand All @@ -24,7 +24,7 @@ classifiers=[
]
requires-python = ">=3.6"
dependencies = [
"pulpcore>=3.44,<3.70",
"pulpcore>=3.44,<3.85",
]

[project.urls]
Expand Down Expand Up @@ -83,7 +83,7 @@ exclude = '''
[tool.bumpversion]
# This section is managed by the plugin template. Do not edit manually.

current_version = "0.1.0a5.dev"
current_version = "0.1.0.dev"
commit = false
tag = false
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
Expand Down Expand Up @@ -127,4 +127,4 @@ replace = "version = \"{new_version}\""

filename = "./pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
replace = "version = \"{new_version}\""

0 comments on commit 25360f5

Please sign in to comment.