[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:
# 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
# only cache local items.
@ -33,23 +33,23 @@ stages:
.before_script_template: &test
before_script:
- apk update && apk add python3 py3-virtualenv py3-pip
- python3 -V # Print out python version for debugging
- pip3 install pipenv
- pipenv install --dev
- python3 -m venv /tmp/venv
- /tmp/venv/bin/pip3 install .["tests","pyexcel"]
- /tmp/venv/bin/pip3 install coverage pytest
test:
image: alpine:${ALPINEVERSION}
image: python:alpine${ALPINEVERSION}
stage: test
<<: *test
parallel:
matrix:
- ALPINEVERSION: ["3.13","3.14","3.15","3.16","3.17","3.18"]
- ALPINEVERSION: ["3.16", "3.17", "3.18", "3.19"]
script:
- pipenv run pytest --version
- PYTHONPATH=./tests/ pipenv run coverage run --source halfapi -m pytest
- pipenv run coverage xml
- pipenv run halfapi --version
- /tmp/venv/bin/pytest --version
- PYTHONPATH=./tests/ /tmp/venv/bin/coverage run --source halfapi -m pytest
- /tmp/venv/bin/coverage xml
- /tmp/venv/bin/halfapi --version
artifacts:
reports:
@ -60,19 +60,16 @@ test:
build_pypi:
stage: build
script:
- apk update && apk add py3-virtualenv py3-pip
- python3 -V # Print out python version for debugging
- pip3 install pipenv
- pipenv install --dev
- pipenv run python -m build --sdist
- pipenv run python -m build --wheel
- python3 -m venv /tmp/venv
- /tmp/venv/bin/pip3 install .
artifacts:
paths:
- dist/*.whl
rules:
- if: '$CI_COMMIT_TAG != ""'
variables:
TAG: $CI_COMMIT_TAG
TAG: $CI_COMMIT_TAG
build_container:
rules:
@ -80,7 +77,7 @@ build_container:
variables:
IMGTAG: $CI_COMMIT_TAG
- if: '$CI_COMMIT_REF_NAME == "devel"'
variables:
variables:
IMGTAG: "latest"
stage: build
image: $CI_REGISTRY/devtools/kaniko

View File

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

View File

@ -20,7 +20,7 @@ coverage = "*"
[packages]
click = ">=8,<9"
starlette = ">=0.31,<0.32"
starlette = ">=0.33,<0.34"
uvicorn = ">=0.13,<1"
orjson = ">=3.8.5,<4"
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
__version__ = '0.6.28'
__version__ = '0.6.29'
def version():
return f'HalfAPI version:{__version__}'

View File

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