diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 970eace..b182fd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,36 +1,28 @@ -name: Run Tests - -on: - push: - branches: - - master - jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12"] + steps: - # Checkout the code - name: Checkout code uses: actions/checkout@v3 - # Set up Python - name: Set up Python uses: actions/setup-python@v4 with: - python-version: ["3.11", "3.12"] + python-version: ${{ matrix.python-version }} - # Install UV - name: Install UV run: | curl -LsSf https://astral.sh/uv/install.sh | sh - # Sync the environment with UV (will create and use .venv) - name: Sync project environment with UV run: | uv sync - # Run the tests using UV - name: Run tests run: | uv run pytest diff --git a/README.rst b/README.rst index 053b0b1..8fefbea 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ Geohexgrid .. image:: https://github.com/araichev/geohexgrid/actions/workflows/run_tests.yml/badge.svg :target: https://github.com/araichev/geohexgrid/actions/workflows/run_tests.yml -A tiny Python 3.9+ library for making geographic flat-top hexagonal grids like QGIS's `create grid function `_. +A tiny Python 3.10+ library for making geographic flat-top hexagonal grids like QGIS's `create grid function `_. That's it. Not designed for making other kinds of grids or `discrete global grid systems `_. @@ -84,6 +84,7 @@ Changes ----------------- - Bugfixed ``make_grid_from_bounds`` in response to `Issue 1 `_. - Switched from Poetry to UV for project management. +- Bumped Python version up to 3.10+. 2.0.0, 2023-11-14 ----------------- diff --git a/pyproject.toml b/pyproject.toml index ac1471a..b185f48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "geohexgrid" version = "2.1.0" description = "A Python library for making geographic flat-top hexagon grids like QGIS's `create grid` function" readme = "README.rst" -requires-python = ">=3.11,<4" +requires-python = ">=3.10" license = "MIT" authors = [ { name = "Alex Raichev", email = "araichev@mrcagney.com" },