Skip to content

Commit

Permalink
pypi-setuptools: Autospec creation for update from version 69.0.3 to …
Browse files Browse the repository at this point in the history
…version 69.1.0

Anderson Bravalheri (19):
      Add regression test for pkg_resources._mac_vers
      Remove pytest marks no longer necessary in regression test
      Update README removing broken link to PyPUG page
      Ensure test does not fail due to functools.lru_cache
      Use functools.lru_cache for 3.8 compatibility
      Remove unecessary unpacking of iterator into list
      Hide unecessary parent exception
      Promote a cleaner error message if a function was never patched
      Ignore path that are automatically generated
      Remove unecessary 'getattr' for tokenize.open
      Move tomllib import to py311compat
      Ignore side-warning in test
      Fix warning message matching
      Refactor pytest.mark to be more specific
      Improve formatting for consistency
      Remove trailling spaces
      Update pyproject_config.rst
      Expand on warning note for data_files
      Grammar fixes

Avasam (14):
      Remove possibly redundant importlib_machinery code
      Fix Ruff test
      Update Python < 3.8 (3.2 to 3.7) obsolete code and comments
      Restore better config examples
      Add newsfragment
      Fix accidental indentation change
      Fix RuffError post-merge
      Fix import error post-merge
      Update newsfragments/4097.feature.rst
      Update missed redundant code.
      Mark interfaces as Protocols and add missing `self` argument
      post-merge fix
      Fix "type information included by default"'s added version
      Create 4182.doc.rst

