Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecations setuptools #466

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file is part of REANA.
# Copyright (C) 2024 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ check_sphinx () {
}

check_pytest () {
python setup.py test
pytest
}

check_all () {
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

[aliases]
test = pytest

[build_sphinx]
source-dir = docs/
build-dir = docs/_build
Expand Down
15 changes: 3 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,15 @@
readme = open("README.md").read()
history = open("CHANGELOG.md").read()

tests_require = [
"pytest-reana>=0.95.0a2,<0.96.0",
]


extras_require = {
"docs": [
"myst-parser",
"Sphinx>=1.5.1",
"sphinx-rtd-theme>=0.1.9",
],
"tests": tests_require,
"tests": [
"pytest-reana>=0.95.0a2,<0.96.0",
],
"kubernetes": [
"kubernetes>=22.0.0,<23.0.0",
],
Expand Down Expand Up @@ -59,10 +56,6 @@
continue
extras_require["all"].extend(reqs)

setup_requires = [
"pytest-runner>=2.7",
]

install_requires = [
"bravado>=10.2,<10.4",
# bravado-core 6.1.1 breaks compatibility with jsonschema<4.9.0
Expand Down Expand Up @@ -105,8 +98,6 @@
python_requires=">=3.8",
install_requires=install_requires,
extras_require=extras_require,
setup_requires=setup_requires,
tests_require=tests_require,
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# under the terms of the MIT License; see LICENSE file for more details.

[tox]
envlist = py36, py37, py38, py39, py310, py311, py312
envlist = py38, py39, py310, py311, py312

[testenv]
deps = pytest
pytest-cov
commands = {envpython} setup.py test
commands = pytest {posargs}
Loading