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

bug: Running pip install -r requirements.txt failed #9

Closed
Okabe-Junya opened this issue Oct 27, 2023 · 0 comments · Fixed by #10
Closed

bug: Running pip install -r requirements.txt failed #9

Okabe-Junya opened this issue Oct 27, 2023 · 0 comments · Fixed by #10

Comments

@Okabe-Junya
Copy link
Contributor

Okabe-Junya commented Oct 27, 2023

Bug Description

During the CI workflow or in a local environment, executing pip install -r requirements fails.

result: https://github.com/masuidrive/slack-summarizer/actions/runs/6659199301

Cause

This is because there's a bug when a library, which we depend on indirectly, supports Python 3.12.

How to Resolve

Fix the version of Python. Inside the CI workflow, the input to setup-python has python-version: "3.x" passed to it, which sets it to the latest stable version automatically. By explicitly setting it to 3.11.6, this issue can be resolved.

[Reference] Verification results in the fork:


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 a pull request may close this issue.

1 participant