python3Packages.django-celery-beat: cleanup, skip failing test (#472657)

This commit is contained in:
Gergő Gutyina
2025-12-22 22:58:03 +00:00
committed by GitHub
@@ -1,18 +1,23 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
celery,
cron-descriptor,
django-timezone-field,
python-crontab,
tzdata,
# tests
ephem,
fetchFromGitHub,
pytest-django,
pytest-timeout,
pytestCheckHook,
python-crontab,
pythonOlder,
setuptools,
tzdata,
}:
buildPythonPackage rec {
@@ -20,8 +25,6 @@ buildPythonPackage rec {
version = "2.8.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "celery";
repo = "django-celery-beat";
@@ -34,17 +37,17 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [
cron-descriptor
python-crontab
celery
cron-descriptor
django-timezone-field
python-crontab
tzdata
];
nativeCheckInputs = [
ephem
pytest-timeout
pytest-django
pytest-timeout
pytestCheckHook
];
@@ -53,6 +56,11 @@ buildPythonPackage rec {
"t/unit/test_schedulers.py"
];
disabledTests = [
# AssertionError: 'At 02:00, only on Monday UTC' != 'At 02:00 AM, only on Monday UTC'
"test_long_name"
];
pythonImportsCheck = [ "django_celery_beat" ];
meta = {