devel/py-apscheduler: update to 3.11.3 Changes: https://github.com/agronholm/apscheduler/releases/tag/3.11.3 Reported by: Repology8b6b705382
Port details
devel/py-apscheduler3.11.3
In-process task scheduler with Cron-like capabilities
- Maintainer
- jbeich@FreeBSD.org
- Packages
- py312-APScheduler 3.11.3
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://pypi.org/project/APScheduler/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (50)
devel/py-apscheduler: update to 3.11.2 Changes: https://github.com/agronholm/apscheduler/releases/tag/3.11.2 Reported by: Repology444a582092
devel/py-apscheduler: update to 3.11.1 Changes: https://github.com/agronholm/apscheduler/releases/tag/3.11.1 Reported by: Repology83ad61155f
devel/py-apscheduler: update to 3.11.0 Changes: https://github.com/agronholm/apscheduler/releases/tag/3.11.0 Reported by: Repology07f17e6b3c
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D392885d4139f8bddevel/py-apscheduler: update to 3.10.4 Changes: https://github.com/agronholm/apscheduler/compare/3.10.3...3.10.4 Reported by: Repology, portscout64f67aeee8
devel/py-apscheduler: update to 3.10.3 Changes: https://github.com/agronholm/apscheduler/compare/3.10.2...3.10.3 Reported by: Repology, portscout8cd16b20b9
devel/py-apscheduler: unbreak with python < 3.10 after b7427cd82ccf
$ make test
[...]
ImportError while loading conftest 'APScheduler-3.10.2/tests/conftest.py'.
tests/conftest.py:8: in <module>
from apscheduler.schedulers.base import BaseScheduler
apscheduler/schedulers/base.py:46: in <module>
class BaseScheduler(six.with_metaclass(ABCMeta)):
apscheduler/schedulers/base.py:75: in BaseScheduler
_trigger_plugins = {ep.name: ep for ep in entry_points(group='apscheduler.triggers')}
E TypeError: entry_points() got an unexpected keyword argument 'group'bcb41521efdevel/py-apscheduler: update to 3.10.2 Changes: https://github.com/agronholm/apscheduler/compare/3.10.1...3.10.2 Reported by: Repology, portscoutb7427cd82c
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cdevel/py-apscheduler: update to 3.10.1 Changes: https://github.com/agronholm/apscheduler/compare/3.10.0...3.10.1 Reported by: Repology63a4ad04e5
devel/py-apscheduler: update to 3.10.0 Changes: https://github.com/agronholm/apscheduler/compare/3.9.1...3.10.0 Reported by: portscout888ec7f979
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
devel/py-apscheduler: unbreak after 1d648e548584 ===> py39-apscheduler-3.9.1 depends on package: py39-tzlocal>=1.2<3 - not found ===> Installing existing package /packages/All/py39-tzlocal-4.2.pkg Installing py39-tzlocal-4.2... Extracting py39-tzlocal-4.2: .......... done ===> py39-apscheduler-3.9.1 depends on package: py39-tzlocal>=1.2<3 - not found *** Error code 1 PR: 266102ede29bbe66
devel/py-apscheduler: convert to USE_PYTHON=pytest65de78bb21
devel/py-apscheduler: drop all pytest workarounds after 2ada39de05b1
______________________________________________ TestProcessJobs.test_nonexistent_executor _______________________________________________
self = <tests.test_schedulers.TestProcessJobs object at 0x878ac2880>
scheduler = <tests.test_schedulers.DummyScheduler object at 0x895538460>, jobstore = <MagicMock spec='BaseJobStore' id='36865062272'>
caplog = <_pytest.logging.LogCaptureFixture object at 0x89480f130>
def test_nonexistent_executor(self, scheduler, jobstore, caplog):
"""
Test that an error is logged and the job is removed from its job store if its executor is
not found.
"""
> caplog.setLevel(logging.ERROR)
E AttributeError: 'LogCaptureFixture' object has no attribute 'setLevel'
tests/test_schedulers.py:813: AttributeError
______________________________________________ TestProcessJobs.test_max_instances_reached ______________________________________________
self = <tests.test_schedulers.TestProcessJobs object at 0x878ac2a30>
scheduler = <tests.test_schedulers.DummyScheduler object at 0x893c45460>, job = <MagicMock spec='Job' id='36851155008'>
jobstore = <MagicMock spec='BaseJobStore' id='36838894800'>, executor = <MagicMock spec='BaseExecutor' id='36851346448'>
caplog = <_pytest.logging.LogCaptureFixture object at 0x893c4b940>
def test_max_instances_reached(self, scheduler, job, jobstore, executor, caplog):
"""Tests that a warning is logged when the maximum instances of a job is reached."""
> caplog.setLevel(logging.WARNING)
E AttributeError: 'LogCaptureFixture' object has no attribute 'setLevel'
tests/test_schedulers.py:824: AttributeError
_________________________________________________ TestProcessJobs.test_executor_error __________________________________________________
self = <tests.test_schedulers.TestProcessJobs object at 0x878ac2c10>
scheduler = <tests.test_schedulers.DummyScheduler object at 0x89482ea00>, jobstore = <MagicMock spec='BaseJobStore' id='36865031376'>
executor = <MagicMock spec='BaseExecutor' id='36865028928'>, caplog = <_pytest.logging.LogCaptureFixture object at 0x895534ac0>
def test_executor_error(self, scheduler, jobstore, executor, caplog):
"""Tests that if any exception is raised in executor.submit(), it is logged."""
> caplog.setLevel(logging.ERROR)
E AttributeError: 'LogCaptureFixture' object has no attribute 'setLevel'
tests/test_schedulers.py:834: AttributeError74ca63e502devel/py-apscheduler: unbreak with pytest >= 6 after f1d506505d6c $ make test [...] ===> py38-apscheduler-3.9.1 depends on package: py38-pytest>=3.3<6 - not found *** Error code 1 https://github.com/agronholm/apscheduler/commit/4ded0dceb05afbfd69e010
devel/py-apscheduler: update to 3.9.1 Changes: https://github.com/agronholm/apscheduler/compare/3.9.0...3.9.1 Reported by: portscout055e43cdda
devel/py-apscheduler: update to 3.9.0 Changes: https://github.com/agronholm/apscheduler/compare/v3.8.1...v3.9.0 Reported by: Repology, portscoutf1d506505d
devel/py-apscheduler: update to 3.8.1 Changes: https://github.com/agronholm/apscheduler/compare/3.8.0...v3.8.1 Reported by: Repologyb54090216e
devel/py-apscheduler: update to 3.8.0 Changes: https://github.com/agronholm/apscheduler/compare/v3.7.0...3.8.0 Reported by: Repology477f33a8cb
devel/py-apscheduler: update to 3.7.0 Changes: https://github.com/agronholm/apscheduler/compare/v3.6.3...v3.7.0 Reported by: portscout, Repology8b6e5b6c63
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Remove logic for Python < 3.6 for ports using Python 3.6+75d659b385
Follow up on devel/py-futures port removal in r559976 The devel/py-futures port was removed in r559976 as it was for Python 2.7 only and no longer referenced in the default cases. However it was still defined in Mk/Uses/python.mk in PY_FUTURES, leaving a dangling reference. Remove it from Mk/Uses/python.mk and from affected ports, as it was already an empty definition for Python 3.6+ Bump minimal Python version of security/theonionbox to 3.6+42ca9d7a26
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
devel/py-apscheduler: update to 3.6.3 Changes: https://github.com/agronholm/apscheduler/compare/v3.6.1...v3.6.3 Reported by: Repology190cc756f1
devel/py-apscheduler: update to 3.6.1 Changes: https://github.com/agronholm/apscheduler/compare/v3.6.0...v3.6.1 Reported by: portscout383b051ce9
devel/py-apscheduler: update to 3.6.0 Changes: https://github.com/agronholm/apscheduler/compare/v3.5.3...v3.6.0579b0a97a2
devel/py-apscheduler: bump pytest version requirment $ make test [...] =============================== warnings summary =============================== <undetermined location> pytest-capturelog plugin has been merged into the core, please remove it from your requirements.250fa11bae
devel/py-apscheduler: update to 3.5.3 Changes: https://github.com/agronholm/apscheduler/compare/v3.5.1...v3.5.370a35843e2
Use PY_FLAVOR for dependencies. FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight4376dbbb58
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where they now redirect to anyway. All new urls checked to return 200, I've fixed a couple of them in the process. Approved by: portmgr blanket, matc637402081
Simplify Makefile: use PY_FUTURES With hat: python5b58565a00
devel/py-apscheduler: update to 3.5.1 Changes: https://github.com/agronholm/apscheduler/compare/v3.5.0...v3.5.1e2c8e8b860
Simplify some USES=python With hat: portmgr377901b804
devel/py-apscheduler: update to 3.5.0 Changes: https://github.com/agronholm/apscheduler/compare/v3.4.0...v3.5.0608d2f7d49
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723devel/py-apscheduler: update to 3.4.0 Changes: https://github.com/agronholm/apscheduler/compare/v3.3.1...v3.4.031973dd17d
devel/py-apscheduler: update to 3.3.1 Changes: https://github.com/agronholm/apscheduler/compare/v3.3.0...3.3.1e8c32ba18f
devel/py-apscheduler: update to 3.3.0 - Assume maintainership Changes: https://github.com/agronholm/apscheduler/compare/v3.2.0...v3.3.0 PR: 215187 Approved by: wg (previous maintainer)ff1862202e
Invoke pytest from within desired python version
When testing a port for a non-default python py.test may fail to find
dependencies for default version because they weren't built e.g.,
$ make test PYTHON_VERSION=python3.5 -C devel/py-apscheduler
[...]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 319, in _importconftest
mod = conftestpath.pyimport()
File "/usr/local/lib/python3.5/site-packages/py/_path/local.py", line 650, in pyimport
__import__(modname)
File "/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py", line 8, in <module>
from apscheduler.job import Job
File "/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/apscheduler/job.py", line 4, in <module>
import six
ImportError: No module named 'six'
ERROR: could not load /usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py
Approved by: portmgr blanketc02ff86a83devel/py-apscheduler: fix python package version after r418353 >>> import apscheduler >>> apscheduler.__version__ '0.0.0' PR: 210980 Submitted by: Andrej Ebert <andrej@ebert.su>b4552dabef
devel/py-apscheduler: update to 3.2.0 - Convert to the testing framework Changes: https://github.com/agronholm/apscheduler/compare/v3.0.4...v3.2.0 PR: 210980 Submitted by: Andrej Ebert <andrej@ebert.su> (based on)20059cdac4
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6devel/py-apscheduler: update to 3.0.40b7bb571bd
devel/py-apscheduler: add new port Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or periodically. You can add new jobs or remove old ones on the fly as you please. If you store your jobs in a database, they will also survive scheduler restarts and maintain their state. When the scheduler is restarted, it will then run all the jobs it should have run while it was offline. https://pypi.python.org/pypi/APScheduler Approved by: wg (maintainer) Differential Revision: https://reviews.freebsd.org/D3566def01923a9