Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-pylib
Commits
bfcedcd8
Commit
bfcedcd8
authored
2 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Require Python>=3.8
parent
0893c56b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!61
MAINT: Drop support for Python 3.6 and 3.7
Pipeline
#23888
passed
2 years ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
DEPENDENCIES.md
+1
-1
1 addition, 1 deletion
DEPENDENCIES.md
README_SETUP.md
+2
-2
2 additions, 2 deletions
README_SETUP.md
setup.py
+1
-1
1 addition, 1 deletion
setup.py
src/caosdb/connection/connection.py
+2
-0
2 additions, 0 deletions
src/caosdb/connection/connection.py
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
7 additions
and
5 deletions
DEPENDENCIES.md
+
1
−
1
View file @
bfcedcd8
*
caosdb-server >= 0.7.2
*
Python >= 3.
6
*
Python >= 3.
8
*
pip >= 20.0.2
Any other dependencies are defined in the setup.py and are being installed via pip
This diff is collapsed.
Click to expand it.
README_SETUP.md
+
2
−
2
View file @
bfcedcd8
...
...
@@ -4,7 +4,7 @@
### Requirements ###
PyCaosDB needs at least Python 3.
6
. Additionally, the following packages are required (they will
PyCaosDB needs at least Python 3.
8
. Additionally, the following packages are required (they will
typically be installed automatically):
-
`lxml`
...
...
@@ -19,7 +19,7 @@ Optional packages:
#### Linux ####
Make sure that Python (at least version 3.
6
) and pip is installed, using your system tools and
Make sure that Python (at least version 3.
8
) and pip is installed, using your system tools and
documentation.
Then open a terminal and continue in the
[
Generic installation
](
#generic-installation
)
section.
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
bfcedcd8
...
...
@@ -168,7 +168,7 @@ def setup_package():
"
Topic :: Scientific/Engineering :: Information Analysis
"
,
],
packages
=
find_packages
(
'
src
'
),
python_requires
=
'
>=3.
6
'
,
python_requires
=
'
>=3.
8
'
,
package_dir
=
{
''
:
'
src
'
},
install_requires
=
[
'
lxml>=4.6.3
'
,
'
PyYAML>=6.0
'
,
'
future
'
,
'
PySocks>=1.6.7
'
],
...
...
This diff is collapsed.
Click to expand it.
src/caosdb/connection/connection.py
+
2
−
0
View file @
bfcedcd8
...
...
@@ -179,6 +179,8 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
try
:
ssl_version
=
ssl
.
PROTOCOL_TLS
except
AttributeError
:
# TODO(tfitschen): This can be removed since we require Python
# >= 3.8 anyway, can't it?
# deprecated since Python 3.6, but necessary until there.
try
:
ssl_version
=
ssl
.
PROTOCOL_TLSv1_2
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
bfcedcd8
[tox]
envlist
=
py36, py37,
py38, py39, py310
envlist
=
py38, py39, py310
skip_missing_interpreters
=
true
[testenv]
...
...
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