Skip to content

Commit

Permalink
New version 0.3.0, dropping support for Python <= 3.7
Browse files Browse the repository at this point in the history
Python 3.7 and earlier reached EOL earlier this year, and many
tools/libraries have stopped supporting those runtimes. Continuing to
support an old runtime will be near impossible due to dependency hell.
It is therefore only wise to follow suit.

Dependencies have been upgraded, but no other changes were required in
this project; API and ABI compatibility is maintained in this version.
Most of the changes were in the key dependency `eds4jinja2`, so all
benefits have been derived transitively.

Like `eds4jinja2`, Python versions 3.8 and 3.11 are supported and tested
for. Unlike `eds4jinja2`, support for Windows and Mac OS cannot be
tested due to unavailability of or problems with `docker{-compose}` on
those platforms. Cross-platform commitment for this project therefore
remains informal.

Additionally, license has been changed from GPL to Apache.

References:
- actions/runner#904
- actions/runner-images#17 (comment)
  • Loading branch information
schivmeister committed Oct 30, 2023
1 parent da037a8 commit d37ad79
Show file tree
Hide file tree
Showing 8 changed files with 235 additions and 710 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Check out
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@master
uses: actions/setup-python@v4
with:
python-version: 3.6
python-version: 3.11

- name: Run additional services (Fuseki)
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
run: make test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
Expand All @@ -45,4 +45,4 @@ jobs:
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PIPY_USER_TOKEN }}
run: make publish-pipy
run: make publish-pipy
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@ on:

jobs:
main:
name: main
name: pytest
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.11]
os: [ ubuntu-latest ]

steps:
- name: Check out
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@master
uses: actions/setup-python@v4
with:
python-version: 3.6
python-version: ${{ matrix.python-version }}

- name: Run additional services (Fuseki)
- name: Run required services (Fuseki)
run: |
make fuseki-create-test-dbs
Expand All @@ -40,7 +41,7 @@ jobs:
make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
Expand Down
875 changes: 201 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ You are more than welcome to help expand and mature this project. We adhere to [
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the maintainers of this repository before making a change.

## Licence
This project is licensed under [GNU GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html) licence. v3](https://www.gnu.org/licenses/gpl-3.0.en.html)
This project is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) licence. v3](https://www.gnu.org/licenses/gpl-3.0.en.html)
4 changes: 2 additions & 2 deletions fingerprint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

__docformat__ = "restructuredtext en"

__version__ = "0.2.11"
__date__ = "2022-02-02"
__version__ = "0.3.0"
__date__ = "2023-10-20"

logging.config.fileConfig('logging.conf')
23 changes: 11 additions & 12 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# Testing Dependencies
pytest
coverage
pytest-cov
pytest-bdd==4.1.0
beautifulsoup4==4.9.3 # https://www.crummy.com/software/BeautifulSoup/bs4/doc/
pytest~=7.4.2
coverage~=7.3.2
pytest-cov~=4.1.0
pytest-bdd~=7.0.0
beautifulsoup4~=4.12.2

# Linting dependencies
flake8
flake8~=6.1.0

# Documentation Dependencies
sphinx
recommonmark
sphinx~=7.1.2
recommonmark~=0.7.1

# pipy publishing
twine
setuptools
wheel

twine~=4.0.2
setuptools~=68.2.2
wheel~=0.41.2
13 changes: 6 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
eds4jinja2
Click
pathlib
rdflib
sparqlwrapper

importlib-resources==5.4.0
eds4jinja2~=0.2.0
click~=8.1.7
pathlib~=1.0.1
rdflib~=7.0.0
SPARQLWrapper~=2.0.0
importlib-resources~=6.1.0
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ def find_version(filename):
keywords='rdf, application profile, data shape, statistics, fingerprint, sparql, linked-data',
packages=packages,
# exclude=["tests", "test_*"],
license='Apache License 2.0'
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: Information Analysis",
Expand Down

0 comments on commit d37ad79

Please sign in to comment.