Skip to content
Snippets Groups Projects
Verified Commit 2f34d766 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Pipeline cleanup.

parent dce79e16
No related branches found
No related tags found
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!122Explicit dependencies for testing, documentation, ...
Pipeline #58148 failed
......@@ -139,9 +139,8 @@ unittest_py38:
stage: unittest
image: python:3.8
script: &python_test_script
- pip install pynose pandas
- pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
- pip install .[test,h5-crawler,gitignore-parser]
- pip install .[all]
- pytest --cov=caosadvancedtools unittests
unittest_py310:
......
......@@ -9,7 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ###
* Official support for Python 3.13
* New setup extras `test` and `doc` which install the dependencies for testing and documentation.
### Changed ###
......@@ -17,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
following exposed names / features:
- `models.data_model.LINKAHEAD_INTERNAL_PROPERTIES`
- `export_related.export` exports to `linkahead_data.xml` now.
- Renamed (and added) installation "extra" options:
- `h5` instead of `h5-crawler`
- `doc`, `test` and `all` are new, they install the dependencies for testing, documentation and
everything.
### Deprecated ###
......
......@@ -163,7 +163,7 @@ def setup_package():
"pandas>=1.2.0",
"xlrd>=2.0",
],
extras_require={"h5-crawler": ["h5py>=3.3.0", ],
extras_require={"h5": ["h5py>=3.3.0", ],
"gitignore-parser": ["gitignore-parser >=0.1.0", ],
"doc": [
"sphinx",
......@@ -171,13 +171,16 @@ def setup_package():
"sphinx-rtd-theme",
"recommonmark >= 0.6.0",
],
"test": [
"gitignore-parser",
"test": [ # include: h5, gitignore-parser
"pytest",
"pytest-pythonpath",
"pytest-cov",
"coverage>=4.4.2",
"caosadvancedtools[h5, gitignore-parser]",
],
"all": [ # include: doc, test
"caosadvancedtools[doc, test]",
]
},
setup_requires=["pytest-runner>=2.0,<3dev"],
packages=find_packages('src'),
......
[tox]
envlist=py38, py39, py310, py311, py312, py313
envlist = py38, py39, py310, py311, py312, py313
skip_missing_interpreters = true
[testenv]
deps=nose
pandas
deps =
git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
pytest
pytest-cov
gitignore-parser
openpyxl >= 3.0.7
xlrd == 1.2
h5py
commands=py.test --cov=caosadvancedtools --cov-report=html:.tox/cov_html -vv {posargs}
extras = test
commands = py.test --cov=caosadvancedtools --cov-report=html:.tox/cov_html -vv {posargs}
[flake8]
max-line-length=100
......
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