Skip to content

Commit 26c4461

Browse files
jmitrevsvloncarpre-commit-ci[bot]
authored
Update dependencies, add testing extras (fastmachinelearning#837)
* update setup and CI setups * switch to using testing instead of profiling for pytests * update dependencies * [pre-commit.ci] auto fixes from pre-commit hooks --------- Co-authored-by: Vladimir <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent dea24dc commit 26c4461

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stages:
55

66
generator:
77
stage: generate
8-
image: python:3.7-alpine
8+
image: python:3.8-alpine
99
tags:
1010
- docker
1111
before_script:

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ pandas
77
pyyaml
88
seaborn
99
setuptools_scm[toml]>=5
10-
six
1110
sphinx>=3.2.1
1211
sphinx_contributors
1312
sphinx_github_changelog

setup.cfg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ install_requires =
2929
pydigitalwavetools==1.1
3030
pyyaml
3131
qkeras
32-
six
3332
tabulate
33+
tensorflow
3434
python_requires = >=3.8
3535
include_package_data = True
3636
scripts = scripts/hls4ml
@@ -46,6 +46,12 @@ profiling =
4646
seaborn
4747
sr =
4848
sympy
49+
testing =
50+
pytest
51+
pytest-cov
52+
pytest-randomly
53+
qonnx
54+
torch
4955

5056
[check-manifest]
5157
ignore =

test/pytest/ci-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- source ~/.bashrc
88
- if [ $EXAMPLEMODEL == 1 ]; then git submodule init; git submodule update; fi
99
- conda activate hls4ml-testing
10-
- pip install .[profiling,sr]
10+
- pip install .[testing,sr]
1111
script:
1212
- cd test/pytest
1313
- pytest $PYTESTFILE -rA --cov-report xml --cov-report term --cov=hls4ml --junitxml=report.xml --randomly-seed=42 --randomly-dont-reorganize --randomly-dont-reset-seed

0 commit comments

Comments
 (0)