Skip to content

Conversation

@kmurphy4
Copy link
Collaborator

Before this, our CI runs were spitting out deprecation warnings like

/__work/libpff/libpff/venv/lib/python3.12/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Please provide a valid glob pattern.
!!
        ********************************************************************************
        Pattern 'COPYING COPYING.LESSER' contains invalid characters.
        By 2026-Mar-20, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.
        See https://packaging.python.org/en/latest/specifications/glob-patterns/ for details.
        ********************************************************************************
!!
  for path in sorted(cls._find_pattern(pattern, enforce_match))

According to https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata, this is a "list-comma" field, which is a "dangling list or string of comma-separated values".

There's now nothing downstream that needs python3.9.  And we might
as well upgrade to the newer python3.12 patch as well :^)
Before this, our CI runs were spitting out deprecation warnings like

    /__work/libpff/libpff/venv/lib/python3.12/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Please provide a valid glob pattern.
    !!
            ********************************************************************************
            Pattern 'COPYING COPYING.LESSER' contains invalid characters.
            By 2026-Mar-20, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
            See https://packaging.python.org/en/latest/specifications/glob-patterns/ for details.
            ********************************************************************************
    !!
      for path in sorted(cls._find_pattern(pattern, enforce_match))

https://github.com/Everlaw/libpff/actions/runs/19642110034/job/56249042533#step:8:8

According to https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata,
this is a "list-comma" field, which is a "dangling list or string of
comma-separated values".
@kmurphy4 kmurphy4 requested a review from a team as a code owner November 24, 2025 17:08
@kmurphy4
Copy link
Collaborator Author

@will-frazier do you have bandwidth to review?

@will-frazier
Copy link

LGTM, thanks @kmurphy4 !

@kmurphy4 kmurphy4 merged commit 325b6e3 into master Nov 25, 2025
1 check passed
@kmurphy4 kmurphy4 deleted the bugfix/license-files branch November 25, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants