Marcel Telka
2024-03-05 e5dc09beeae989155be4c57633615eeb61f8b105
python/Faker: update to 24.0.0

3 files modified
60 ■■■■ changed files
components/python/Faker/Makefile 4 ●●●● patch | view | raw | blame | history
components/python/Faker/patches/01-pytest-disable-plugins.patch 4 ●●●● patch | view | raw | blame | history
components/python/Faker/test/results-all.master 52 ●●●●● patch | view | raw | blame | history
components/python/Faker/Makefile
@@ -19,11 +19,11 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        Faker
HUMAN_VERSION =            23.3.0
HUMAN_VERSION =            24.0.0
COMPONENT_SUMMARY =        Faker - Faker is a Python package that generates fake data for you.
COMPONENT_PROJECT_URL =        https://github.com/joke2k/faker
COMPONENT_ARCHIVE_HASH =    \
    sha256:458d93580de34403a8dec1e8d5e6be2fee96c4deca63b95d71df7a6a80a690de
    sha256:ea6f784c40730de0f77067e49e78cdd590efb00bec3d33f577492262206c17fc
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE.txt
components/python/Faker/patches/01-pytest-disable-plugins.patch
@@ -1,5 +1,5 @@
--- Faker-23.3.0/tests/pytest/test_unique_clear.py.orig
+++ Faker-23.3.0/tests/pytest/test_unique_clear.py
--- Faker-24.0.0/tests/pytest/test_unique_clear.py.orig
+++ Faker-24.0.0/tests/pytest/test_unique_clear.py
@@ -32,6 +32,6 @@
         """,
     )
components/python/Faker/test/results-all.master
@@ -5,7 +5,7 @@
cachedir: .tox/py$(PYV)/.pytest_cache
rootdir: $(@D)
configfile: setup.cfg
collecting ... collected 1876 items
collecting ... collected 1878 items
Use a separate pytest run for tests like this with the "--exclusive-
Use a separate pytest run for tests like this with the "--exclusive-
@@ -1196,6 +1196,8 @@
tests/providers/test_person.py::TestEsCO::test_first_names PASSED
tests/providers/test_person.py::TestEsCO::test_last_names PASSED
tests/providers/test_person.py::TestEsCO::test_prefix PASSED
tests/providers/test_person.py::TestEtEE::test_first_name PASSED
tests/providers/test_person.py::TestEtEE::test_last_name PASSED
tests/providers/test_person.py::TestFiFI::test_gender_first_names PASSED
tests/providers/test_person.py::TestFiFI::test_last_names PASSED
tests/providers/test_person.py::TestFrBE::test_first_name PASSED
@@ -1902,52 +1904,6 @@
=============================== warnings summary ===============================
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pytest_reporter/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import get_distribution, DistributionNotFound
tests/pytest/test_unique_clear.py::test_unique_clears
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('paste')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('flufl')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py::test_unique_clears
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze.sphinx')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2331: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(parent)
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zc')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py: 15 warnings
  $(PYTHON_DIR)/vendor-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)
tests/pytest/test_unique_clear.py::test_unique_clears
  $(PYTHON_DIR)/vendor-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.
    warner(PytestBenchmarkWarning(text))
@@ -1956,7 +1912,7 @@
    warnings.warn("fr_QC locale is deprecated. Please use fr_CA.")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======== 1845 passed, 31 skipped, 27 warnings ========
======== 1847 passed, 31 skipped, 2 warnings ========
py$(PYV): commands[1]> python -m coverage run --source=faker -a -m pytest --exclusive-faker-session tests/pytest/session_overrides
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python