From 5b9d267ce26a62b53beb726e607ab2764aa20b59 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Mon, 16 Aug 2021 23:53:32 -0700 Subject: [PATCH] jaraco.text: Autospec creation for update from version 3.2.0 to version 3.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Brian Rutledge (1): Use shutil for rmtree Hugo (1): Fix AppVeyor typo Hugo van Kemenade (2): Spelling and capitalisation (#8) Link badge to PyPI rather than static image Jason R. Coombs (74): Python 3 only Cover Python 3.8 in Windows tests Update black in pre-commit and add blacken-docs. Test and release using Azure Pipelines Correct guidance on project creation. Rely on setuptools_scm 3.4 and setuptools 42. Now setup.py is optional. Remove setuptools from test environment. Finish dropping support for Python 2 (I hope). Normalize whitespace Revert "setup.cfg: let python-tag mirror python_requires" Update to bionic for Travis. Correct comment about IPv6 workaround. Suppress warnings in pytest-flake8, pytest-black, and pytest-checkdocs. Prefer pytest-black to pytest-black-multipy Test against Windows and Mac Define a default pool_vm_image Remove tox-venv and tox-pip-version. Tox-venv is discouraged (https://github.com/tox-dev/tox-venv/issues/48#issuecomment-620227405) and tox-pip-version was only there to support tox-venv. venv is dead; long live virtualenv. Remove more references to tox-venv Add workaround for warning emitted when junitxml is used. Ref pytest-dev/pytest#6178. Include mypy for type checking during tests. Ensure virtualenv is upgraded when installing tox. Fixes jaraco/path#188. Run tests on prereleases of Python on Windows. Fixes jaraco/skeleton#17. Add workaround for python/mypy#8627. Fixes jaraco/skeleton#18. Add 'refresh.svg' demonstrating an example of refreshing a project with the latest skeleton. Ref #7. Move workaround for python/mypy#8627 to tox.ini, as adding it to setup.cfg prevents releases to PyPI. Fixes jaraco/skeleton#19. Remove workaround for python/mypy#8627. Ref jaraco/skeleton#18. Create Github releases when releasing the package. Fixes jaraco/skeleton#23. Moved refresh.svg to another branch. Reference the animation from the docs. Ref jaraco/skeleton#7. Add the env var mapping too. Disable pytest-black and pytest-mypy on PyPy. Fixes jaraco/skeleton#22. Ref pytest-dev/pytest#7675. Bump black and blacken-docs to latest stable versions. Use enabled plugin configuration to enable mypy and black when the plugin is present. Ref jaraco/skeleton#22. Also enable flake8 and cov when the plugins are present. Add workflows for running tests. Ref jaraco/skeleton#24. Cut releases from Github Actions instead of Azure Pipelines. Ref jaraco/skeleton#24. Refresh docs to prefer Github Actions to Azure Pipelines. Ref jaraco/skeleton#24. Use RTD v2 config 🧎‍♀️ Genuflect to the types. Remove compatibility code. Update changelog. Test on Python 3.9. Skip 3.7 to avoid creating too many builds. Release on 3.9. Drop tests on Travis, Appveyor, and Azure Pipelines. use add-github-secrets, which infers the secrets needed from the github workflow. Use inline flags with local scope. Honor TOX_WORK_DIR if set. Workaround for tox-dev/tox#20. Collapse skeleton history from archive/2020-12 Update skeleton description to describe the periodic collapse. Fixes #27. Enable automerge Add trim methods to WordSet 🧎‍♀️ Genuflect to the types. Automatically inject project name in docs heading. pre-commit autoupdate Rename 'Automated Tests' to simply 'tests' Add note about automatic merging of PRs and the requirements and limitations. Prefer pytest-enabler to jaraco.test Enable complexity limit. Fixes jaraco/skeleton#34. Add support for namespace packages. Closes jaraco/skeleton#40. Normalize indentation Rely on PEP 420 for namespace package Update changelog. Exclude dist from discovered packages. Fixes jaraco/skeleton#46. It's no longer necessary to filter this warning and it's not a warning anymore. Bump minimum pytest Require twine 3 with keyring unconditionally required. Add comments indicating why the exclusions are present Exclude mypy on Python 3.10 as workaround for python/typed_ast#156. Bump minimums on pytest-checkdocs and pytest-enabler as found on Setuptools. Also deny black on Python 3.10 as workaround for python/typed_ast#156. Add leading */ to coverage.run.omit. Workaround for pytest-dev/pytest-cov#456. Remove automerge. Fixes jaraco/skeleton#49. Enable dependabot (#50) Replace md file with badge linking to documentation site. Fixes jaraco/skeleton#47. Test on Python 3.10 Remove setup_requires, obviated by build-requires in pyproject.toml. Suppress deprecation warnings in flake8 and packaging.tags. Ref pypa/packaging#433. Fix syntax for in_. Closes #5. KOLANICH (1): Added an .editorconfig. Pull request jaraco/skeleton#43. Sviatoslav Sydorenko (4): Replace pep517.build with build (#37) Use license_files instead of license_file in meta (#35) Use `extend-ignore` in flake8 config (#33) Make sphinx fail on any warnings (#36) Vincent Fazio (1): setup.cfg: let python-tag mirror python_requires johnthagen (1): Line wrap LICENSE file layday (1): Require toml extra for setuptools_scm (#12) --- Makefile | 2 +- buildreq_cache | 3 --- jaraco.text.spec | 35 ++++++++++++++++------------------- options.conf | 4 +++- release | 2 +- upstream | 2 +- versions | 2 +- 7 files changed, 23 insertions(+), 27 deletions(-) delete mode 100644 buildreq_cache diff --git a/Makefile b/Makefile index 23a300c..036f1f4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := jaraco.text -URL = https://files.pythonhosted.org/packages/03/3e/4fd93c4ca0524b3a55ab6c9a1cc5e2ec4fdbf6cfbf4c23a2fbfcf450e348/jaraco.text-3.2.0.tar.gz +URL = https://files.pythonhosted.org/packages/53/d2/40ff557369eccee312b2d3ff4cb97373e8ffb25afb92294ff650a1e45795/jaraco.text-3.5.1.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/buildreq_cache b/buildreq_cache deleted file mode 100644 index ec4b4f1..0000000 --- a/buildreq_cache +++ /dev/null @@ -1,3 +0,0 @@ -3.2.0 -setuptools -setuptools_scm-python \ No newline at end of file diff --git a/jaraco.text.spec b/jaraco.text.spec index 3f2ffa6..627d0a4 100644 --- a/jaraco.text.spec +++ b/jaraco.text.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : jaraco.text -Version : 3.2.0 -Release : 12 -URL : https://files.pythonhosted.org/packages/03/3e/4fd93c4ca0524b3a55ab6c9a1cc5e2ec4fdbf6cfbf4c23a2fbfcf450e348/jaraco.text-3.2.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/03/3e/4fd93c4ca0524b3a55ab6c9a1cc5e2ec4fdbf6cfbf4c23a2fbfcf450e348/jaraco.text-3.2.0.tar.gz +Version : 3.5.1 +Release : 13 +URL : https://files.pythonhosted.org/packages/53/d2/40ff557369eccee312b2d3ff4cb97373e8ffb25afb92294ff650a1e45795/jaraco.text-3.5.1.tar.gz +Source0 : https://files.pythonhosted.org/packages/53/d2/40ff557369eccee312b2d3ff4cb97373e8ffb25afb92294ff650a1e45795/jaraco.text-3.5.1.tar.gz Summary : Module for text manipulation Group : Development/Tools License : MIT @@ -14,21 +14,19 @@ Requires: jaraco.text-license = %{version}-%{release} Requires: jaraco.text-python = %{version}-%{release} Requires: jaraco.text-python3 = %{version}-%{release} Requires: jaraco.functools -Requires: six BuildRequires : buildreq-distutils3 BuildRequires : jaraco.functools BuildRequires : pluggy BuildRequires : py-python BuildRequires : pytest -BuildRequires : setuptools -BuildRequires : setuptools_scm-python -BuildRequires : six BuildRequires : tox BuildRequires : virtualenv %description .. image:: https://img.shields.io/pypi/v/jaraco.text.svg -:target: https://pypi.org/project/jaraco.text +:target: `PyPI link`_ +.. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg +:target: `PyPI link`_ %package license Summary: license components for the jaraco.text package. @@ -53,30 +51,29 @@ Group: Default Requires: python3-core Provides: pypi(jaraco.text) Requires: pypi(jaraco.functools) -Requires: pypi(six) %description python3 python3 components for the jaraco.text package. %prep -%setup -q -n jaraco.text-3.2.0 -cd %{_builddir}/jaraco.text-3.2.0 +%setup -q -n jaraco.text-3.5.1 +cd %{_builddir}/jaraco.text-3.5.1 %build 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=1583536075 +export SOURCE_DATE_EPOCH=1629183207 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib export NM=gcc-nm -export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 " -export FCFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 " -export FFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 " -export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 " +export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=auto " +export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto " +export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto " +export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto " export MAKEFLAGS=%{?_smp_mflags} python3 setup.py build @@ -84,7 +81,7 @@ python3 setup.py build export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/jaraco.text -cp %{_builddir}/jaraco.text-3.2.0/LICENSE %{buildroot}/usr/share/package-licenses/jaraco.text/a1474494d96f6ddb3a9a0d767a09871ffc388faf +cp %{_builddir}/jaraco.text-3.5.1/LICENSE %{buildroot}/usr/share/package-licenses/jaraco.text/8e6689d37f82d5617b7f7f7232c94024d41066d1 python3 -tt setup.py build install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -98,7 +95,7 @@ rm -f %{buildroot}/usr/lib/python3.*/site-packages/jaraco/__pycache__/__init__.* %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/jaraco.text/a1474494d96f6ddb3a9a0d767a09871ffc388faf +/usr/share/package-licenses/jaraco.text/8e6689d37f82d5617b7f7f7232c94024d41066d1 %files python %defattr(-,root,root,-) diff --git a/options.conf b/options.conf index c48a0f5..fc82fb4 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = jaraco.text -url = https://files.pythonhosted.org/packages/03/3e/4fd93c4ca0524b3a55ab6c9a1cc5e2ec4fdbf6cfbf4c23a2fbfcf450e348/jaraco.text-3.2.0.tar.gz +url = https://files.pythonhosted.org/packages/53/d2/40ff557369eccee312b2d3ff4cb97373e8ffb25afb92294ff650a1e45795/jaraco.text-3.5.1.tar.gz archives = giturl = https://github.com/jaraco/jaraco.text domain = @@ -39,6 +39,8 @@ no_autostart = false nodebug = false # disable stripping binaries nostrip = false +# configure build also for openmpi +openmpi = false # optimize build for size over speed optimize_size = false # set profile for pgo diff --git a/release b/release index 48082f7..b1bd38b 100644 --- a/release +++ b/release @@ -1 +1 @@ -12 +13 diff --git a/upstream b/upstream index 93a52b1..6c70e2d 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -d0c61dcb1f5c542e91ebd8d190bcd2ae20762ff6/jaraco.text-3.2.0.tar.gz +75152eb03b72938402a0f57234e3b390d7d1fab9/jaraco.text-3.5.1.tar.gz diff --git a/versions b/versions index 944880f..d5c0c99 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -3.2.0 +3.5.1