Skip to content

Commit

Permalink
Remove 3.7 unit tests
Browse files Browse the repository at this point in the history
This doesn't work with Python 3.7, so we're starting at 3.8...
  • Loading branch information
hsolbrig committed Dec 4, 2020
1 parent 0f72280 commit b0549a6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7, 3.8, 3.9 ]
python-version: [ 3.8, 3.9 ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Install dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CHANGES
=======

* Add github actions for unit test and update
* Update test cases to reflect rdflib 5.0 differences
* Fix issue 12
* bit 'o cleanup'
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/usr/bin/env python
import sys
from logging import warn

from setuptools import setup

if sys.version_info < (3, 8, 0):
warn(f"FunOwl needs python 3.8 or later. Current version: {sys.version_info}")

setup(
setup_requires=['pbr'],
pbr=True,
)
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37 py38 py39
envlist = py38 py39

[testenv]
deps=unittest2
Expand Down

0 comments on commit b0549a6

Please sign in to comment.