Skip to content

Commit

Permalink
chore(CI/CD): bump version 0.6.1 -> 0.7.0 (#83)
Browse files Browse the repository at this point in the history
* chore(CI/CD): bump version 0.6.1 -> 0.7.0

* docs: update CHANGELOG.md

* chore: update test_big_file.py

* ci: update manual_tests.yml

---------

Co-authored-by: Kamil Raczycki <raczyckikamil@gmail.com>
  • Loading branch information
kraina-cicd and RaczeQ committed Apr 25, 2024
1 parent 087d021 commit e151c91
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/manual_tests.yml
Expand Up @@ -31,14 +31,22 @@ jobs:
run: |
$CONDA/bin/conda install -c conda-forge gdal
$CONDA/bin/ogr2ogr --version
- name: Install GDAL (macos)
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
- name: Install GDAL (macos arm)
if: matrix.os == 'macos-latest'
run: |
CONDA=$HOME/miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
bash Miniconda3-latest-MacOSX-arm64.sh -b -p $CONDA
$CONDA/bin/conda install -c conda-forge gdal
$CONDA/bin/ogr2ogr --version
- name: Install GDAL (macos x86)
if: matrix.os == 'macos-13'
run: |
CONDA=$HOME/miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh -b -p $CONDA
$CONDA/bin/conda install -c conda-forge gdal
$CONDA/bin/ogr2ogr --version
- name: Install GDAL (windows)
if: matrix.os == 'windows-latest'
run: |
Expand Down Expand Up @@ -71,6 +79,7 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
$env:Path = "$env:CONDA\Library\bin;" + $env:Path
$env:PYTHONIOENCODING = "utf-8"
pdm run pytest -v -s --durations=20 --doctest-modules --doctest-continue-on-failure quackosm
pdm run pytest -v -s --durations=20 tests/base
pdm run pytest -v -s --durations=20 tests/optional_imports
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.7.0] - 2024-04-24

### Added

- Transient mode of reporting progress with output being removed after operation [#77](https://github.com/kraina-ai/quackosm/issues/77)
Expand All @@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactored internal Rich progress reporting process
- Replaced `silent_mode` parameter with `verbosity_mode` argument
- Changed default `OSMExtractSource` value from `any` to `Geofabrik`
- Modified OpenStreetMap_fr scraping process with better progress bar UI
- Modified OpenStreetMap\_fr scraping process with better progress bar UI

### Removed

Expand Down Expand Up @@ -208,7 +210,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Created QuackOSM repository
- Implemented PbfFileReader

[Unreleased]: https://github.com/kraina-ai/quackosm/compare/0.6.1...HEAD
[Unreleased]: https://github.com/kraina-ai/quackosm/compare/0.7.0...HEAD

[0.7.0]: https://github.com/kraina-ai/quackosm/compare/0.6.1...0.7.0

[0.6.1]: https://github.com/kraina-ai/quackosm/compare/0.6.0...0.6.1

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "QuackOSM"
version = "0.6.1"
version = "0.7.0"
description = "An open-source tool for reading OpenStreetMap PBF files using DuckDB"
authors = [{ name = "Kamil Raczycki", email = "kraczycki@kraina.ai" }]
dependencies = [
Expand Down Expand Up @@ -174,7 +174,7 @@ close-quotes-on-newline = true
wrap-one-line = true

[tool.bumpver]
current_version = "0.6.1"
current_version = "0.7.0"
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 quackosm/__init__.py
Expand Up @@ -14,7 +14,7 @@
from quackosm.pbf_file_reader import PbfFileReader

__app_name__ = "QuackOSM"
__version__ = "0.6.1"
__version__ = "0.7.0"

__all__ = [
"PbfFileReader",
Expand Down
2 changes: 1 addition & 1 deletion tests/benchmark/test_big_file.py
Expand Up @@ -20,7 +20,7 @@ def test_big_file(extract_name: str) -> None:
f"https://download.geofabrik.de/europe/{extract_name}-latest.osm.pbf", str(file_name)
)

reader = PbfFileReader(working_directory=files_dir)
reader = PbfFileReader(working_directory=files_dir, verbosity_mode="verbose")
# Reset rows_per_group value to test automatic downscaling
reader.rows_per_group = PbfFileReader.ROWS_PER_GROUP_MEMORY_CONFIG[24]
reader.convert_pbf_to_gpq(pbf_path=file_name, ignore_cache=True)

0 comments on commit e151c91

Please sign in to comment.