Skip to content
Snippets Groups Projects
Commit 3782932e authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-1428: Ensure installing package also install requirements.txt dependencies

This also fixes the legacy method of installing PyTango
parent 95128caa
No related branches found
No related tags found
1 merge request!3L2SS-1428: Ensure installing package also install requirements.txt dependencies
Pipeline #53144 failed
[build-system] [build-system]
requires = [ requires = [
"setuptools>=45", "setuptools>=62.6",
"setuptools_scm[toml]>=6.2", "setuptools_scm[toml]>=6.2",
"wheel" "wheel"
] ]
......
numpy >= 1.19.5 # BSD importlib-metadata>=0.12; python_version<"3.8"
pip >= 1.5
pytango >= 9.4.0
numpy >= 1.19.3; python_version >"3.9" and python_version <"3.10" # BSD
numpy >= 1.21.6; python_version >"3.10" and python_version <"3.11" # BSD
numpy >= 1.23.2; python_version >"3.11" and python_version <"3.12" # BSD
stestr >= 3.0.0 # Apache-2.0 stestr >= 3.0.0 # Apache-2.0
testscenarios >= 0.5.0 # Apache-2.0/BSD testscenarios >= 0.5.0 # Apache-2.0/BSD
testtools >= 2.4.0 # MIT testtools >= 2.4.0 # MIT
...@@ -29,9 +29,7 @@ classifiers = ...@@ -29,9 +29,7 @@ classifiers =
include_package_data = true include_package_data = true
packages = find: packages = find:
python_requires = >=3.7 python_requires = >=3.7
install_requires = install_requires = file: requirements.txt
importlib-metadata>=0.12;python_version<"3.8"
pip >= 1.5
[flake8] [flake8]
max-line-length = 88 max-line-length = 88
......
...@@ -14,10 +14,6 @@ setenv = ...@@ -14,10 +14,6 @@ setenv =
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/tests/requirements.txt -r{toxinidir}/tests/requirements.txt
commands_pre =
# required until https://gitlab.com/tango-controls/pytango/-/issues/468 is resolved
pip install 'numpy>=1.19.5'
pip install --no-cache 'PyTango>=9.3.6,<9.4.0'
commands = commands =
{envpython} --version {envpython} --version
{envpython} -m pytest {posargs} {envpython} -m pytest {posargs}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment