Skip to content

Commit

Permalink
bump min version to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Fuchs committed Aug 14, 2023
1 parent 10a63dd commit 0ca6d6b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
FLAIR_CACHE_ROOT: ./cache/flair
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python 3.8
id: setup-python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
- name: Install Flair dependencies
run: pip install -e .
- name: Install unittest dependencies
Expand Down
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ the code should hopefully be easy.

### Setup

Flair requires python-3.7 or higher. To make sure your code also runs on the oldest supported
python version, it is recommended to use python-3.7.x for flair development.
Flair requires python-3.8 or higher. To make sure your code also runs on the oldest supported
python version, it is recommended to use python-3.8.x for flair development.

Create a python environment of your preference and run:
```bash
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ In your favorite virtual environment, simply do:
pip install flair
```

Flair requires Python 3.7+.
Flair requires Python 3.8+.

### Example 1: Tag Entities in Text

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
license="MIT",
install_requires=required,
include_package_data=True,
python_requires=">=3.7",
python_requires=">=3.8",
)

0 comments on commit 0ca6d6b

Please sign in to comment.