Bartosz Sławecki (1):
      Tweak coverage configuration for type checking (jaraco/skeleton#97)

Dimitri Papadopoulos (27):
      `plistlib.readPlist()` is missing from Python ≥ 3.9
      Fix flake8-bugbear warning
      Fix flake8-bugbear warning
      Fix flake8-bugbear warning
      Fix flake8-bugbear warning
      Fix flake8-bugbear warning
      Fix flake8-bugbear warning
      Proper fix for flake8-bugbear warning B006
      Fix refurb warning
      Fix refurb warning
      Add pyupgrade rules to ruff config
      "yield from", instead of "yield" in a loop
      io.open() → open()
      Simplify super() calls
      Don't cast string literals with str()
      os.error → OSError
      Use `capture_output`
      Remove extraneous pair of prentheses
      Get rid of one last `coding: utf-8`
      Use byte literals instead of .encode()
      Use generator instead of list
      ruff: extend-exclude → exclude
      Fix a couple typos found by codespell
      Fix flake8-return warning
      Fix flake8-return warning
      Fix flake8-return warning
      Fix flake8-return warning

Dimitri Papadopoulos Orfanos (5):
      Use the ruff formatter (jaraco/skeleton#99)
      ruff: extended-ignore → ignore (jaraco/skeleton#105)
      Update setuptools/monkey.py
      Better error message in setuptools/command/egg_info.py
      Update setuptools/config/_validate_pyproject/error_reporting.py

Eli Schwartz (1):
      Use the stdlib toml library on sufficiently new python

Jason R. Coombs (28):
      Separate collateral jobs on different lines for easier override/extension.
      Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96.
      Exclude ruff on vendored directories.
      Exclude distutils from ruff formatting/linting.
      Rebuild the project using ruff style.
      Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103.
      Bump year on badge
      Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
      Exclude docs and tests directories properly per Setuptools behavior.
      Rely on default discovery for good heuristics for finding packages.
      Rely on pytest-home for the alternate home directory.
      Rely on pytest-home for the alternate home directory.
      Enable preview to enable preserving quotes.
      Use latest versions in RTD boilerplate.
      👹 Feed the hobgoblins (delint).
      👹 Feed the hobgoblins (delint).
      👹 Feed the hobgoblins (delint).
      Create compat module.
      Move Python 3.10 compatibility into compat module.
      Move Python 3.11 compatibility into compat module.
      Restore exclusion of docs from the build. Closes #4213.
      Restore expectation that egg-link files will be named with dashes and not underscores for compatibility with older pips.
      Replace the incorrect phrase about 'unescaping' and instead clarify that the transformations are irreversible.
      Rearrange escaping functions to describe them in the order they should be used.
      Document the incorrect behavior revealed by #4167.
      Add a test capturing the desired expectation, marked as xfail for now.
      Add news fragment.
      Bump version: 69.0.3 → 69.1.0

Karolina Surma (1):
      Point to a live documentation

Matthias Koeppe (2):
      CI: Update ci-sage.yml after move of Sage development to GitHub
      .github/workflows/ci-sage.yml: Update for changed spkg source type

Sviatoslav Sydorenko (1):
      Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93)

Thomas Grainger (2):
      expand on what data_files' directory and files do
      update data_files docs from PR suggestion

Tim Paine (1):
      Default optional-dependencies to dict if missing in pyproject, fixes #3801

Vladimir Fokow (17):
      [Docs] #4198 acknowledged the side effects of running said commands
      add a news fragment
      update the note
      update the section with the current info
      fix link
      add a new fragment
      fix link syntax
      some fixes after seeing the Preview
      finally fix link
      reorder: pyproject.toml first, setup.cfg second
      remove the last sentence (it wasn't good)
      add a comma
      replace "usually" with "for example" setup.cfg
      make links easier to click - by placing them farther apart
      implement suggestions from code review
      reword the note
      implement suggested changes

graingert-coef (4):
      fix data_files kwarg documentation
      remove claim that data_files does not work with wheels
      fix typo in interpreted text role "docs" -> doc
      fix path to document userguide/datafiles -> /userguide/datafiles
  • Loading branch information
fenrus75 committed Feb 12, 2024
1 parent a2dd9c0 commit 468821e
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 24 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-setuptools
URL = https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7/setuptools-69.0.3.tar.gz
URL = https://files.pythonhosted.org/packages/c9/3d/74c56f1c9efd7353807f8f5fa22adccdba99dc72f34311c30a69627a0fad/setuptools-69.1.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-setuptools
url = https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7/setuptools-69.0.3.tar.gz
url = https://files.pythonhosted.org/packages/c9/3d/74c56f1c9efd7353807f8f5fa22adccdba99dc72f34311c30a69627a0fad/setuptools-69.1.0.tar.gz
archives =
giturl = https://github.com/pypa/setuptools.git
domain =
Expand Down
63 changes: 43 additions & 20 deletions pypi-setuptools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: pyproject
# autospec version: v3
# autospec commit: 537da873db9b
# autospec version: v4
# autospec commit: da8b975
#
Name : pypi-setuptools
Version : 69.0.3
Release : 317
URL : https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7/setuptools-69.0.3.tar.gz
Source0 : https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7/setuptools-69.0.3.tar.gz
Version : 69.1.0
Release : 318
URL : https://files.pythonhosted.org/packages/c9/3d/74c56f1c9efd7353807f8f5fa22adccdba99dc72f34311c30a69627a0fad/setuptools-69.1.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/c9/3d/74c56f1c9efd7353807f8f5fa22adccdba99dc72f34311c30a69627a0fad/setuptools-69.1.0.tar.gz
Summary : Easily download, build, install, upgrade, and uninstall Python packages
Group : Development/Tools
License : MIT Python-2.0 ZPL-2.0
Expand Down Expand Up @@ -63,18 +63,21 @@ python3 components for the pypi-setuptools package.


%prep
%setup -q -n setuptools-69.0.3
cd %{_builddir}/setuptools-69.0.3
%setup -q -n setuptools-69.1.0
cd %{_builddir}/setuptools-69.1.0
pushd ..
cp -a setuptools-69.0.3 buildavx2
cp -a setuptools-69.1.0 buildavx2
popd
pushd ..
cp -a setuptools-69.1.0 buildapx
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=1705454792
export SOURCE_DATE_EPOCH=1707758089
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -92,11 +95,21 @@ LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
export MAKEFLAGS=%{?_smp_mflags}
python3 -m build --wheel --skip-dependency-check --no-isolation
pushd ../buildavx2/
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
python3 -m build --wheel --skip-dependency-check --no-isolation

popd
pushd ../buildapx/
CC=gcc-14
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -mapxf -mavx10.1 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -mapxf -mavx10.1 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 -mapxf -mavx10.1 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
python3 -m build --wheel --skip-dependency-check --no-isolation

popd
Expand Down Expand Up @@ -125,13 +138,22 @@ echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
pushd ../buildavx2/
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl
popd
pushd ../buildapx/
CC=gcc-14
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -mapxf -mavx10.1 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -mapxf -mavx10.1 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 -mapxf -mavx10.1 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
python3 -m installer --destdir=%{buildroot}-va dist/*.whl
popd
## Remove excluded files
rm -f %{buildroot}*/usr/lib/python3.12/site-packages/setuptools/cli-32.exe
rm -f %{buildroot}*/usr/lib/python3.12/site-packages/setuptools/cli-64.exe
Expand All @@ -147,6 +169,7 @@ echo "#!/bin/sh" > %{buildroot}/usr/bin/easy_install_is_deprecated
chmod 755 %{buildroot}/usr/bin/easy_install_is_deprecated
## install_append end
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
/usr/bin/elf-move.py apx %{buildroot}-va %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}

%files
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
317
318
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4b11f92850b237a9bd3d563160c8a927cbcdcf01/setuptools-69.0.3.tar.gz
763e871f860edf9e3fe577bfebdf2fce906dd4e7/setuptools-69.1.0.tar.gz

0 comments on commit 468821e

Please sign in to comment.