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
…12.0 to version 5.0.0

Anderson Bravalheri (13):
      Capture expectations about _normalized_name compatibility in test
      Add compatibility layer for Python 3.8 stdlib lack of _normalized_name
      Add compatibility for EntryPoint.matches in stdlib 3.8/3.9
      Add type annotations to EntryPoint.name/value/group
      Make sure Python 3.8/3.9 compatibility tests run on CI
      Workaround missing distribution name
      Fix typecheck error by simplifying compatibility shim
      Add "short circuit" optimization
      Extract tests for Python 3.9 compatibility into their own file
      Extract Python 3.9 compatibility layer into its own file
      Add comments clarifying implementation choices
      Fix imports
      Skip coverage in type checking statement

C.A.M. Gerlach (6):
      Add intersphinx support for packaging.python.org
      Clarify import vs distribution package terms in using.rst
      Link distribution/import package terms to PyPA glossary on 1st use
      Add admonition further clarifying import vs distribution packages
      Link to canonical core metadata spec instead of an old historical PEP
      Mention API ref & migration guide in importlib_metadata See Also

Jason R. Coombs (35):
      Add Tidelift template
      Rely on alabaster theme to support sidebar rendering.
      Use nicer, simpler phrasing
      Add support for automatic publishing of release notes
      Use technique for environment passing matching that found in jaraco/skeleton
      Move Tidelift token into Travis configuration
      Update badge URL
      Add funding reference to project
      List sidebars to avoid errors looking for template 't'
      Rebrand to 'For Enterprise'
      Add a 'For Enterprise' section to the README
      Include token passthrough for azure pipelines publish stage.
      Move Tidelift release note publishing to Github Actions.
      Tidelift no longer requires or expects publishing release notes.
      Remove Tidelift from main.yml, no longer needed
      Implement tidelift banner using a Sphinx directive implemented by jaraco.tidelift.
      Consolidate more language between the backport and the canonical usage docs.
      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.
      Update changelog
      Expand possibilities for "top-level names".
      Remove SelectableGroups
      Remove DeprecatedList
      Remove compatibility for EntryPoints.__getitem__ by index.
      Remove support for cast of iterable of entry points to dict. Ref #97.
      Update changelog
      Disable flake8 due to incompatibility.
      Update documentation around removal of SelectableGroups.

Oleg Iarygin (1):
      gh-93851: Fix all broken links in Doc/ (GH-93853)

Ville Skyttä (1):
      bpo-22295: use python -m pip rather than plain pip in more examples (GH-24003)
  • Loading branch information
fenrus75 committed Oct 3, 2022
1 parent 93838e4 commit 436dc93
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 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/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
URL = https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.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/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
url = https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
archives =
giturl = https://github.com/python/importlib_metadata/
domain =
Expand Down
18 changes: 9 additions & 9 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.12.0
Release : 93
URL : https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
Version : 5.0.0
Release : 94
URL : https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
Summary : Read metadata from Python packages
Group : Development/Tools
License : Apache-2.0
Expand Down Expand Up @@ -59,19 +59,19 @@ python3 components for the pypi-importlib_metadata package.


%prep
%setup -q -n importlib_metadata-4.12.0
cd %{_builddir}/importlib_metadata-4.12.0
%setup -q -n importlib_metadata-5.0.0
cd %{_builddir}/importlib_metadata-5.0.0
%patch1 -p1
pushd ..
cp -a importlib_metadata-4.12.0 buildavx2
cp -a importlib_metadata-5.0.0 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=1656342835
export SOURCE_DATE_EPOCH=1664807086
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
Expand All @@ -93,7 +93,7 @@ popd
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata
cp %{_builddir}/importlib_metadata-4.12.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890
cp %{_builddir}/importlib_metadata-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890 || :
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 @@
93
94
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ec68de1ec1800048de8656b9d211e22b7fe7c53e/importlib_metadata-4.12.0.tar.gz
38794db2afb90ed0be04bd8b5996a5b5fd45acc2/importlib_metadata-5.0.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.12.0
5.0.0

0 comments on commit 436dc93

Please sign in to comment.