From 5302ba33d598b052ebec4e58b1c1ab8a095b0db6 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Wed, 28 Jun 2023 15:41:12 +0000 Subject: [PATCH] pypi-portend: Autospec creation for update from version 3.1.0 to version 3.2.0 Anderson Bravalheri (2): Ignore flake8/black warnings with pytest 7.0.1 (jaraco/skeleton#58) Update Github actions to v3 (#62) Hugo van Kemenade (1): Update base URL for PEPs (#61) Jason R. Coombs (56): Remove filtered warnings, addressed upstream. Update badge year Remove setup.py, no longer needed. Add exclusions for pytest 7 deprecations in plugins. Fixes jaraco/skeleton#57. Use the parent category PytestDeprecationWarning, which is available on older pytest versions. Fixes jaraco/skeleton#57. Bump pytest-mypy and remove workaround for dbader/pytest-mypy#131. Require jaraco.packaging 9 adding compatibility for projects with no setup.py file. Ran pre-commit autoupdate Add Python 3.11 into the matrix using workaround from actions/setup-python#213. Drop 3.9 from matrix for efficiency. Prefer spaces for rst. Fixes jaraco/skeleton#64. Honor PEP 518 with pytest-enabler. Ran pre-commit autoupdate Use '-dev' for every Python version. Ref actions/setup-python#213. Use Python 3.11 for cutting releases. Pin flake8. Workaround for tholo/pytest-flake8#87. Update to setup-python v4. Fixes jaraco/skeleton#65. Also update release to v4 Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63. When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197. 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. 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. Finalize Joyce (1): Feat: initial permissions to main.yml (jaraco/skeleton#76) Sviatoslav Sydorenko (1): Inject check job into CI workflow as ultimate flag (#55) Zach Burnett (1): rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68) wim glenn (1): exclude build env from cov reporting (#60) --- Makefile | 2 +- options.conf | 10 ++++++++-- pypi-portend.spec | 41 +++++++++++++++++++++-------------------- release | 2 +- upstream | 2 +- 5 files changed, 32 insertions(+), 25 deletions(-) diff --git a/Makefile b/Makefile index 01d67c9..6b9c48f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-portend -URL = https://files.pythonhosted.org/packages/6e/0a/42bcc9c97744958ce72d33f526e972379b9e90adede8a151f338818c41d4/portend-3.1.0.tar.gz +URL = https://files.pythonhosted.org/packages/8f/fc/bcfc768996b438d6e4bde7a6c8cfd62089847b0f5381a0e0ec2d8ee6b202/portend-3.2.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index f0fd453..6ba83cf 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-portend -url = https://files.pythonhosted.org/packages/6e/0a/42bcc9c97744958ce72d33f526e972379b9e90adede8a151f338818c41d4/portend-3.1.0.tar.gz +url = https://files.pythonhosted.org/packages/8f/fc/bcfc768996b438d6e4bde7a6c8cfd62089847b0f5381a0e0ec2d8ee6b202/portend-3.2.0.tar.gz archives = giturl = https://github.com/jaraco/portend.git 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 @@ -27,6 +29,8 @@ conservative_flags = false dev_requires_extras = false # pass -ffast-math to compiler fast-math = false +# compile full (traditional) debug info +full-debug-info = false # optimize build for speed over size funroll-loops = false # set flags to smallest -02 flags possible @@ -35,6 +39,8 @@ insecure_build = false keepstatic = false # do not require autostart subpackage no_autostart = false +# do not use the replacement pattern for file matching +no_glob = false # do not generate debuginfo for this package nodebug = false # disable stripping binaries @@ -54,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-portend.spec b/pypi-portend.spec index 8154957..0671945 100644 --- a/pypi-portend.spec +++ b/pypi-portend.spec @@ -1,12 +1,13 @@ # # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py +# Using build pattern: pyproject # Name : pypi-portend -Version : 3.1.0 -Release : 49 -URL : https://files.pythonhosted.org/packages/6e/0a/42bcc9c97744958ce72d33f526e972379b9e90adede8a151f338818c41d4/portend-3.1.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/6e/0a/42bcc9c97744958ce72d33f526e972379b9e90adede8a151f338818c41d4/portend-3.1.0.tar.gz +Version : 3.2.0 +Release : 50 +URL : https://files.pythonhosted.org/packages/8f/fc/bcfc768996b438d6e4bde7a6c8cfd62089847b0f5381a0e0ec2d8ee6b202/portend-3.2.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/8f/fc/bcfc768996b438d6e4bde7a6c8cfd62089847b0f5381a0e0ec2d8ee6b202/portend-3.2.0.tar.gz Summary : TCP port monitoring and discovery Group : Development/Tools License : MIT @@ -17,17 +18,17 @@ BuildRequires : buildreq-distutils3 BuildRequires : pypi(py) BuildRequires : pypi(setuptools) BuildRequires : pypi(setuptools_scm) -BuildRequires : pypi(tempora) BuildRequires : pypi-pluggy BuildRequires : pypi-pytest BuildRequires : pypi-tox BuildRequires : pypi-virtualenv +# Suppress stripping binaries +%define __strip /bin/true +%define debug_package %{nil} %description .. image:: https://img.shields.io/pypi/v/portend.svg -:target: `PyPI link`_ -.. image:: https://img.shields.io/pypi/pyversions/portend.svg -:target: `PyPI link`_ +:target: https://pypi.org/project/portend %package license Summary: license components for the pypi-portend package. @@ -58,10 +59,10 @@ python3 components for the pypi-portend package. %prep -%setup -q -n portend-3.1.0 -cd %{_builddir}/portend-3.1.0 +%setup -q -n portend-3.2.0 +cd %{_builddir}/portend-3.2.0 pushd .. -cp -a portend-3.1.0 buildavx2 +cp -a portend-3.2.0 buildavx2 popd %build @@ -69,17 +70,17 @@ 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=1656395089 +export SOURCE_DATE_EPOCH=1687966867 export GCC_IGNORE_WERROR=1 -export CFLAGS="$CFLAGS -fno-lto " -export FCFLAGS="$FFLAGS -fno-lto " -export FFLAGS="$FFLAGS -fno-lto " -export CXXFLAGS="$CXXFLAGS -fno-lto " +export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export FFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export CXXFLAGS="$CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -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/ -export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx" -export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx " +export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " @@ -91,7 +92,7 @@ popd export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-portend -cp %{_builddir}/portend-3.1.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-portend/8e6689d37f82d5617b7f7f7232c94024d41066d1 +cp %{_builddir}/portend-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-portend/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -111,7 +112,7 @@ popd %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/pypi-portend/8e6689d37f82d5617b7f7f7232c94024d41066d1 +/usr/share/package-licenses/pypi-portend/0445ed0f69910eeaee036f09a39a13c6e1f37e12 %files python %defattr(-,root,root,-) diff --git a/release b/release index 95f9650..e373ee6 100644 --- a/release +++ b/release @@ -1 +1 @@ -49 +50 diff --git a/upstream b/upstream index 71df88d..aa0dcbb 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -81cfdabc8448fc227b8eacfc74e9f8e0635eae11/portend-3.1.0.tar.gz +a6d8f4ef4ee08ca85dde5e21a23912330c63c5b1/portend-3.2.0.tar.gz