diff options
| author | root <root@alpha.trunkmasters.com> | 2026-05-31 17:23:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-05-31 17:23:40 -0500 |
| commit | f953dc70343485250b836ad157649aaad47ac5bc (patch) | |
| tree | e3634b454cf48f10ce9f8d12f10e60ad0a749239 /dev-python/pytest-flask | |
| parent | 5e07081cf4f5afaef79409b430a018b1daec073e (diff) | |
| download | baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.gz baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.xz baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-flask')
| -rw-r--r-- | dev-python/pytest-flask/files/flask-1.3.0-py3.14.patch | 27 | ||||
| -rw-r--r-- | dev-python/pytest-flask/metadata.xml | 2 | ||||
| -rw-r--r-- | dev-python/pytest-flask/pytest-flask-1.3.0.ebuild | 8 |
3 files changed, 34 insertions, 3 deletions
diff --git a/dev-python/pytest-flask/files/flask-1.3.0-py3.14.patch b/dev-python/pytest-flask/files/flask-1.3.0-py3.14.patch new file mode 100644 index 000000000000..e5c748b61174 --- /dev/null +++ b/dev-python/pytest-flask/files/flask-1.3.0-py3.14.patch @@ -0,0 +1,27 @@ +From 6cc0d1162f31302cd95fcca49744847da3071672 Mon Sep 17 00:00:00 2001 +From: Alfred Wingate <parona@protonmail.com> +Date: Sat, 21 Mar 2026 21:01:11 +0200 +Subject: [PATCH] Explicitly use the fork start method on all platforms + +The default has changed away from fork on all platforms in python 3.14. + +See-Also: cfc804776f24c7230627b15bd935e5da5f809db7 +See-Also: https://github.com/python/cpython/issues/84559 +Signed-off-by: Alfred Wingate <parona@protonmail.com> +--- a/src/pytest_flask/live_server.py ++++ b/src/pytest_flask/live_server.py +@@ -9,9 +9,8 @@ import time + import pytest + + +-# force 'fork' on macOS +-if platform.system() == "Darwin": +- multiprocessing = multiprocessing.get_context("fork") ++# errors on start methods other than "fork". Default changed away from it for MacOS in 3.8 and the rest of the platforms in 3.14. ++multiprocessing = multiprocessing.get_context("fork") # type: ignore[assignment] + + + class LiveServer: # pragma: no cover +-- +2.54.0 + diff --git a/dev-python/pytest-flask/metadata.xml b/dev-python/pytest-flask/metadata.xml index 0f4bbd7ce812..d5c6d1262ac0 100644 --- a/dev-python/pytest-flask/metadata.xml +++ b/dev-python/pytest-flask/metadata.xml @@ -18,5 +18,5 @@ <name>Python</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild b/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild index f8a385c8de77..98ca0db0549f 100644 --- a/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild +++ b/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) inherit distutils-r1 pypi DESCRIPTION="A set of pytest fixtures to test Flask applications" @@ -27,3 +27,7 @@ RDEPEND=" EPYTEST_PLUGIN_LOAD_VIA_ENV=1 EPYTEST_PLUGINS=( "${PN}" ) distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/flask-1.3.0-py3.14.patch +) |
