Skip to content
Snippets Groups Projects
Commit 2a1d19ae authored by Yoann Schneider's avatar Yoann Schneider :tennis: Committed by Bastien Abadie
Browse files

Support and test python 3.10

parent 0929d28f
No related branches found
No related tags found
1 merge request!115Support and test python 3.10
Pipeline #141168 passed
...@@ -4,7 +4,7 @@ stages: ...@@ -4,7 +4,7 @@ stages:
- release - release
test: test:
image: python:3.8 image: python:3.10
stage: test stage: test
cache: cache:
...@@ -24,7 +24,7 @@ test: ...@@ -24,7 +24,7 @@ test:
- tox - tox
lint: lint:
image: python:3.8 image: python:3.10
stage: test stage: test
cache: cache:
...@@ -62,7 +62,7 @@ docker-build: ...@@ -62,7 +62,7 @@ docker-build:
deploy-models: deploy-models:
stage: release stage: release
image: python:3.8 image: python:3.10
only: only:
- main - main
...@@ -78,7 +78,7 @@ deploy-models: ...@@ -78,7 +78,7 @@ deploy-models:
deploy-pypi: deploy-pypi:
stage: release stage: release
image: python:3.8 image: python:3.10
only: only:
- tags - tags
...@@ -96,7 +96,7 @@ deploy-pypi: ...@@ -96,7 +96,7 @@ deploy-pypi:
release-notes: release-notes:
stage: release stage: release
image: registry.gitlab.com/teklia/devops:latest image: registry.gitlab.teklia.com/infra/devops:latest
only: only:
- tags - tags
...@@ -106,7 +106,7 @@ release-notes: ...@@ -106,7 +106,7 @@ release-notes:
bump-python-deps: bump-python-deps:
stage: release stage: release
image: registry.gitlab.com/teklia/devops:latest image: registry.gitlab.teklia.com/infra/devops:latest
only: only:
- schedules - schedules
......
FROM nvidia/cuda:12.2.0-base-ubuntu20.04 FROM nvidia/cuda:12.2.0-base-ubuntu22.04
# Add python3 in cuda image # Add python3 in cuda image
ENV DEBIAN_FRONTEND=non-interactive ENV DEBIAN_FRONTEND=non-interactive
......
...@@ -20,10 +20,26 @@ setup( ...@@ -20,10 +20,26 @@ setup(
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
author="Mélodie Boillet", author="Mélodie Boillet",
author_email="boillet@teklia.com", author_email="boillet@teklia.com",
project_urls={
"Source": "https://gitlab.teklia.com/dla/doc-ufcn/",
"Tracker": "https://gitlab.teklia.com/dla/doc-ufcn/issues/",
},
url="https://gitlab.com/teklia/dla/doc-ufcn", url="https://gitlab.com/teklia/dla/doc-ufcn",
install_requires=parse_requirements("requirements.txt"), install_requires=parse_requirements("requirements.txt"),
extras_require={ extras_require={
"training": parse_requirements("training-requirements.txt"), "training": parse_requirements("training-requirements.txt"),
}, },
packages=find_packages(), packages=find_packages(exclude=["tests"]),
python_requires=">= 3.8, < 3.11",
classifiers=[
"Development Status :: 5 - Production/Stable",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
# Topics
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
],
) )
[tox] [tox]
envlist = py38 envlist = py38,py310
[testenv] [testenv]
commands = commands =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment