dev-python/apscheduler: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-05-04 21:13:06 +02:00
parent 789c3ec5aa
commit 9124102010
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
3 changed files with 0 additions and 102 deletions

View File

@ -1,2 +1 @@
DIST APScheduler-3.10.4.tar.gz 100832 BLAKE2B d519a85c54951e4b5a09449f1ceda1afe8ff0120c4a7cfab4f72fb9dacc41ac73bb66bedd6615cf126f53b590eb02617ac739bac078f21dd503c2e081a057cec SHA512 44b78e60b7349437fb8d6e5ad3bbd764cfa653fdd65685b586119225e8daaff9b150871887812a1f3d4cd67b942c70e99d1606d38b83685953fb1bb1a82742fe
DIST apscheduler-3.11.0.tar.gz 107347 BLAKE2B 1c18a3779f73a6efaaa92e9a12bd34afaa4afbbeed76bf20b07a2eb9dbb11740e7e6d0f2a94bdd6c8a7ad16ea4db855ccce8a9dc007aa6da7d91b7362af90753 SHA512 c66d87773d3fe353e5f0bbc4bc9ba05337b555db0810e42e2e384fd9717438fda501d0c724cd7180010b11e5d8db901922b79a163aec3a420a6a65eafb6f39f6

View File

@ -1,64 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN=APScheduler
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="In-process task scheduler with Cron-like capabilities"
HOMEPAGE="
https://github.com/agronholm/apscheduler/
https://pypi.org/project/APScheduler/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/pytz[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
>=dev-python/tzlocal-4[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
>=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-tornado[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
PATCHES=(
# disable test fixtures using external servers (mongodb, redis...)
# these fixtures are using markers in git master, so the patch
# should be no longer necessary with next major bump
"${FILESDIR}"/apscheduler-3.8.1-external-server-tests.patch
)
EPYTEST_DESELECT=(
tests/test_jobstores.py::test_repr_mongodbjobstore
tests/test_jobstores.py::test_repr_redisjobstore
tests/test_jobstores.py::test_repr_zookeeperjobstore
tests/test_executors.py::test_broken_pool
)
python_prepare_all() {
# suppress setuptools warning #797751
sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die
sed -e '/addopts/d' -i setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p asyncio -p tornado
}

View File

@ -1,37 +0,0 @@
From bd39f1a1ec08dd28dda87419a8f25e14bafe2d2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Mon, 25 Oct 2021 07:36:06 +0200
Subject: [PATCH] Disable test fixture requiring external servers
---
tests/test_jobstores.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tests/test_jobstores.py b/tests/test_jobstores.py
index 132161b..db760bd 100644
--- a/tests/test_jobstores.py
+++ b/tests/test_jobstores.py
@@ -86,16 +86,14 @@ def zookeeperjobstore():
store.shutdown()
-@pytest.fixture(params=['memjobstore', 'sqlalchemyjobstore', 'mongodbjobstore', 'redisjobstore',
- 'rethinkdbjobstore', 'zookeeperjobstore'],
- ids=['memory', 'sqlalchemy', 'mongodb', 'redis', 'rethinkdb', 'zookeeper'])
+@pytest.fixture(params=['memjobstore', 'sqlalchemyjobstore'],
+ ids=['memory', 'sqlalchemy'])
def jobstore(request):
return request.getfixturevalue(request.param)
-@pytest.fixture(params=['sqlalchemyjobstore', 'mongodbjobstore', 'redisjobstore',
- 'rethinkdbjobstore', 'zookeeperjobstore'],
- ids=['sqlalchemy', 'mongodb', 'redis', 'rethinkdb', 'zookeeper'])
+@pytest.fixture(params=['sqlalchemyjobstore'],
+ ids=['sqlalchemy'])
def persistent_jobstore(request):
return request.getfixturevalue(request.param)
--
2.33.1