Skip to content

Commit

Permalink
pypi-importlib_resources: Autospec creation for update from version 5…
Browse files Browse the repository at this point in the history
….10.0 to version 5.10.1

Jason R. Coombs (9):
      GHA pretty env (#67)
      Bump importlib_resources version synced to stdlib.
      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.
      Update changelog
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.

Karthikeyan Singaravelan (1):
      Fix ResourceWarning due to unclosed file resource.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
  • Loading branch information
fenrus75 committed Dec 8, 2022
1 parent 2723747 commit d535a6d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := pypi-importlib_resources
URL = https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
URL = https://files.pythonhosted.org/packages/1c/c8/cfc6ae38e378be60925f121cce01e7f4996dc3aca424799a693e48c9ce4d/importlib_resources-5.10.1.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 3 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-importlib_resources
url = https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
url = https://files.pythonhosted.org/packages/1c/c8/cfc6ae38e378be60925f121cce01e7f4996dc3aca424799a693e48c9ce4d/importlib_resources-5.10.1.tar.gz
archives =
giturl = https://github.com/python/importlib_resources/
domain =
Expand Down Expand Up @@ -35,6 +35,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
Expand Down
22 changes: 11 additions & 11 deletions pypi-importlib_resources.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pypi-importlib_resources
Version : 5.10.0
Release : 26
URL : https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
Version : 5.10.1
Release : 27
URL : https://files.pythonhosted.org/packages/1c/c8/cfc6ae38e378be60925f121cce01e7f4996dc3aca424799a693e48c9ce4d/importlib_resources-5.10.1.tar.gz
Source0 : https://files.pythonhosted.org/packages/1c/c8/cfc6ae38e378be60925f121cce01e7f4996dc3aca424799a693e48c9ce4d/importlib_resources-5.10.1.tar.gz
Summary : Read resources from Python packages
Group : Development/Tools
License : Apache-2.0
Expand All @@ -24,7 +24,7 @@ BuildRequires : pypi-virtualenv

%description
.. image:: https://img.shields.io/pypi/v/importlib_resources.svg
:target: `PyPI link`_
:target: https://pypi.org/project/importlib_resources

%package license
Summary: license components for the pypi-importlib_resources package.
Expand Down Expand Up @@ -54,18 +54,18 @@ python3 components for the pypi-importlib_resources package.


%prep
%setup -q -n importlib_resources-5.10.0
cd %{_builddir}/importlib_resources-5.10.0
%setup -q -n importlib_resources-5.10.1
cd %{_builddir}/importlib_resources-5.10.1
pushd ..
cp -a importlib_resources-5.10.0 buildavx2
cp -a importlib_resources-5.10.1 buildavx2
popd

%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=1665419158
export SOURCE_DATE_EPOCH=1670496924
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -77,8 +77,8 @@ export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto "
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 "
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26
27
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a8c7a6a976fffb9841c548230cb633eda3111c4f/importlib_resources-5.10.0.tar.gz
94d076213f20bcf9d6aa907b231221678731ab41/importlib_resources-5.10.1.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.10.0
5.10.1

0 comments on commit d535a6d

Please sign in to comment.