Skip to content

Conversation

@tangkong
Copy link
Contributor

@tangkong tangkong commented Feb 10, 2026

Description

  • pkg_resources was fully deprecated in setuptools 82, and builds are starting to pick this up
  • importlib.metadata has existed since py3.8 apparently

Motivation and Context

pcds-envs had hutch-python fail here recently.

How Has This Been Tested?

pytest, and opening hutch-python in --debug mode to see that there's still sensible env dump information

Where Has This Been Documented?

This PR

Pre-merge checklist

  • Code works interactively (a real hutch config file can be loaded)
  • Code contains descriptive docstrings, including context and API
  • New/changed functions and methods are covered in the test suite where possible
  • Test suite passes locally
  • Test suite passes on GitHub Actions
  • Ran docs/pre-release-notes.sh and created a pre-release documentation page
  • Pre-release docs include context, functional descriptions, and contributors as appropriate

@tangkong tangkong requested a review from a team as a code owner February 10, 2026 00:50
@tangkong
Copy link
Contributor Author

The conda test has setuptools 82, which was the version that fully removed pkg_resources

Copy link
Member

@ZLLentz ZLLentz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a reasonable fix

@tangkong tangkong merged commit b705967 into pcdshub:master Feb 10, 2026
7 checks passed
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.

2 participants