Skip to content

Commit

Permalink
Bump to Python 3.8 minimum (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
benknoll-umn authored Oct 19, 2023
1 parent f64e100 commit d3aa8c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
max-parallel: 4
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.7', '3.12']
python-version: ['3.8', '3.12']
include:
- java-version: '11'
python-version: '3.7'
- java-version: '20'
python-version: '3.8'
- java-version: '21'
python-version: '3.12'

name: ${{ matrix.os }}, py${{ matrix.python-version }}, java${{ matrix.java-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ components in either Python or Java.

## Requirements
- Operating System: We test on Ubuntu 22.04 and MacOS Big Sur, but other UNIX-like distributions should work.
- [Python 3.7+](https://www.python.org/downloads/) We test on Python 3.7 and the latest stable version of Python.
- [Python 3.8+](https://www.python.org/downloads/) We test on Python 3.8 and the latest stable version of Python.
- Optional: [Java 11+](https://adoptium.net) (_If you want to create Java Processors_) We test on Java 11 and the latest stable version of Java.
- Optional: [Go 13+](https://golang.org) if you want to run the RESTful API Gateway.

Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ requires = [
"setuptools-scm[toml]>=6.2",
"wheel>=0.38.0",
"importlib_resources>=1.3",
"grpcio-tools>=1.48.2,<=1.59.0",
"googleapis-common-protos>=1.3.1,<=1.61.0",
"grpcio-tools>=1.48.2",
"googleapis-common-protos>=1.3.1",
]
build-backend = "setuptools.build_meta"

[project]
name = "mtap"
description = "A framework for distributed text analysis using gRPC and microservices-based architecture."
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"
license = {file = "LICENSE.txt"}
keywords = ["nlp", "grpc"]
authors = [
Expand All @@ -29,7 +29,6 @@ classifiers = [
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -49,7 +48,7 @@ dependencies = [
"pyyaml==6.0.1",
"tqdm>=4.0.0,<=4.66.1",
"googleapis-common-protos>=1.3.1,<=1.61.0",
"importlib-resources==5.12.0",
"importlib-resources>=1.3,<=6.10.0",
]
dynamic = ["version"]

Expand Down

0 comments on commit d3aa8c3

Please sign in to comment.