Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
shabbyrobe committed Mar 12, 2023
1 parent 325983b commit 77962f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import find_packages
from distutils.core import setup

__version__ = "1.24.12"
__version__ = "1.24.12.1"

dependencies = [
'grpcio',
Expand Down
26 changes: 13 additions & 13 deletions tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ script_abspath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Don't forget to update the version in setup.py, commit, tag and
# push tags.
cmd-deploy() {
source venv/bin/activate
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
source venv/bin/activate
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
}

cmd-dev-setup() {
python3 -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
python3 -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
}

cmd-test() {
source venv/bin/activate
source venv/bin/activate

pushd "$script_abspath/grpc-stubs" > /dev/null
mypy -- *.pyi
popd > /dev/null
pushd "$script_abspath/grpc-stubs" > /dev/null
mypy -- *.pyi
popd > /dev/null

# This test setup is based on the instructions here:
# https://sobolevn.me/2019/08/testing-mypy-types
pytest --mypy-ini-file=setup.cfg
# This test setup is based on the instructions here:
# https://sobolevn.me/2019/08/testing-mypy-types
pytest --mypy-ini-file=setup.cfg
}

"cmd-$1" "${@:2}"

0 comments on commit 77962f8

Please sign in to comment.