Skip to content

Commit

Permalink
chore(CI/CD): bump version 0.7.3 -> 0.7.4 (#451)
Browse files Browse the repository at this point in the history
* chore(CI/CD): bump version 0.7.3 -> 0.7.4

* docs: update CHANGELOG.md

* ci: add new manual tests for lowest possible dependencies

---------

Co-authored-by: Kamil Raczycki <raczyckikamil@gmail.com>
  • Loading branch information
kraina-cicd and RaczeQ authored May 5, 2024
1 parent 68eea1f commit 5622aa2
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 38 deletions.
99 changes: 66 additions & 33 deletions .github/workflows/manual_tests.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,69 @@
name: "Run tests with newest dependencies"
name: "Run tests with newest and oldest dependencies"
on: [workflow_dispatch, workflow_call]

jobs:
run-tests:
name: Run tests 🛠️ on multiple systems 🖥️ and Python 🐍 versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.12"
- os: macos-13
python-version: "3.12"
- os: windows-latest
python-version: "3.12"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pdm
run: pip install pdm
- name: Generate lock with newest dependencies
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform -dG:all
- name: Install srai and tests dependencies
run: pdm install --lockfile pdm.newest.lock -dG:all
- name: Run tests with pytest
run: pdm run pytest -v --durations=20 tests
run-tests-newest:
name: Run tests 🛠️ on multiple systems 🖥️ and Python 🐍 versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.12"
- os: macos-13
python-version: "3.12"
- os: windows-latest
python-version: "3.12"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pdm
run: pip install pdm
- name: Generate lock with newest dependencies
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform -dG:all
- name: Install srai and tests dependencies
run: pdm install --lockfile pdm.newest.lock -dG:all
- name: Run tests with pytest
run: pdm run pytest -v --durations=20 tests

run-tests-oldest:
name: Run tests 🛠️ on multiple systems 🖥️ and Python 🐍 versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.12"
- os: macos-13
python-version: "3.12"
- os: windows-latest
python-version: "3.12"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pdm
run: pip install pdm
- name: Generate lock with oldest dependencies
run: pdm lock --lockfile pdm.oldest.lock --strategy no_cross_platform,direct_minimal_versions -dG:all
- name: Install srai and tests dependencies
run: pdm install --lockfile pdm.oldest.lock -dG:all
- name: Run tests with pytest
run: pdm run pytest -v --durations=20 tests
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.7.4] - 2024-05-05

### Added

- Support for Python 3.12 after upgrading QuackOSM to `0.7.0` and DuckDB to `0.10.2`
Expand Down Expand Up @@ -274,7 +276,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Intersection Joiner
- Geoparquet Loader

[Unreleased]: https://github.com/kraina-ai/srai/compare/0.7.3...HEAD
[Unreleased]: https://github.com/kraina-ai/srai/compare/0.7.4...HEAD

[0.7.4]: https://github.com/kraina-ai/srai/compare/0.7.3...0.7.4

[0.7.3]: https://github.com/kraina-ai/srai/compare/0.7.2...0.7.3

Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ keywords:
- geospatial
- spatial-analysis
license: Apache-2.0
version: 0.7.3
version: 0.7.4
date-released: '2022-11-23'
preferred-citation:
type: conference-paper
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "srai"
version = "0.7.3"
version = "0.7.4"
description = "A set of python modules for geospatial machine learning and data mining"
authors = [
{ name = "Piotr Gramacki", email = "pgramacki@kraina.ai" },
Expand Down Expand Up @@ -192,7 +192,7 @@ close-quotes-on-newline = true
wrap-one-line = true

[tool.bumpver]
current_version = "0.7.3"
current_version = "0.7.4"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "chore(CI/CD): bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion srai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
for complete documentation.
"""

__version__ = "0.7.3"
__version__ = "0.7.4"

0 comments on commit 5622aa2

Please sign in to comment.