Skip to content

chore: move dependencies to pyproject.toml - #1360

Merged
WilliamBergamin merged 3 commits into
mainfrom
remove-requirement-file
Sep 9, 2025
Merged

chore: move dependencies to pyproject.toml#1360
WilliamBergamin merged 3 commits into
mainfrom
remove-requirement-file

Conversation

@WilliamBergamin

@WilliamBergaminWilliamBergamin commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

Summary

Python 3.6 did not support the pip install . command which installs the dependencies of the project, this is why we defined a requirements.txt file at the top level. Now that this project does not support python 3.6 we can get ride of requirements.txt

Testing

CI passes

Category

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

@WilliamBergaminWilliamBergamin added this to the 1.25.0 milestone Sep 9, 2025
@WilliamBergaminWilliamBergamin self-assigned this Sep 9, 2025
@WilliamBergaminWilliamBergamin added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 9, 2025
rm -rf ./slack_bolt.egg-info

pip install -U pip && \
pip install twine build && \

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Minor improvements for consistency

Comment on lines -15 to -26
- package-ecosystem: "npm"
directory: "/docs"
schedule:
interval: "monthly"
groups:
docusaurus:
patterns:
- "@docusaurus/*"
react:
patterns:
- "react"
- "react-dom"

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Cleaning this up because we don't need it anymore

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

📚 praise: Thanks for catching this!

@codecov

codecovBot commented Sep 9, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.00%. Comparing base (d6c0c2f) to head (3b49d08).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #1360 +/- ##
=======================================
Coverage 91.00% 91.00% =======================================
Files 222 222 Lines 7512 7512 =======================================
Hits 6836 6836 Misses 676 676 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zimegzimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@WilliamBergamin LGTM! This is such a nice change to keep things fresh 🚢 🫧

Comment on lines -15 to -26
- package-ecosystem: "npm"
directory: "/docs"
schedule:
interval: "monthly"
groups:
docusaurus:
patterns:
- "@docusaurus/*"
react:
patterns:
- "react"
- "react-dom"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

📚 praise: Thanks for catching this!

Comment threadrequirements.txt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🫡 praise: Farewell to requirements.txt indeed.

@WilliamBergamin
WilliamBergamin merged commit a3adffa into mainSep 9, 2025
14 checks passed
@WilliamBergamin
WilliamBergamin deleted the remove-requirement-file branch September 9, 2025 17:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filepythonPull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@WilliamBergamin@zimeg