From patchwork Sat Jan 21 18:03:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6451 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Nzkkn3cJnz43Z2 for ; Sat, 21 Jan 2023 18:03:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Nzkkk2mz6z2JP; Sat, 21 Jan 2023 18:03:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Nzkkk0FNXz2yjS; Sat, 21 Jan 2023 18:03:42 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Nzkkj1tf2z2xLX for ; Sat, 21 Jan 2023 18:03:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Nzkkh475qz65; Sat, 21 Jan 2023 18:03:40 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1674324220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NHISJ2qS/txH4jVDWQo3x/Kx88zW/HQeyu6pgax52Z4=; b=zEAUTjXukQa9wT0psOdYm0uvovybPFVIH+tWN8/jbqDAUicmAX16+HRwj2/s6+Ap9JAoju noyWeIMNViXBIQAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1674324220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NHISJ2qS/txH4jVDWQo3x/Kx88zW/HQeyu6pgax52Z4=; b=EchwDrmuU5nPW5dn0DUzHrwrv9nfDl9AS50X9mNr7lU1gxxwY45lgAlSfnbG/pu3Wr9Wy7 2jzCtOiSp6CmtsVUZzSi6mPLm7+z7t2auVfDOw2bj4symgOrq2YHS/81JoxoskEsF3ILAD bOjopTGf/RKZ/fSS6XnbiRrnNwUP6rfOSbP778nBtrYjwsX9ssbGuH8c0WfJHTkfZx987+ EcpLdBINPrAYwbA9+CZfSkQs2nuO6Fikg917tO+ezUKostw58ieqCTJdddgV98Hdiz8si8 N/PSiVwhtentVU5QUGYdtlIh1piRxod322+X+o73gYAI9ZPZuOn19uQfc1lktw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 3/3] python3-packaging: Update to version 23.0 Date: Sat, 21 Jan 2023 19:03:32 +0100 Message-Id: <20230121180332.3142785-3-adolf.belka@ipfire.org> In-Reply-To: <20230121180332.3142785-1-adolf.belka@ipfire.org> References: <20230121180332.3142785-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from version 21.3 to 23.0 - Update of rootfile - Changelog 23.0 What's Changed Remove unused LPAREN token from tokenizer by @hrnciar in #630 Reorganise the project layout and version management by @pradyunsg in #626 Correctly handle non-normalised specifiers in requirements by @pradyunsg in #634 Use stable Python 3.11 in tests by @153957 in #641 Fix typing for specifiers.BaseSpecifier.filter() by @henryiii in #643 Correctly handle trailing whitespace on URL requirements by @pradyunsg in #642 refactor _generic_api to use EXT_SUFFIX by @mattip in #607 Allow "extra" to be None in the marker environment by @pradyunsg in #650 Fix typos by @kianmeng in #648 Update changelog for release by @pradyunsg in #656 22.0 What's Changed Fix compatible version specifier incorrectly strip trailing '0' by @kasium in #493 Remove support for Python 3.6 by @abravalheri in #500 Use concurrency limit in ci by @blink1073 in #510 Fix issue link in changelog. by @bdice in #509 chore: test with PyPy 3.8 & 3.9 by @mayeut in #512 Accept locally installed prereleases by @q0w in #515 Always run GHA workflows when they change by @mayeut in #516 Add __hash__/__eq__ to requirements by @abravalheri in #499 Upgrade to setup-python v3 and use caching for GHA by @brettcannon in #521 allow pre-release versions in marker evaluation by @graingert in #523 Error out from workflow on missing interpreter by @mayeut in #525 chore: update pre-commit config to the latest repos' versions by @mayeut in #534 chore: remove Windows PyPy 3.9 workaround on GHA by @mayeut in #533 Use pipx to run nox / build in GHA workflows by @mayeut in #517 Run tests with all PyPy versions locally by @mayeut in #535 Adhere to PEP 685 when evaluating markers with extras by @hroncok in #545 chore: update mypy and move to toml by @henryiii in #547 Normalize extra comparison in markers for output by @brettcannon in #549 Evaluate markers under environment with empty "extra" by @MrMino in #550 Do not set extra in default_environment() by @sbidoul in #554 Update extlinks strings to use a format string by @mayeut in #555 Update CI test workflow to use setup-python@v4 by @mayeut in #556 CI: Update actions/* to their latest major versions by @mayeut in #557 Fix a spelling mistake by @venthur in #558 fix: macOS platform tags with old macOS SDK by @mayeut in #513 Correctly parse ELF for musllinux on Big Endian by @uranusjr in #538 A metadata module with a data class for core metadata by @brettcannon in #518 Document utils.NormalizedName by @brettcannon in #565 Drop LegacySpecifier and LegacyVersion by @pradyunsg in #407 Move metadata, versions and specifiers API documentation to sphinx.ext.autodoc by @pradyunsg in #572 Demonstrate behaviour of SpecifierSet.__iter__ by @hauntsaninja in #575 Handwritten parser for parsing requirements by @hrnciar in #484 Add changelog entry for removal of pyparsing dependency by @hroncok in #581 Use Iterator instead of Iterable for specifier filter methods by @ichard26 in #584 Better output on linter failure by @henryiii in #478 Add a "cpNNN-none-any" tag by @joonis in #541 Document exceptions raised by functions in utils by @MrMino in #544 Refactor ELF parsing logic to standlone class by @uranusjr in #553 Forbid prefix version matching on pre-release/post-release segments by @mayeut in #563 Update coverage to >=5.0.0 by @mayeut in #586 Normalize specifier version for prefix matching by @mayeut in #561 Add python 3.11 by @mayeut in #587 Fix prefix version matching by @mayeut in #564 Remove duplicate namedtuple by @layday in #589 Update changelog by @pradyunsg in #595 Change email-related fields in Metadata to str by @brettcannon in #596 Add versionchanged for 21.3 by @brettcannon in #599 refactor: use flit as a backend by @henryiii in #546 Remove packaging.metadata by @pradyunsg in #603 Refactor nox requirements to use requirements files (#601) by @strokirk in #609 Improve Requirement/Marker parser with context-sensitive tokenisation by @pradyunsg in #624 Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/rootfiles/packages/python3-packaging | 15 ++++++++------- lfs/python3-packaging | 12 ++++++------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/config/rootfiles/packages/python3-packaging b/config/rootfiles/packages/python3-packaging index ef6d7497a..0c1765041 100644 --- a/config/rootfiles/packages/python3-packaging +++ b/config/rootfiles/packages/python3-packaging @@ -1,15 +1,16 @@ usr/lib/python3.10/site-packages/packaging -#usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info -#usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/PKG-INFO -#usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/SOURCES.txt -#usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/dependency_links.txt -#usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/requires.txt -#usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/top_level.txt -usr/lib/python3.10/site-packages/packaging/__about__.py +#usr/lib/python3.10/site-packages/packaging-23.0-py3.10.egg-info +#usr/lib/python3.10/site-packages/packaging-23.0-py3.10.egg-info/PKG-INFO +#usr/lib/python3.10/site-packages/packaging-23.0-py3.10.egg-info/SOURCES.txt +#usr/lib/python3.10/site-packages/packaging-23.0-py3.10.egg-info/dependency_links.txt +#usr/lib/python3.10/site-packages/packaging-23.0-py3.10.egg-info/top_level.txt usr/lib/python3.10/site-packages/packaging/__init__.py +usr/lib/python3.10/site-packages/packaging/_elffile.py usr/lib/python3.10/site-packages/packaging/_manylinux.py usr/lib/python3.10/site-packages/packaging/_musllinux.py +usr/lib/python3.10/site-packages/packaging/_parser.py usr/lib/python3.10/site-packages/packaging/_structures.py +usr/lib/python3.10/site-packages/packaging/_tokenizer.py usr/lib/python3.10/site-packages/packaging/markers.py usr/lib/python3.10/site-packages/packaging/py.typed usr/lib/python3.10/site-packages/packaging/requirements.py diff --git a/lfs/python3-packaging b/lfs/python3-packaging index 81697c115..4bf2d6be0 100644 --- a/lfs/python3-packaging +++ b/lfs/python3-packaging @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2020 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 21.3 +VER = 23.0 THISAPP = packaging-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = python3-packaging -PAK_VER = 2 +PAK_VER = 3 ############################################################################### # Top-level Rules @@ -42,7 +42,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 957d63b9cd351fc638c58ac9ef4be1aa07735f701c68d0dc77bc4215f746846b2998ea52ecd71b4bd5f422bd985dba49e701fc8ab659c7ca531926b36a513cd9 +$(DL_FILE)_BLAKE2 = 601806498c414aaf3a68206a008e4032b0925bb1a06b170a6da64786d15456b5a3082cfde7620cd39f3f0ec204f42337df4b6c663c76697b6dc9577d38cc45c3 install : $(TARGET) @@ -75,7 +75,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && python3 setup.py build - cd $(DIR_APP) && python3 setup.py install --root=/ + cd $(DIR_APP) && python3 -m pyproject2setuppy.main build + cd $(DIR_APP) && python3 -m pyproject2setuppy.main install --root=/ @rm -rf $(DIR_APP) @$(POSTBUILD)