Skip to content

Commit

Permalink
Merge pull request #494 from dimastbk/version-single-source
Browse files Browse the repository at this point in the history
build: single version source
  • Loading branch information
dimastbk authored Sep 30, 2024
2 parents 7172743 + dd3a8d1 commit 919c169
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 28 deletions.
11 changes: 0 additions & 11 deletions .bumpversion.cfg

This file was deleted.

6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# -- Path setup --------------------------------------------------------------

import importlib.metadata

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand All @@ -26,7 +28,7 @@
author = "Jonatan Martens"

# The full version, including alpha/beta/rc tags
release = "4.0.0rc5"
release = importlib.metadata.version(project)

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -61,7 +63,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

version = "4.0.0rc5"
version = importlib.metadata.version(project)

master_doc = "index"

Expand Down
13 changes: 1 addition & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ black = "^24.0.0"
mypy = "^1.10.0"
coveralls = "^3.3.1"
responses = ">=0.23.2,<0.26.0"
bump2version = "^1.0.1"
sphinx-rtd-theme = ">=1.2.2,<3.0.0"
sphinx = ">=6,<8"

Expand Down
2 changes: 0 additions & 2 deletions pyzeebe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
__version__ = "4.0.0rc5"

from pyzeebe import errors
from pyzeebe.channel import *
from pyzeebe.client.client import ZeebeClient
Expand Down

0 comments on commit 919c169

Please sign in to comment.