From 43a5c03580258931a2565ffbf22220ede1489bd5 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 10 Jul 2023 15:32:48 +0000 Subject: [PATCH] pypi-jaraco.classes: Autospec creation for update from version 3.2.3 to version 3.3.0 Jason R. Coombs (43): Adopt furo theme for docs. Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635). GHA pretty env (#67) Pin mypy to '<0.990' due to realpython/pytest-mypy#141 Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink. Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057. Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux. Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87. Honor ResourceWarnings. Fixes jaraco/skeleton#73. tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74. Remove unnecessary shebang and encoding header in docs conf. Prevent Python 3.12 from blocking checks. Build docs in CI, including sphinx-lint. Put tidelift docs dependency in its own section to limit merge conflicts. Update badge for 2023 ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default. Enable default encoding warning where available. See PEP 597. Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67. Exempt warning. Workaround for realpython/pytest-mypy#152 Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750). Remove reference to EncodingWarning as it doesn't exist on some Pythons. Revert "exclude build env from cov reporting (jaraco/skeleton#60)" Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56. Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78. Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt. Make substitution fields more prominent and distinct from true 'skeleton' references. (#71) Suppress EncodingWarning in build.env. Ref pypa/build#615. Remove reference to EncodingWarning as it doesn't exist on some Pythons. Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401. Add badge for Ruff. Remove inclusion of python version for docs Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83. Replace workaround for actions/setup-python#508 with 'allow-prereleases' Remove tox boilerplate, no longer necessary with later versions of tox. Require Python 3.8 or later. Expand 'finalize' to commit and tag the change. Leverage pytest-enabler 2.2 for the default config. Prefer 3.x for Python version (latest stable). Collapse skeleton history. Workaround for jaraco/skeleton#87. Add links to project home page and pypi. Fixes jaraco/skeleton#77. Replace redundant step names with simple 'Run'. Increase visibility of security policy. (#4) Finalize Joyce (1): Feat: initial permissions to main.yml (jaraco/skeleton#76) Zach Burnett (1): rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68) --- Makefile | 2 +- options.conf | 6 ++++-- pypi-jaraco.classes.spec | 32 ++++++++++++++++---------------- release | 2 +- upstream | 2 +- 5 files changed, 23 insertions(+), 21 deletions(-) diff --git a/Makefile b/Makefile index d8dd661..f9a2a78 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-jaraco.classes -URL = https://files.pythonhosted.org/packages/bf/02/a956c9bfd2dfe60b30c065ed8e28df7fcf72b292b861dca97e951c145ef6/jaraco.classes-3.2.3.tar.gz +URL = https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 3cdf0e1..6d13bb7 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-jaraco.classes -url = https://files.pythonhosted.org/packages/bf/02/a956c9bfd2dfe60b30c065ed8e28df7fcf72b292b861dca97e951c145ef6/jaraco.classes-3.2.3.tar.gz +url = https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz archives = giturl = https://github.com/jaraco/jaraco.classes/ domain = @@ -19,6 +19,8 @@ autoupdate = true broken_c++ = false # disable parallelization during build broken_parallel_build = false +# create vendor archive with cargo +cargo_vendor = false # this package is a library compatibility package and only ships versioned library files compat = false # set conservative build flags @@ -58,7 +60,7 @@ skip_tests = false # add .so files to the lib package instead of dev so_to_lib = false # configure build for avx2 -use_avx2 = false +use_avx2 = true # configure build for avx512 use_avx512 = false # add clang flags diff --git a/pypi-jaraco.classes.spec b/pypi-jaraco.classes.spec index fbe6a11..4976e30 100644 --- a/pypi-jaraco.classes.spec +++ b/pypi-jaraco.classes.spec @@ -1,12 +1,13 @@ # # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py +# Using build pattern: pyproject # Name : pypi-jaraco.classes -Version : 3.2.3 -Release : 34 -URL : https://files.pythonhosted.org/packages/bf/02/a956c9bfd2dfe60b30c065ed8e28df7fcf72b292b861dca97e951c145ef6/jaraco.classes-3.2.3.tar.gz -Source0 : https://files.pythonhosted.org/packages/bf/02/a956c9bfd2dfe60b30c065ed8e28df7fcf72b292b861dca97e951c145ef6/jaraco.classes-3.2.3.tar.gz +Version : 3.3.0 +Release : 35 +URL : https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz Summary : Utility functions for Python class constructs Group : Development/Tools License : MIT @@ -14,7 +15,6 @@ Requires: pypi-jaraco.classes-license = %{version}-%{release} Requires: pypi-jaraco.classes-python = %{version}-%{release} Requires: pypi-jaraco.classes-python3 = %{version}-%{release} BuildRequires : buildreq-distutils3 -BuildRequires : pypi(more_itertools) BuildRequires : pypi(py) BuildRequires : pypi(setuptools) BuildRequires : pypi(setuptools_scm) @@ -28,7 +28,7 @@ BuildRequires : pypi-virtualenv %description .. image:: https://img.shields.io/pypi/v/jaraco.classes.svg -:target: `PyPI link`_ +:target: https://pypi.org/project/jaraco.classes %package license Summary: license components for the pypi-jaraco.classes package. @@ -59,10 +59,10 @@ python3 components for the pypi-jaraco.classes package. %prep -%setup -q -n jaraco.classes-3.2.3 -cd %{_builddir}/jaraco.classes-3.2.3 +%setup -q -n jaraco.classes-3.3.0 +cd %{_builddir}/jaraco.classes-3.3.0 pushd .. -cp -a jaraco.classes-3.2.3 buildavx2 +cp -a jaraco.classes-3.3.0 buildavx2 popd %build @@ -70,15 +70,15 @@ export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1672283171 +export SOURCE_DATE_EPOCH=1689003164 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib export NM=gcc-nm -export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " -export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " -export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " -export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " +export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation pushd ../buildavx2/ @@ -95,7 +95,7 @@ popd export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-jaraco.classes -cp %{_builddir}/jaraco.classes-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.classes/8e6689d37f82d5617b7f7f7232c94024d41066d1 || : +cp %{_builddir}/jaraco.classes-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.classes/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -118,7 +118,7 @@ rm -f %{buildroot}*/usr/lib/python3.*/site-packages/jaraco/__pycache__/__init__. %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/pypi-jaraco.classes/8e6689d37f82d5617b7f7f7232c94024d41066d1 +/usr/share/package-licenses/pypi-jaraco.classes/0445ed0f69910eeaee036f09a39a13c6e1f37e12 %files python %defattr(-,root,root,-) diff --git a/release b/release index a787364..8f92bfd 100644 --- a/release +++ b/release @@ -1 +1 @@ -34 +35 diff --git a/upstream b/upstream index 02cc994..17b49fb 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -e044aa13294a7d3039d04a8ac60849dc24b120a4/jaraco.classes-3.2.3.tar.gz +8b2a5b35e5c73865698d09582846fe7e28e32e1c/jaraco.classes-3.3.0.tar.gz