Skip to content

Fixing deprecated pkg_resources#31

Merged
cplett merged 1 commit intofaccts:mainfrom
cplett:fixing_pkg
Feb 11, 2026
Merged

Fixing deprecated pkg_resources#31
cplett merged 1 commit intofaccts:mainfrom
cplett:fixing_pkg

Conversation

@cplett
Copy link
Contributor

@cplett cplett commented Feb 11, 2026

With setuptools version 82.0.0 and newer, the current fairchem package, and therefore UMA, no longer works due to the deprecation of pkg_resources. This fix ensures that a setuptools version lower than 82.0.0 is installed when fairchemcore is installed.

Closes #30.

Signed-off-by: Christoph Plett <plett@faccts.de>
Copy link
Contributor

@stgeo stgeo left a comment

Choose a reason for hiding this comment

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

LGTM.

Mentioning these here:
Patched in fairchem: facebookresearch/fairchem#1763 (merged, not released yet)
Underlying tnt problem fixed with meta-pytorch/tnt#1051 (merged, not released yet)

When a new version of fairchem-core is released, we can probably remove this restriction.

@cplett cplett merged commit 5175bfe into faccts:main Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Current install not possible due to changes in recent versions of setuptools (uma dependancy)

2 participants