Skip to content

Comments

fix: include cached-property as a conditional dependency#223

Merged
frozenIceage merged 1 commit intomasterfrom
proper-dependencies
Feb 5, 2026
Merged

fix: include cached-property as a conditional dependency#223
frozenIceage merged 1 commit intomasterfrom
proper-dependencies

Conversation

@dcermak
Copy link
Contributor

@dcermak dcermak commented Feb 5, 2026

Before this commit, we were loading cached-property as a dependency in setup.py, which is flawed, as this choice happens when the package is built and not when the package is installed. I.e. whether osc-tiny depends on cached-property depends on the builder's python version, not on the user's.

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  .
  setup.py 3, 12-15
Project Total  

This report was generated by python-coverage-comment-action

Before this commit, we were loading cached-property as a dependency in
`setup.py`, which is flawed, as this choice happens when the package is built
and not when the package is installed. I.e. whether osc-tiny depends on
cached-property depends on the builder's python version, not on the user's.
@dcermak dcermak force-pushed the proper-dependencies branch from 837e993 to 28c5028 Compare February 5, 2026 08:29
@frozenIceage
Copy link
Contributor

LGTM, thank you for this fix! 👍

@frozenIceage frozenIceage merged commit 2927375 into master Feb 5, 2026
22 checks passed
@frozenIceage frozenIceage deleted the proper-dependencies branch February 5, 2026 09:00
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