Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing pkg_resources not present #222

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Fixing pkg_resources not present #222

merged 1 commit into from
Feb 29, 2024

Conversation

chayim
Copy link
Contributor

@chayim chayim commented Feb 29, 2024

This is the first part of a two part fix. pkg_resources exists to help determine the version, in older versions of python. This comes from setuptools, and has since been deprecated. In the case where there is no pkg_resources, for now, we assume we're on master.

Ideally we could rely on metadata, which in turn involves deprecating Python 3.7, or allowing for an import wrapper (see redis-py). Given the number of projects using the current state, this is a lighter weight approach that we could accept now, until we update everything downstream.

@chayim chayim merged commit fb892b3 into master Feb 29, 2024
23 checks passed
@chayim chayim deleted the ck-fix-pkg branch February 29, 2024 14:14
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.

None yet

2 participants