feat!: drop Python3.7 support (#4421)

* drop py3.7

* importlib-metadata
This commit is contained in:
ZanSara 2023-04-03 10:34:58 +02:00 committed by GitHub
parent af02803cce
commit c202866093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ dynamic = [
description = "Neural Question Answering & Semantic Search at Scale. Use modern transformer based models like BERT to find answers in large document collections" description = "Neural Question Answering & Semantic Search at Scale. Use modern transformer based models like BERT to find answers in large document collections"
readme = "README.md" readme = "README.md"
license = "Apache-2.0" license = "Apache-2.0"
requires-python = ">=3.7" requires-python = ">=3.8"
authors = [ authors = [
{ name = "deepset.ai", email = "malte.pietsch@deepset.ai" }, { name = "deepset.ai", email = "malte.pietsch@deepset.ai" },
] ]
@ -40,14 +40,12 @@ classifiers = [
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Artificial Intelligence",
] ]
dependencies = [ dependencies = [
"importlib-metadata; python_version < '3.8'",
"requests", "requests",
"pydantic", "pydantic",
"transformers[torch]==4.25.1", "transformers[torch]==4.25.1",