Skip to content

Commit

Permalink
fix: do not use PBR to get version
Browse files Browse the repository at this point in the history
Since we have moved to Poetry, and we are using release-please in GH, we
do not need to use anymore pbr, but rather rely on the versions that are
change by the GH action.

Fixes #153
  • Loading branch information
alvarolopez committed Jun 7, 2024
1 parent b372ff6 commit dcffeef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
4 changes: 1 addition & 3 deletions deepaas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@
# License for the specific language governing permissions and limitations
# under the License.

from deepaas import version

__version__ = version.release_string
__version__ = "2.3.2"
22 changes: 0 additions & 22 deletions deepaas/version.py

This file was deleted.

6 changes: 3 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import os
import sys

from deepaas import version
import deepaas

# 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
Expand Down Expand Up @@ -68,9 +68,9 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = version.release_string
release = deepaas.__version__
# The short X.Y version.
version = version.release_string
version = deepaas.__version__

# A list of glob-style patterns that should be excluded when looking for
# source files. They are matched against the source file names relative to the
Expand Down

0 comments on commit dcffeef

Please sign in to comment.