gerritlib/setup.cfg
Jeremy Stanley 1dd61d944b Only installable on Python 3.10 and later
We've dropped testing for Python 3.9 and earlier. Set a
corresponding python_requires value so that the packages for the
next release won't get installed on too-old Python and they'll stick
with the previous version instead.

Modern deployments of Jeepyb and GerritBot in OpenDev use Debian
Bookworm Python 3.11 images and so should be unaffected, but some
external users may still be pip installing onto older platforms.

Change-Id: Ib03f2109ddc851d95ff344bdd861942678ef6b2c
2024-09-01 16:50:31 +00:00

45 lines
1.3 KiB
INI

[metadata]
name = gerritlib
summary = Client library for accessing Gerrit.
description-file = README.rst
author = OpenDev Team
author-email = service-discuss@lists.opendev.org
maintainer = OpenDev Team
maintainer-email = service-discuss@lists.opendev.org
home-page = https://opendev.org/opendev/gerritlib
license = apache
classifier =
Topic :: Utilities
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
Environment :: Console
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
python_requires = >= 3.10
[files]
packages = gerritlib
[pbr]
warnerrors = True
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[flake8]
show-source = True
# These are ignored intentionally in infra projects;
# please don't submit patches that solely correct them or enable them.
ignore =
E124,E125,E129,E252,E402,E741,H,W503,W504
N802 # N802 function name {} should be lowercase
exclude = .venv,.tox,.nox,dist,doc,build,*.egg