Skip to content

Update Dockerfile to Python 3.10 for elementary-data 0.22+ compatibility#15

Merged
haritamar merged 1 commit intomainfrom
devin/1772355616-fix-python-version
Mar 1, 2026
Merged

Update Dockerfile to Python 3.10 for elementary-data 0.22+ compatibility#15
haritamar merged 1 commit intomainfrom
devin/1772355616-fix-python-version

Conversation

@devin-ai-integration
Copy link
Contributor

Summary

Updates the Docker base image from python:3.9.17 to python:3.10.17.

elementary-data v0.22.0 dropped Python 3.9 support. The action's install_edr function detects the installed dbt package version and runs pip install elementary-data[<adapter>]~=0.22.0 inside this container — which fails because pip correctly filters out 0.22.0 as incompatible with Python 3.9.

Review & Testing Checklist for Human

  • Verify python:3.10.17 image exists on Docker Hub and is appropriate (vs. choosing 3.11 or 3.12)
  • Confirm requirements.txt dependencies (packaging~=21.3, pydantic~=1.10.2) are compatible with Python 3.10
  • After merging, tag a new release (e.g. v1.13) so the elementary repo's test-github-action.yml can reference the fixed version
  • End-to-end test: trigger the elementary test-github-action workflow pointing at the new action version to confirm the full flow works

Notes

  • This PR only changes the base Python version; no changes to entrypoint.py, requirements.txt, or action.yml.
  • The elementary repo has a companion PR (#2131) that modernizes test-github-action.yml and depends on this fix.
  • Link to Devin session
  • Requested by @haritamar

elementary-data 0.22.0 dropped Python 3.9 support, causing pip install
to fail inside the action's Docker container. Update base image from
python:3.9.17 to python:3.10.17.

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

devin-ai-integration bot added a commit to elementary-data/elementary that referenced this pull request Mar 1, 2026
The run-elementary-action Docker image uses Python 3.9, but elementary-data
0.22.0 dropped Python 3.9 support. Point at the fix branch
(devin/1772355616-fix-python-version) which updates the Dockerfile to
Python 3.10. This should be updated to the new release tag once
elementary-data/run-elementary-action#15 is merged and tagged.

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
@haritamar haritamar merged commit 423c94e into main Mar 1, 2026
@haritamar haritamar deleted the devin/1772355616-fix-python-version branch March 1, 2026 09:05
haritamar added a commit to elementary-data/elementary that referenced this pull request Mar 1, 2026
…tion version (#2131)

* Modernize test-github-action.yml to use e2e_dbt_project

- Replace deprecated dbt-data-reliability integration tests with the
  newer e2e_dbt_project (matching test-warehouse.yml approach)
- Use generate_profiles.py + profiles.yml.j2 instead of the
  TEST_GITHUB_ACTION_PROFILES_YML secret
- Update run-elementary-action from v1.8 to v1.12
- Add concurrency management and schema cleanup
- Add generate-data workflow input
- Temporarily add pull_request trigger for CI testing

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Add masking for profiles.yml credentials in GITHUB_OUTPUT

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Fix jq validation to work correctly under bash -e

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Temporarily point action at Python 3.10 fix branch

The run-elementary-action Docker image uses Python 3.9, but elementary-data
0.22.0 dropped Python 3.9 support. Point at the fix branch
(devin/1772355616-fix-python-version) which updates the Dockerfile to
Python 3.10. This should be updated to the new release tag once
elementary-data/run-elementary-action#15 is merged and tagged.

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Update run-elementary-action to v1.13 (with Python 3.10 fix)

Replace temporary branch reference with the official v1.13 release tag
which includes the Python 3.10 Dockerfile fix.

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Add -t snowflake to edr monitor report command

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Remove temporary pull_request trigger

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

* Remove Notify Slack job

Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Itamar Hartstein <haritamar@gmail.com>
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.

1 participant