From 4db169faf843133bab6ee41ac5d15dcbbdf72c37 Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Wed, 21 Feb 2024 17:18:11 +0100 Subject: [PATCH] Release v2.5.6 --- .github/workflows/test.yml | 26 ++++++++++++++------------ CHANGELOG.md | 9 ++++++++- COPYING | 2 +- pronto/__init__.py | 2 +- 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b71fbd5..d76e930 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,14 +31,17 @@ jobs: - python-version: '3.11' python-release: v3.11 python-impl: CPython + - python-version: '3.12' + python-release: v3.12 + python-impl: CPython #- python-version: pypy-3.7 # python-release: v3.7 # python-impl: PyPy steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Update pip @@ -54,7 +57,7 @@ jobs: - name: Combine coverage reports run: python -m coverage combine - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: flags: ${{ matrix.python-impl }},${{ matrix.python-release }},${{ env.OS }} name: test-python-${{ matrix.python-version }} @@ -66,23 +69,22 @@ jobs: if: "startsWith(github.ref, 'refs/tags/v')" runs-on: ubuntu-latest name: Publish Python code + permissions: + id-token: write steps: - name: Checkout code - uses: actions/checkout@v1 - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + uses: actions/checkout@v4 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: 3.12 - name: Install build package run: python -m pip install -U build - name: Build a wheel and source tarball run: python -m build --sdist --wheel --outdir dist - name: Publish distributions to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + if: "startsWith(github.ref, 'refs/tags')" + uses: pypa/gh-action-pypi-publish@release/v1 release: environment: GitHub Releases runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 04849a0..96c4a7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] -[Unreleased]: https://github.com/althonos/pronto/compare/v2.5.5...HEAD +[Unreleased]: https://github.com/althonos/pronto/compare/v2.5.6...HEAD + +## [v2.5.6] - 2024-02-21 +[v2.5.6]: https://github.com/althonos/pronto/compare/v2.5.5...v2.5.6 +### Added +- Explicit support for Python 3.12. +### Fixed +- Synonym types not being properly extracted by RDF/XML parser ([#218](https://github.com/althonos/pronto/issues/218)). ## [v2.5.5] - 2023-08-17 [v2.5.5]: https://github.com/althonos/pronto/compare/v2.5.4...v2.5.5 diff --git a/COPYING b/COPYING index 94678fa..f580a67 100644 --- a/COPYING +++ b/COPYING @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016-2023 Martin Larralde +Copyright (c) 2016-2024 Martin Larralde Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pronto/__init__.py b/pronto/__init__.py index c62fd80..d59c6b5 100644 --- a/pronto/__init__.py +++ b/pronto/__init__.py @@ -60,7 +60,7 @@ __author__ = "Martin Larralde " __license__ = "MIT" -__version__ = "2.5.5" +__version__ = "2.5.6" # Update the docstring with a link to the right version of the documentation # instead of the latest.