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
82a2e751
Commit
82a2e751
authored
2 years ago
by
florian
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into f-merge-missing-list-datatype
parents
bdaded51
905b6ccd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!93
Release 0.11.0
,
!92
F merge missing list datatype
Pipeline
#32555
failed
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
.gitlab-ci.yml
+17
-3
17 additions, 3 deletions
.gitlab-ci.yml
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
pytest.ini
+0
-3
0 additions, 3 deletions
pytest.ini
setup.py
+1
-1
1 addition, 1 deletion
setup.py
tox.ini
+7
-2
7 additions, 2 deletions
tox.ini
with
26 additions
and
9 deletions
.gitlab-ci.yml
+
17
−
3
View file @
82a2e751
...
@@ -54,18 +54,25 @@ pylint:
...
@@ -54,18 +54,25 @@ pylint:
allow_failure
:
true
allow_failure
:
true
# run unit tests
# run unit tests
unittest_py3.
8
:
unittest_py3.
7
:
tags
:
[
docker
]
tags
:
[
docker
]
stage
:
test
stage
:
test
needs
:
[
]
needs
:
[
]
image
:
python:3.
8
image
:
python:3.
7
script
:
&python_test_script
script
:
&python_test_script
# Python docker has problems with tox and pip so use plain pytest here
# Python docker has problems with tox and pip so use plain pytest here
-
touch ~/.pycaosdb.ini
-
touch ~/.pycaosdb.ini
-
pip install nose pytest pytest-cov python-dateutil jsonschema
=
=4.
0.1
-
pip install nose pytest pytest-cov python-dateutil jsonschema
>
=4.
4.0
-
pip install .
-
pip install .
-
python -m pytest unittests
-
python -m pytest unittests
unittest_py3.8
:
tags
:
[
docker
]
stage
:
test
needs
:
[
]
image
:
python:3.8
script
:
*python_test_script
# This needs to be changed once Python 3.9 isn't the standard Python in Debian
# This needs to be changed once Python 3.9 isn't the standard Python in Debian
# anymore.
# anymore.
unittest_py3.9
:
unittest_py3.9
:
...
@@ -86,6 +93,13 @@ unittest_py3.10:
...
@@ -86,6 +93,13 @@ unittest_py3.10:
image
:
python:3.10
image
:
python:3.10
script
:
*python_test_script
script
:
*python_test_script
unittest_py3.11
:
tags
:
[
docker
]
stage
:
test
needs
:
[
]
image
:
python:3.11
script
:
*python_test_script
# Trigger building of server image and integration tests
# Trigger building of server image and integration tests
trigger_build
:
trigger_build
:
stage
:
deploy
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG.md
+
1
−
0
View file @
82a2e751
...
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
...
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
*
`apiutils.EntityMergeConflictError`
class for unresesolvable merge conflicts
*
`apiutils.EntityMergeConflictError`
class for unresesolvable merge conflicts
when merging two entities
when merging two entities
*
Re-introduced support for Python 3.7
### Changed ###
### Changed ###
...
...
This diff is collapsed.
Click to expand it.
pytest.ini
deleted
100644 → 0
+
0
−
3
View file @
bdaded51
[pytest]
testpaths
=
unittests
addopts
=
-x -vv --cov=caosdb
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
82a2e751
...
@@ -171,7 +171,7 @@ def setup_package():
...
@@ -171,7 +171,7 @@ def setup_package():
"
Topic :: Scientific/Engineering :: Information Analysis
"
,
"
Topic :: Scientific/Engineering :: Information Analysis
"
,
],
],
packages
=
find_packages
(
'
src
'
),
packages
=
find_packages
(
'
src
'
),
python_requires
=
'
>=3.
8
'
,
python_requires
=
'
>=3.
7
'
,
package_dir
=
{
''
:
'
src
'
},
package_dir
=
{
''
:
'
src
'
},
install_requires
=
[
'
lxml>=4.6.3
'
,
install_requires
=
[
'
lxml>=4.6.3
'
,
"
requests[socks]>=2.26
"
,
"
requests[socks]>=2.26
"
,
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
7
−
2
View file @
82a2e751
[tox]
[tox]
envlist
=
py38, py39, py310
envlist
=
py37,
py38, py39, py310
, py311
skip_missing_interpreters
=
true
skip_missing_interpreters
=
true
[testenv]
[testenv]
...
@@ -7,8 +7,13 @@ deps = .
...
@@ -7,8 +7,13 @@ deps = .
nose
nose
pytest
pytest
pytest-cov
pytest-cov
jsonschema
=
=4.
0.1
jsonschema
>
=4.
4.0
commands
=
py.test --cov=caosdb -vv {posargs}
commands
=
py.test --cov=caosdb -vv {posargs}
[flake8]
[flake8]
max-line-length
=
100
max-line-length
=
100
[pytest]
testpaths
=
unittests
xfail_strict
=
True
addopts
=
-x -vv --cov=caosdb
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