Skip to content

Commit

Permalink
pypi-importlib_metadata: Autospec creation for update from version 4.…
Browse files Browse the repository at this point in the history
…10.1 to version 4.11.0

Arie Bovenberg (2):
      use AssertRaises as context manager
      add missing __slots__ to DeprecatedList

Jason R. Coombs (11):
      Refactor regular expression to avoid expensive backtracking on contrived entry points.
      Update changelog
      Prefer functional approach, avoiding any locals.
      Update changelog.
      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.
      Update test to capture the actual expectation on EntryPoints object and remove deprecated usage.
      Update changelog.
      ⚫ Fade to black.

Nikita Sobolev (1):
      Do not leak `method_name` in `DeprecatedList`
  • Loading branch information
fenrus75 committed Feb 11, 2022
1 parent 3d95d07 commit 6359a8e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 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_metadata
URL = https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz
URL = https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 1 addition & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-importlib_metadata
url = https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz
url = https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz
archives =
giturl = https://github.com/python/importlib_metadata
domain =
Expand Down
18 changes: 8 additions & 10 deletions pypi-importlib_metadata.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pypi-importlib_metadata
Version : 4.10.1
Release : 82
URL : https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz
Source0 : https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz
Version : 4.11.0
Release : 83
URL : https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz
Summary : Read metadata from Python packages
Group : Development/Tools
License : Apache-2.0
Expand All @@ -19,7 +19,6 @@ BuildRequires : pypi(py)
BuildRequires : pypi(setuptools)
BuildRequires : pypi(setuptools_scm)
BuildRequires : pypi(trampolim)
BuildRequires : pypi(typing_extensions)
BuildRequires : pypi(zipp)
BuildRequires : pypi-pluggy
BuildRequires : pypi-pytest
Expand Down Expand Up @@ -53,24 +52,23 @@ Summary: python3 components for the pypi-importlib_metadata package.
Group: Default
Requires: python3-core
Provides: pypi(importlib_metadata)
Requires: pypi(typing_extensions)
Requires: pypi(zipp)

%description python3
python3 components for the pypi-importlib_metadata package.


%prep
%setup -q -n importlib_metadata-4.10.1
cd %{_builddir}/importlib_metadata-4.10.1
%setup -q -n importlib_metadata-4.11.0
cd %{_builddir}/importlib_metadata-4.11.0
%patch1 -p1

%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=1642440422
export SOURCE_DATE_EPOCH=1644597277
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
Expand All @@ -83,7 +81,7 @@ python3 -m build --wheel --skip-dependency-check --no-isolation
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata
cp %{_builddir}/importlib_metadata-4.10.1/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4
cp %{_builddir}/importlib_metadata-4.11.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
82
83
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
370c7617fcf2ce5f7fdee9522e2c7f7fa4d2765a/importlib_metadata-4.10.1.tar.gz
5f8a7d2997658b937bbc1c0dce51ead7b90718a0/importlib_metadata-4.11.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.10.1
4.11.0

0 comments on commit 6359a8e

Please sign in to comment.