Skip to content

Commit

Permalink
Fixes the release build error (#63)
Browse files Browse the repository at this point in the history
* Fixes the inconsistency of the default python version
  • Loading branch information
hiwakaba authored May 9, 2023
1 parent 977c3b4 commit ef02790
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 1,761 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pythontypevars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ elif [ "${CI_PYTHON_VERSION}" = "3.9" ]; then
INSTALL_PKG_LIST="git"
INSTALLER_BIN="apt-get"
INSTALL_QUIET_ARG="-qq"
IS_PUBLISHER=0
# NOTE:
# The value of FORCE_PUBLISHER environment MUST be same as CI_PYTHON_VERSION variable.
IS_PUBLISHER=1

elif [ "${CI_PYTHON_VERSION}" = "3.10" ]; then
INSTALL_PKG_LIST="git"
Expand All @@ -77,7 +79,7 @@ elif [ "${CI_PYTHON_VERSION}" = "3.11" ]; then
INSTALL_PKG_LIST="git"
INSTALLER_BIN="apt-get"
INSTALL_QUIET_ARG="-qq"
IS_PUBLISHER=1
IS_PUBLISHER=0
fi

#---------------------------------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

1.0.5 (2023-05-09)
-------------------

* Fixes the inconsistency of the default python version
* Updates the versions of dependent packages

1.0.4 (2023-05-09)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ init:
python3 -m pip install --upgrade pipenv
pipenv install --dev --skip-lock
pipenv graph
pipenv check
pipenv check --use-installed

# Lint code and docs
# lint fails if there are syntax errors or undefined names.
Expand Down
36 changes: 16 additions & 20 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,24 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
coverage = "*"
xmlrunner = "*"
flake8 = "*"
flake8-docstrings = "*"
pep8-naming = "*"
pycodestyle = "*"
mccabe = "*"
sphinx = "*"
twine = "*"
pylint = "*"
astroid = "*"
typed-ast = "*"
mypy = "*"
importlib-metadata = {version = ">=3.6"}
"collective.checkdocs" = "*"
argh = "*"
watchdog = "*"
build = ">=0.10.0"
"collective.checkdocs" = ">=0.2"
coverage = ">=7.2.5"
flake8-docstrings = ">=1.7.0"
mypy = ">=1.2.0"
"oslo.messaging" = ">=14.2.0"
pep8-naming = ">=0.13.3"
pylint = ">=2.17.4"
sphinx = ">=7.0.0"
twine = ">=4.0.2"
typed-ast = ">=1.5.4"
watchdog = ">=3.0.0"
xmlrunner = ">=1.7.7"

[packages]
"oslo-config" = "*"
"oslo.messaging" = "*"
build = "*"
build = ">=0.10.0"
"oslo.config" = ">=9.1.1"
"oslo.messaging" = ">=14.2.0"

#
# Local variables:
Expand Down
1,736 changes: 0 additions & 1,736 deletions Pipfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion k2hr3_osnl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'version',
]
__author__ = 'Hirotaka Wakabayashi <hiwakaba@yahoo-corp.jp>'
__version__ = '1.0.4'
__version__ = '1.0.5'

import argparse
import logging
Expand Down
2 changes: 1 addition & 1 deletion python-k2hr3-osnl.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global srcname k2hr3_osnl
%global pypi_name k2hr3-osnl
Name: python-k2hr3-osnl
Version: 1.0.4
Version: 1.0.5
Release: %autorelease
Summary: An OpenStack notification listener for K2HR3

Expand Down

0 comments on commit ef02790

Please sign in to comment.