From cf4a9da4132985ef6ccab0f83522b31e22794389 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Tue, 20 Aug 2024 01:59:45 +0000 Subject: [PATCH] pypi-jaraco.context: Autospec creation for update from version 5.3.0 to version 6.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bartosz Sławecki (2): Add link to blog entry from jaraco/skeleton#115 above CI build matrix. Move project metadata to `pyproject.toml` (jaraco/skeleton#122) Dimitri Papadopoulos Orfanos (2): "preserve" does not require preview any more (jaraco/skeleton#133) Enforce ruff/Perflint rule PERF401 (jaraco/skeleton#132) Jason R. Coombs (24): Pin against pytest 8.1.x due to pytest-dev/pytest#12194. Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml. Allow macos on Python 3.8 to fail as GitHub CI has dropped support. Move project.urls to appear in the order that ini2toml generates it. Remove project.scripts. Revert "Allow macos on Python 3.8 to fail as GitHub CI has dropped support." Rename extras to align with core metadata spec. Prefer "Source" to "Homepage" for the repository label. Exclude pytest-ruff (and thus ruff), which cannot build on cygwin. Re-enable preview, this time not for one specific feature, but for all features in preview. Replace stale comment with a docstring explaining the behavior. Expand the docstring for on_interrupt to explain where it might be useful. Removed deprecated 'tarball_context', 'infer_compression', and 'null' contexts. Moved module into its own package. Replace if block with algebraic expression. Replace explicit devnull with subprocess.devnull. Added test coverage for repo_context. Fixed bug in repo_context where standard output from git would not be hidden (because git emits standard output on the stderr stream). Suppress logging from the tarfile_served. Expanded test coverage to cover 100% of the code. Declare project as typed. Finalize Apply Gemini's ideas for improving the types. Add workaround for cleaning out read-only files when wiping repo context. 🚡 Toil the docs. --- Makefile | 2 +- options.conf | 6 +++++- pypi-jaraco.context.spec | 22 +++++++++++----------- release | 2 +- upstream | 2 +- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index dad42a2..53d579f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-jaraco.context -URL = https://files.pythonhosted.org/packages/c9/60/e83781b07f9a66d1d102a0459e5028f3a7816fdd0894cba90bee2bbbda14/jaraco.context-5.3.0.tar.gz +URL = https://files.pythonhosted.org/packages/45/ae/0c1bf682ffeed5c39fbca6fd5878f262e635a7eaafd6f8c482da333f2639/jaraco_context-6.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 3c9e732..357df6e 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-jaraco.context -url = https://files.pythonhosted.org/packages/c9/60/e83781b07f9a66d1d102a0459e5028f3a7816fdd0894cba90bee2bbbda14/jaraco.context-5.3.0.tar.gz +url = https://files.pythonhosted.org/packages/45/ae/0c1bf682ffeed5c39fbca6fd5878f262e635a7eaafd6f8c482da333f2639/jaraco_context-6.0.0.tar.gz archives = giturl = https://github.com/jaraco/jaraco.context/ domain = @@ -17,6 +17,8 @@ allow_test_failures = false asneeded = false # this package is trusted enough to automatically update (used by other tools) autoupdate = true +# try to use mock short circuit to avoid full rebuilds +avoid_rebuild = false # extend flags with '-std=gnu++98 broken_c++ = false # disable parallelization during build @@ -71,6 +73,8 @@ use_avx512 = false use_clang = false # configure build for lto use_lto = true +# use ninja build files +use_ninja = false # require package verification for build verify_required = false diff --git a/pypi-jaraco.context.spec b/pypi-jaraco.context.spec index 9a47fbc..29adbe8 100644 --- a/pypi-jaraco.context.spec +++ b/pypi-jaraco.context.spec @@ -2,14 +2,14 @@ # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # Using build pattern: pyproject -# autospec version: v7 -# autospec commit: f56f1fa +# autospec version: v18 +# autospec commit: f35655a # Name : pypi-jaraco.context -Version : 5.3.0 -Release : 22 -URL : https://files.pythonhosted.org/packages/c9/60/e83781b07f9a66d1d102a0459e5028f3a7816fdd0894cba90bee2bbbda14/jaraco.context-5.3.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/c9/60/e83781b07f9a66d1d102a0459e5028f3a7816fdd0894cba90bee2bbbda14/jaraco.context-5.3.0.tar.gz +Version : 6.0.0 +Release : 23 +URL : https://files.pythonhosted.org/packages/45/ae/0c1bf682ffeed5c39fbca6fd5878f262e635a7eaafd6f8c482da333f2639/jaraco_context-6.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/45/ae/0c1bf682ffeed5c39fbca6fd5878f262e635a7eaafd6f8c482da333f2639/jaraco_context-6.0.0.tar.gz Summary : Useful decorators and context managers Group : Development/Tools License : MIT @@ -60,10 +60,10 @@ python3 components for the pypi-jaraco.context package. %prep -%setup -q -n jaraco.context-5.3.0 -cd %{_builddir}/jaraco.context-5.3.0 +%setup -q -n jaraco_context-6.0.0 +cd %{_builddir}/jaraco_context-6.0.0 pushd .. -cp -a jaraco.context-5.3.0 buildavx2 +cp -a jaraco_context-6.0.0 buildavx2 popd %build @@ -71,7 +71,7 @@ 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=1712500229 +export SOURCE_DATE_EPOCH=1724119182 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -116,7 +116,7 @@ LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-jaraco.context -cp %{_builddir}/jaraco.context-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.context/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : +cp %{_builddir}/jaraco_context-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.context/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : python3 -m installer --destdir=%{buildroot} dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : diff --git a/release b/release index 2bd5a0a..4099407 100644 --- a/release +++ b/release @@ -1 +1 @@ -22 +23 diff --git a/upstream b/upstream index 24d0a00..43fe60e 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -c470040637c1d7c8a701c9ace845405247fcafe6/jaraco.context-5.3.0.tar.gz +b57e272bd39fff6e81833f8deb0c75a2693523aa/jaraco_context-6.0.0.tar.gz