Skip to content

Commit

Permalink
Merge pull request #115 from sphuber/fix/114/update-python-support
Browse files Browse the repository at this point in the history
Package: update Python version support
  • Loading branch information
simleo authored Mar 24, 2022
2 parents 4023b8b + 13e8406 commit aac1df6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: [3.6, 3.7, 3.8]
python-version: ['3.7', '3.8', '3.9', '3.10']

runs-on: ${{ matrix.os }}

Expand Down
3 changes: 3 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ authors:
- family-names: Gaignard
given-names: Alban
orcid: https://orcid.org/0000-0002-3597-8557
- family-names: Huber
given-names: Sebastiaan
orcid: https://orcid.org/0000-0001-5845-8880
- family-names: Leo
given-names: Simone
orcid: https://orcid.org/0000-0001-8271-5429
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ $ pip install --upgrade pip
$ pip install -r requirements.txt
```

You can install ro-crate-py via `python setup.py install` or `pip install ./` In this case, to see the effect of any changes you make to the code, you need to reinstall it. However, **at the moment**, ro-crate-py can be run directly from the source tree (e.g., it does not have any extension modules, nor does it generate any other files during the setup process), so you can speed this up by hacking the venv installation dir (replace "3.6" with the actual Python version you are using):
You can install ro-crate-py via `python setup.py install` or `pip install ./` In this case, to see the effect of any changes you make to the code, you need to reinstall it. However, **at the moment**, ro-crate-py can be run directly from the source tree (e.g., it does not have any extension modules, nor does it generate any other files during the setup process), so you can speed this up by hacking the venv installation dir (replace "3.7" with the actual Python version you are using):

```
ln -sr . venv/lib/python3.6/site-packages/rocrate
ln -sr . venv/lib/python3.7/site-packages/rocrate
```

In this way, any changes to the code will be picked up immediately.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Status: **Alpha**

## Installing

You will need Python 3.6 or later (Recommended: 3.7).
You will need Python 3.7 or later (Recommended: 3.7).

This library is easiest to install using [pip](https://docs.python.org/3/installing/):

Expand Down
1 change: 1 addition & 0 deletions rocrate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
'Bert Droesbeke',
'Ignacio Eguinoa',
'Alban Gaignard',
'Sebastiaan Huber',
'Simone Leo',
'Luca Pireddu',
'Laura Rodríguez-Navas',
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,14 @@
'Bert Droesbeke',
'Ignacio Eguinoa',
'Alban Gaignard',
'Sebastiaan Huber',
'Simone Leo',
'Luca Pireddu',
'Laura Rodríguez-Navas',
'Raül Sirvent',
'Stian Soiland-Reyes'
)),
python_requires='>=3.6',
python_requires='>=3.7',
author_email='stain@apache.org',
package_data={'': ['data/*.jsonld', 'templates/*.j2']},
# SPDX, pending https://github.com/pombredanne/spdx-pypi-pep/pull/2
Expand All @@ -82,9 +83,10 @@
'Intended Audience :: Information Technology',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Archiving',
Expand Down

0 comments on commit aac1df6

Please sign in to comment.