-
Notifications
You must be signed in to change notification settings - Fork 12
Remove slack-machine and packages not needed for Cloudflare Worker #96
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: DonnieBLT <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
blt-lettuce | 8a2c0b2 | Nov 30 2025, 01:44 AM |
|
@copilot please keep the welcome message and use that for the cloudflare worker |
Co-authored-by: DonnieBLT <[email protected]>
Restored |
|
@copilot please fix the conflicts |
I'm unable to fix merge conflicts directly as I cannot use git rebase or merge commands. The conflicts are in To resolve this, please run locally: git checkout copilot/remove-slack-machine-packages
git fetch origin main
git merge origin/main
# Resolve conflicts by keeping the version without the dependencies
# In pyproject.toml: keep only `python = "^3.10"` under [tool.poetry.dependencies]
poetry lock # regenerate poetry.lock
git add .
git commit -m "Resolve merge conflicts with main"
git pushAlternatively, you can close this PR and I can create a fresh one from the current main branch. |
The Cloudflare Worker uses only Python standard library modules. All main dependencies were for the legacy Flask app and slack-machine plugins which are no longer needed.
Removed Dependencies
slack-machine,requests,python-dotenv,gitpython,slackeventsapi,slack-sdk,beautifulsoup4Removed Files
app.py,wsgi.pysrc/lettuce/plugins/,src/local_settings.pytests/plugins/,tests/test_welcome_plugin.pymanifest.yaml,.env.sample,.secrets.sampleUpdated
pyproject.toml: Removed deps, addedpackage-mode = falsepoetry.lock: Regenerated with dev dependencies onlyREADME.md: Updated project structurecloudflare-worker/worker.py: Now loads welcome message fromwelcome_message.txtfile instead of hardcoded constantPreserved
scripts/scrape_stats.pywith its ownrequirements.txt(used by GitHub Actions)cloudflare-worker/)welcome_message.txt: Kept in root and copied tocloudflare-worker/for use by the workerOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.