6 Commits

Author SHA1 Message Date
Adolf Belka
77d9d67314 python3-packaging: Update to version 23.2
- Update from version 23.0 to 23.2
- Update of rootfile
- Changelog
    23.2
	    Document calendar-based versioning scheme (#716)
	    Enforce that the entire marker string is parsed (#687)
	    Requirement parsing no longer automatically validates the URL (#120)
	    Canonicalize names for requirements comparison (#644)
	    Introduce metadata.Metadata (along with metadata.ExceptionGroup and
	     metadata.InvalidMetadata; #570)
	    Introduce the validate keyword parameter to utils.normalize_name() (#570)
	    Introduce utils.is_normalized_name() (#570)
	    Make utils.parse_sdist_filename() and utils.parse_wheel_filename() raise
	     InvalidSdistFilename and InvalidWheelFilename, respectively, when the
	     version component of the name is invalid
    23.1
	    Parse raw metadata (#671)
	    Import underlying parser functions as an underscored variable (#663)
	    Improve error for local version label with unsupported operators (#675)
	    Add dedicated error for specifiers with incorrect .* suffix
	    Replace spaces in platform names with underscores (#620)
	    Relax typing of _key on _BaseVersion (#669)
	    Handle prefix match with zeros at end of prefix correctly (#674)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
26562e76a3 python3-packaging: Update to version 23.0
- 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 <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-01-26 22:44:30 +00:00
Adolf Belka
006309eaaf python3-packaging: Moved to rootfiles/packages/ directory
- Required for borgbackup execution

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 09:11:58 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Adolf Belka
4627524aaa python3-packaging: Required for build of updated python3-six
- python3-packaging only required for build of python3-six so rootfile has all entries
   commented out.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 09:11:46 +00:00