Skip to content

Stop using deprecated pkg_resources #43

Closed

Description

@vincefn

See the debian bug report and the notes in https://setuptools.pypa.io/en/latest/pkg_resources.html.

This should be replaced by importlib tools

Activity

  1. sbillinge commented on Dec 1, 2024

    @sbillinge
    Contributor

    We have been updating all our diffpy packages for this and also changing how CI is handled. @vincefn we could do the same work on pyobjcryst of you like, to bring it in to line.

  2. sbillinge commented on Dec 11, 2024

    @sbillinge
    Contributor

    Gentle ping @vincefn would you like to discuss this?

  3. vincefn commented on Jan 7, 2025

    @vincefn
    CollaboratorAuthor

    Hi @sbillinge - sorry I had a complicated December and missed a number of followup messages.

    Yes, please go ahead and make the required changes, it's internal so I don't think would affect end users.

  4. sbillinge commented on Jan 8, 2025

    @sbillinge
    Contributor

    @bobleesj we have a green-light to cookiecut pyobjcryst. In general, I would like to change the name to diffpy.pyobjcryst, but this package has an existing user-base so this may be a bad idea, unless we can continue to ship it as pyobjcryst rather than diffpy.pyobjcryst. Because this is widely used, I would prefer if this was cookiecut by someone more experienced.....

  5. bobleesj commented on Jan 8, 2025

    @bobleesj

    @sbillinge @vincefn

    Noted. I created an issue to "cookiecut" while retaining the current way of importing this package

  6. vincefn commented on Jan 9, 2025

    @vincefn
    CollaboratorAuthor

    Hmm - I thought this was about a mostly internal/import change.
    I'm not so fond of the idea to change the name and visibility from just pyobjcryst, because I'd like to promote the use outside diffpy (even if the work from the diffpy project has to be properly recognised).

  7. sbillinge commented on Jan 9, 2025

    @sbillinge
    Contributor

    Hmm - I thought this was about a mostly internal/import change. I'm not so fond of the idea to change the name and visibility from just pyobjcryst, because I'd like to promote the use outside diffpy (even if the work from the diffpy project has to be properly recognised).

    That's ok (see discussion on #44 too), let's not change the name right now.

  8. added this to the 2025.1.1 release milestone on Jul 23, 2025
  9. zmx27 commented on Jul 31, 2025

    @zmx27
    Contributor

    Doing a global search for pkg_resources in the migration gave me no results. This issue can be safely closed when migration is merged into main.

  10. sbillinge commented on Aug 7, 2025

    @sbillinge
    Contributor

    closed by #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions