components/python/tempora/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/tempora/history | ●●●●● patch | view | raw | blame | history | |
components/python/tempora/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/tempora/patches/01-no-ruff.patch | ●●●●● patch | view | raw | blame | history | |
components/python/tempora/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/python/tempora/test/results-all.master | ●●●●● patch | view | raw | blame | history |
components/python/tempora/Makefile
@@ -19,13 +19,11 @@ include ../../../make-rules/shared-macros.mk COMPONENT_NAME = tempora HUMAN_VERSION = 5.5.0 HUMAN_VERSION = 5.5.1 COMPONENT_SUMMARY = tempora - Objects and routines pertaining to date and time (tempora) COMPONENT_PROJECT_URL = https://github.com/jaraco/tempora COMPONENT_ARCHIVE_URL = \ https://files.pythonhosted.org/packages/c9/dc/97d90b9f64dbe4f599023e19602b33a2cced68462db67a3d4805a77cf784/tempora-5.5.0.tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:13e4fcc997d0509c3306d6841f03e9381b7e5e46b2bebfae9151af90085f0c26 sha256:a2bb51e2121976d931347b3e433917c364b83fdd5f64ef27336c865bf1fb0f75 COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE @@ -38,9 +36,7 @@ PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm PYTHON_REQUIRED_PACKAGES += library/python/wheel PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/backports-unittest-mock TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/pytest-black TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov TEST_REQUIRED_PACKAGES.python += library/python/pytest-enabler components/python/tempora/history
@@ -1,3 +1,4 @@ library/python/tempora-27@1.13,5.11-2021.0.0.5 noincorporate library/python/tempora-27@1.13,5.11-2021.0.0.6 library/python/tempora-34@1.13-2020.0.1.1 library/python/tempora-35@1.13,5.11-2021.0.0.5 noincorporate library/python/tempora-35@1.13,5.11-2021.0.0.6 library/python/tempora-37@5.5.0,5.11-2023.0.0.1 components/python/tempora/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@ # # # Copyright 2023 <contributor> # Copyright 2024 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) components/python/tempora/patches/01-no-ruff.patch
@@ -1,13 +1,13 @@ We have no pytest-ruff support yet. see https://github.com/tikv/jemallocator/issues/58 --- tempora-5.5.0/setup.cfg.orig +++ tempora-5.5.0/setup.cfg @@ -37,7 +37,6 @@ pytest-mypy >= 0.9.1; \ --- tempora-5.5.1/setup.cfg.orig +++ tempora-5.5.1/setup.cfg @@ -27,7 +27,6 @@ pytest-mypy; \ python_implementation != "PyPy" pytest-enabler >= 2.2 - pytest-ruff - pytest-ruff >= 0.2.1 backports.unittest_mock pytest-freezer types-pytz components/python/tempora/pkg5
@@ -1,22 +1,15 @@ { "dependencies": [ "library/python/jaraco-functools-37", "library/python/jaraco-functools-39", "library/python/pytz-37", "library/python/pytz-39", "library/python/setuptools-37", "library/python/setuptools-39", "library/python/setuptools-scm-37", "library/python/setuptools-scm-39", "library/python/wheel-37", "library/python/wheel-39", "runtime/python-37", "runtime/python-39" ], "fmris": [ "library/python/tempora-37", "library/python/tempora-39", "library/python/tempora" "library/python/tempora", "library/python/tempora-39" ], "name": "tempora" } } components/python/tempora/test/results-all.master
@@ -1,16 +1,18 @@ ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions py$(PYV): remove tox env folder .tox/py$(PYV) py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) configfile: pytest.ini asyncio: mode=strict collecting ... collected 44 items collecting ... collected 53 items ::project PASSED .::project PASSED .::project PASSED conftest.py::mypy PASSED conftest.py::mypy-status PASSED docs/conf.py::mypy PASSED tempora/__init__.py::mypy PASSED tempora/__init__.py::tempora._Saved_NS PASSED tempora/__init__.py::tempora._prorated_values PASSED tempora/__init__.py::tempora.calculate_prorated_values PASSED @@ -23,14 +25,17 @@ tempora/__init__.py::tempora.gregorian_date PASSED tempora/__init__.py::tempora.parse_timedelta PASSED tempora/__init__.py::tempora.strftime PASSED tempora/schedule.py::mypy PASSED tempora/schedule.py::tempora.schedule PASSED tempora/schedule.py::tempora.schedule.PeriodicCommandFixedDelay.at_time PASSED tempora/schedule.py::tempora.schedule.PeriodicCommandFixedDelay.daily_at PASSED tempora/timing.py::mypy PASSED tempora/timing.py::tempora.timing.BackoffDelay PASSED tempora/timing.py::tempora.timing.IntervalGovernor PASSED tempora/timing.py::tempora.timing.Stopwatch PASSED tempora/timing.py::tempora.timing.Timer PASSED tempora/timing.py::tempora.timing.Timer._accept PASSED tempora/utc.py::mypy PASSED tempora/utc.py::tempora.utc PASSED tests/test_schedule.py::TestCommands::test_command_at_noon PASSED tests/test_schedule.py::TestCommands::test_command_at_noon_distant_local[-14-10] PASSED @@ -48,12 +53,17 @@ tests/test_schedule.py::TestTimezones::test_alternate_timezone_east PASSED tests/test_schedule.py::TestTimezones::test_alternate_timezone_west PASSED tests/test_schedule.py::TestTimezones::test_daylight_savings PASSED tests/test_schedule.py::mypy PASSED tests/test_schedule.py::test_delayed_command_order PASSED tests/test_schedule.py::test_periodic_command_delay PASSED tests/test_schedule.py::test_periodic_command_fixed_delay PASSED tests/test_timing.py::mypy PASSED tests/test_timing.py::test_IntervalGovernor PASSED tests/test_timing.py::test_Stopwatch_timezone_change PASSED ======== 43 passed ======== ===================================== mypy ===================================== Success: no issues found in 8 source files ======== 53 passed ======== py$(PYV): OK congratulations :)