Skip to content

Commit

Permalink
setup: move to support python3.12 only
Browse files Browse the repository at this point in the history
* remove not used files

* remove --db from run-tests.sh because it is not necessary to run the
  tests. only use what is necessary!
  • Loading branch information
utnapischtim committed Jul 19, 2024
1 parent 28d5f07 commit 1a8d355
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
12 changes: 0 additions & 12 deletions requirements-devel.txt

This file was deleted.

2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ fi

python -m check_manifest
python -m sphinx.cmd.build -qnNW docs docs/_build/html
eval "$(docker-services-cli up --db ${DB:-postgresql} --search ${SEARCH:-opensearch} --cache ${CACHE:-redis} --env)"
eval "$(docker-services-cli up --search ${SEARCH:-opensearch} --cache ${CACHE:-redis} --env)"
python -m pytest ${pytest_args[@]+"${pytest_args[@]}"}
20 changes: 7 additions & 13 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2021-2023 Graz University of Technology.
# Copyright (C) 2021-2024 Graz University of Technology.
#
# repository-cli is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -17,18 +17,16 @@ author_email = [email protected]
platforms = any
url = https://github.com/inveniosoftware/repository-cli
classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Development Status :: 5 - Production/Stable

[options]
include_package_data = True
packages = find:
python_requires = >=3.9
python_requires = >=3.12
zip_safe = False
install_requires =
click>=7.1.1
click>=8.0.0
invenio-rdm-records[opensearch2]>=4.0.0
invenio-records-marc21>=0.9
invenio-records-lom>=0.10
Expand All @@ -42,9 +40,9 @@ tests =
invenio-app>=1.3.0
invenio-search[opensearch2]>=2.1.0
invenio-cache>=1.1.1
Sphinx>=4.5
sphinx-click>=2.5.0
ruff>=0.0.270
Sphinx>=7.0.0
sphinx-click>=6.0.0
ruff>=0.5.3

[options.entry_points]
flask.commands =
Expand All @@ -63,10 +61,6 @@ universal = 1
[tool:isort]
profile=black

[check-manifest]
ignore =
*-requirements.txt

[tool:pytest]
addopts = --black --doctest-glob="*.rst" --doctest-modules --cov=repository_cli --cov-report=term-missing
testpaths = tests repository_cli
Expand Down

0 comments on commit 1a8d355

Please sign in to comment.