Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", 3.11]
python-version: ["3.10", 3.11]

steps:
- uses: actions/checkout@main
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies

- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 black pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
# Install package locally to check pip install works properly
pip install -e . --no-deps
pip install poetry
poetry install
# - name: Lint with flake8
# run: flake8 roocs_utils tests
# if: matrix.python-version == 3.6
Expand All @@ -36,7 +36,7 @@ jobs:
# if: matrix.python-version == 3.6
- name: Test with pytest
run: |
python -m pytest -v tests
poetry run pytest
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v4.0.1
# with:
Expand Down
9 changes: 9 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Version History
===============

v2.1.0 (28/10/2024)
-------------------

New Features
^^^^^^^^^^^^

* Updated package dependency management to use poetry
* Updated version get method to use importlib

v2.0.3 (06/02/2024)
-------------------

Expand Down
3 changes: 2 additions & 1 deletion nappy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__version__ = '2.0.3'
from importlib.metadata import version
__version__ = version

from nappy.nappy_api import *
Loading