Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Doc-UFCN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Document Layout Analysis
Doc-UFCN
Commits
2a1d19ae
Commit
2a1d19ae
authored
1 year ago
by
Yoann Schneider
Committed by
Bastien Abadie
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Support and test python 3.10
parent
0929d28f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!115
Support and test python 3.10
Pipeline
#141168
passed
1 year ago
Stage: release
Changes
4
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
setup.py
+17
-1
17 additions, 1 deletion
setup.py
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
25 additions
and
9 deletions
.gitlab-ci.yml
+
6
−
6
View file @
2a1d19ae
...
...
@@ -4,7 +4,7 @@ stages:
-
release
test
:
image
:
python:3.
8
image
:
python:3.
10
stage
:
test
cache
:
...
...
@@ -24,7 +24,7 @@ test:
-
tox
lint
:
image
:
python:3.
8
image
:
python:3.
10
stage
:
test
cache
:
...
...
@@ -62,7 +62,7 @@ docker-build:
deploy-models
:
stage
:
release
image
:
python:3.
8
image
:
python:3.
10
only
:
-
main
...
...
@@ -78,7 +78,7 @@ deploy-models:
deploy-pypi
:
stage
:
release
image
:
python:3.
8
image
:
python:3.
10
only
:
-
tags
...
...
@@ -96,7 +96,7 @@ deploy-pypi:
release-notes
:
stage
:
release
image
:
registry.gitlab.
com/
teklia/devops:latest
image
:
registry.gitlab.teklia
.com/infra
/devops:latest
only
:
-
tags
...
...
@@ -106,7 +106,7 @@ release-notes:
bump-python-deps
:
stage
:
release
image
:
registry.gitlab.
com/
teklia/devops:latest
image
:
registry.gitlab.teklia
.com/infra
/devops:latest
only
:
-
schedules
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
2a1d19ae
FROM
nvidia/cuda:12.2.0-base-ubuntu2
0
.04
FROM
nvidia/cuda:12.2.0-base-ubuntu2
2
.04
# Add python3 in cuda image
ENV
DEBIAN_FRONTEND=non-interactive
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
17
−
1
View file @
2a1d19ae
...
...
@@ -20,10 +20,26 @@ setup(
long_description_content_type
=
"
text/markdown
"
,
author
=
"
Mélodie Boillet
"
,
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
"
,
install_requires
=
parse_requirements
(
"
requirements.txt
"
),
extras_require
=
{
"
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
"
,
],
)
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
2a1d19ae
[tox]
envlist
=
py38
envlist
=
py38
,py310
[testenv]
commands
=
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment