Skip to content

Pin setuptools for SoS in minimal environment - #18

Merged
gaow merged 1 commit into
StatFunGen:mainfrom
jaempawi:jaempawi-patch-1
Sep 8, 2026
Merged

gaow merged 1 commit into
StatFunGen:mainfrom
jaempawi:jaempawi-patch-1

Conversation

@jaempawi

@jaempawi jaempawi commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • pin setuptools<82 in the minimal Python environment
  • match the compatibility constraint already present in the full environment

Why

SoS 0.25.1 imports pkg_resources, which was removed from setuptools 82. Without this constraint, a fresh minimal setup can resolve a newer setuptools and sos --version fails with ModuleNotFoundError.

Validation

  • git diff --check
  • bash -n pixi-setup.sh init.sh pixi-install.sh

SoS 0.25.1 imports pkg_resources, which setuptools 82 removed. Match the full environment's setuptools<82 compatibility pin so fresh minimal installs work without manual repair.
@gaow
gaow merged commit 7de1e4b into StatFunGen:main Sep 8, 2026
0 of 3 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