[release] 0.6.29

This commit is contained in:
Maxime Alves LIRMM 2023-12-12 15:03:06 +01:00
parent e083c4386e
commit c855cce013
6 changed files with 591 additions and 624 deletions

View File

@ -6,7 +6,7 @@
# Official language image. Look for the different tagged releases at: # Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/ # https://hub.docker.com/r/library/python/tags/
image: alpine:3.18 image: python:alpine3.18
# Change pip's cache directory to be inside the project directory since we can # Change pip's cache directory to be inside the project directory since we can
# only cache local items. # only cache local items.
@ -33,23 +33,23 @@ stages:
.before_script_template: &test .before_script_template: &test
before_script: before_script:
- apk update && apk add python3 py3-virtualenv py3-pip
- python3 -V # Print out python version for debugging - python3 -V # Print out python version for debugging
- pip3 install pipenv - python3 -m venv /tmp/venv
- pipenv install --dev - /tmp/venv/bin/pip3 install .["tests","pyexcel"]
- /tmp/venv/bin/pip3 install coverage pytest
test: test:
image: alpine:${ALPINEVERSION} image: python:alpine${ALPINEVERSION}
stage: test stage: test
<<: *test <<: *test
parallel: parallel:
matrix: matrix:
- ALPINEVERSION: ["3.13","3.14","3.15","3.16","3.17","3.18"] - ALPINEVERSION: ["3.16", "3.17", "3.18", "3.19"]
script: script:
- pipenv run pytest --version - /tmp/venv/bin/pytest --version
- PYTHONPATH=./tests/ pipenv run coverage run --source halfapi -m pytest - PYTHONPATH=./tests/ /tmp/venv/bin/coverage run --source halfapi -m pytest
- pipenv run coverage xml - /tmp/venv/bin/coverage xml
- pipenv run halfapi --version - /tmp/venv/bin/halfapi --version
artifacts: artifacts:
reports: reports:
@ -60,12 +60,9 @@ test:
build_pypi: build_pypi:
stage: build stage: build
script: script:
- apk update && apk add py3-virtualenv py3-pip
- python3 -V # Print out python version for debugging - python3 -V # Print out python version for debugging
- pip3 install pipenv - python3 -m venv /tmp/venv
- pipenv install --dev - /tmp/venv/bin/pip3 install .
- pipenv run python -m build --sdist
- pipenv run python -m build --wheel
artifacts: artifacts:
paths: paths:
- dist/*.whl - dist/*.whl

View File

@ -1,5 +1,11 @@
# HalfAPI # HalfAPI
## 0.6.29
### Dependencies
Starlette version bumped to 0.33.
## 0.6.28 ## 0.6.28
### Dependencies ### Dependencies

View File

@ -20,7 +20,7 @@ coverage = "*"
[packages] [packages]
click = ">=8,<9" click = ">=8,<9"
starlette = ">=0.31,<0.32" starlette = ">=0.33,<0.34"
uvicorn = ">=0.13,<1" uvicorn = ">=0.13,<1"
orjson = ">=3.8.5,<4" orjson = ">=3.8.5,<4"
pyjwt = ">=2.6.0,<2.7.0" pyjwt = ">=2.6.0,<2.7.0"

1172
Pipfile.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
__version__ = '0.6.28' __version__ = '0.6.29'
def version(): def version():
return f'HalfAPI version:{__version__}' return f'HalfAPI version:{__version__}'

View File

@ -44,7 +44,7 @@ setup(
python_requires=">=3.8", python_requires=">=3.8",
install_requires=[ install_requires=[
"PyJWT>=2.6.0,<2.7.0", "PyJWT>=2.6.0,<2.7.0",
"starlette>=0.31,<0.32", "starlette>=0.33,<0.34",
"click>=8,<9", "click>=8,<9",
"uvicorn>=0.13,<1", "uvicorn>=0.13,<1",
"orjson>=3.8.5,<4", "orjson>=3.8.5,<4",