diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2331ca7..4b1c3ee0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,9 +10,9 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.13 - name: Install requirements - run: pip install tox twine -r requirements.txt -r test-requirements.txt + run: pip install -r requirements.txt -r test-requirements.txt # Open-api-generator is broken. To be updated when upgrading # - name: test # run: tox @@ -37,9 +37,9 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.13 - name: Install ci requirements - run: pip install -r ci-requirements.txt + run: pip install -r requirements.txt - name: Release run: | git config --global user.email "infra@bimdata.io" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index f52cbd6b..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,24 +0,0 @@ -# ref: https://docs.gitlab.com/ee/ci/README.html - -stages: - - test - -.tests: - stage: test - script: - - pip install -r requirements.txt - - pip install -r test-requirements.txt - - pytest --cov=bimdata-api-client - -test-3.6: - extends: .tests - image: python:3.6-alpine -test-3.7: - extends: .tests - image: python:3.7-alpine -test-3.8: - extends: .tests - image: python:3.8-alpine -test-3.9: - extends: .tests - image: python:3.9-alpine diff --git a/ci-requirements.txt b/ci-requirements.txt deleted file mode 100644 index bef03142..00000000 --- a/ci-requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -python-semantic-release==9.14.0 -twine==5.1.1 diff --git a/requirements.txt b/requirements.txt index 96947f60..914aed7f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,6 @@ -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.25.3 +python_dateutil >= 2.9.0 +setuptools >= 79.0.1 +urllib3 >= 2.4.0 +python-semantic-release==9.21.0 +twine>=6.1.0 +tox>=4.25.0 diff --git a/test-requirements.txt b/test-requirements.txt index bb4f22bb..9d986c86 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1 @@ -pytest-cov>=2.8.1 +pytest-cov>=6.1.1