Skip to content

Fix 29 Dependabot alerts in Procore-Sample-Python - #11

Closed
pcor-neoword wants to merge 2 commits into
masterfrom
neoword-main
Closed

Fix 29 Dependabot alerts in Procore-Sample-Python#11
pcor-neoword wants to merge 2 commits into
masterfrom
neoword-main

Conversation

@pcor-neoword

@pcor-neoword pcor-neoword commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • Bump Python requirement from 3.7 (EOL) to 3.11; add .tool-versions for asdf (python 3.11.15)
  • Update direct dep lower bounds in Pipfile so pip resolver picks safe versions
  • Regenerate Pipfile.lock — all 29 Dependabot alerts resolved via transitive dependency resolution
Package Before After Alerts fixed
werkzeug 1.0.0 3.1.8 #7,8,22,26,33,37,38
flask 1.1.1 3.1.3 #10,39
urllib3 1.25.8 2.7.0 #14,17,24,32,34,35,36,42
jinja2 2.11.1 3.1.6 #19,21,28,29
requests 2.23.0 2.34.2 #11,23,30,40
certifi 2019.11.28 2026.7.22 #6,13
idna 2.9 3.18 #20,43
python-dotenv 0.12.0 1.2.2 #41

No application code changes. App starts cleanly on port 3000 with the new deps.

Test plan

  • pipenv run python app.py starts Flask on port 3000 without errors
  • Dependabot alerts clear after merge to master

🤖 Generated with Claude Code

…ll deps

- Bump Python requirement from 3.7 (EOL) to 3.11
- Add .tool-versions pinned to python 3.11.15 (asdf)
- flask >=3.0.3 → resolves to 3.1.3 (fixes alerts #10, #39)
- requests >=2.32.3 → resolves to 2.34.2 (fixes alerts #11, #23, #30, #40)
- python-dotenv >=1.0.2 → resolves to 1.2.2 (fixes alert #41)
- Regenerate Pipfile.lock — indirect deps resolve to safe versions:
  werkzeug 3.1.8 (fixes alerts #7,8,22,26,33,37,38)
  jinja2 3.1.6 (fixes alerts #19,21,28,29)
  urllib3 2.7.0 (fixes alerts #14,17,24,32,34,35,36,42)
  certifi 2026.7.22 (fixes alerts #6,13)
  idna 3.18 (fixes alerts #20,43)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 5, 2026 19:10
@pcor-neoword pcor-neoword self-assigned this Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project’s Python runtime requirement and dependency set to remediate Dependabot security alerts by upgrading vulnerable direct and transitive packages via Pipenv locking.

Changes:

  • Bump required Python version from 3.7 to 3.11 and add an asdf .tool-versions entry.
  • Update direct dependency constraints in Pipfile.
  • Regenerate Pipfile.lock to resolve Dependabot alerts through updated dependency resolution.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
Pipfile Updates Python requirement and raises minimum versions for key dependencies.
Pipfile.lock Regenerated lockfile reflecting upgraded direct/transitive dependency versions and Python 3.11 requirement.
.tool-versions Pins local toolchain Python version for asdf users.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Pipfile Outdated
Pin direct deps to the exact versions already in Pipfile.lock so a
fresh pipenv lock cannot resolve older-but-still-safe releases:
  flask >=3.1.3, requests >=2.34.2,
  requests-auth >=8.0.0, python-dotenv >=1.2.2

Co-Authored-By: Claude <noreply@anthropic.com>
@pcor-neoword

Copy link
Copy Markdown
Author

Fixed in 6807369 — lower bounds in Pipfile now match the resolved versions in Pipfile.lock: flask >=3.1.3, requests >=2.34.2, requests-auth >=8.0.0, python-dotenv >=1.2.2.

@pcor-neoword

Copy link
Copy Markdown
Author

The build on this repo is borked... backing out PR.

@pcor-neoword pcor-neoword changed the title [REDIV-327] Fix 29 Dependabot alerts in Procore-Sample-Python Fix 29 Dependabot alerts in Procore-Sample-Python Aug 5, 2026
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