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

revert python version for docker images #8445

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

McKnight-42
Copy link
Contributor

@McKnight-42 McKnight-42 commented Aug 17, 2023

resolves #8444
docs dbt-labs/docs.getdbt.com/#

Problem

the python version being used to build images in main to 1.5.latest (3.11.12/11) is not supported by dbt-spark and does not appear to be building .latest images

Solution

  • [ ]backprt to 1.5 and 1.6
    revert back to python 3.10.7 similar to 1.4.latest for now.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@McKnight-42 McKnight-42 self-assigned this Aug 17, 2023
@cla-bot cla-bot bot added the cla:yes label Aug 17, 2023
@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #8445 (1479873) into main (d088d44) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #8445   +/-   ##
=======================================
  Coverage   86.30%   86.30%           
=======================================
  Files         174      174           
  Lines       25561    25561           
=======================================
  Hits        22061    22061           
  Misses       3500     3500           
Flag Coverage Δ
integration 83.09% <ø> (ø)
unit 65.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@McKnight-42 McKnight-42 marked this pull request as ready for review August 17, 2023 18:18
@McKnight-42 McKnight-42 requested a review from a team as a code owner August 17, 2023 18:18
@McKnight-42 McKnight-42 requested a review from emmyoop August 17, 2023 18:18
docker/Dockerfile Show resolved Hide resolved
.changes/unreleased/Fixes-20230817-130915.yaml Outdated Show resolved Hide resolved
.changes/unreleased/Fixes-20230817-130915.yaml Outdated Show resolved Hide resolved
@McKnight-42 McKnight-42 merged commit f485c13 into main Aug 17, 2023
@McKnight-42 McKnight-42 deleted the mcknight/revert_7196_and_6424 branch August 17, 2023 19:18
github-actions bot pushed a commit that referenced this pull request Aug 17, 2023
* revert python version for docker images

* add comment to not update python version, update changelog

(cherry picked from commit f485c13)
github-actions bot pushed a commit that referenced this pull request Aug 17, 2023
* revert python version for docker images

* add comment to not update python version, update changelog

(cherry picked from commit f485c13)
McKnight-42 added a commit that referenced this pull request Aug 18, 2023
* revert python version for docker images

* add comment to not update python version, update changelog

(cherry picked from commit f485c13)

Co-authored-by: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com>
McKnight-42 added a commit that referenced this pull request Aug 18, 2023
* revert python version for docker images

* add comment to not update python version, update changelog

(cherry picked from commit f485c13)

Co-authored-by: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com>
peterallenwebb pushed a commit that referenced this pull request Aug 30, 2023
* revert python version for docker images

* add comment to not update python version, update changelog
peterallenwebb added a commit that referenced this pull request Aug 30, 2023
* Add compiled node properties to run_results.json

* Include compiled-node attributes in run_results.json

* Fix typo

* Bump schema version of run_results

* Fix test assertions

* Update expected run_results to reflect new attributes

* Code review changes

* Fix mypy warnings for ManifestLoader.load() (#8443)

* revert python version for docker images (#8445)

* revert python version for docker images

* add comment to not update python version, update changelog

* Bumping version to 1.7.0b1 and generate changelog

* [CT-3013]  Fix parsing of `window_groupings` (#8454)

* Update semantic model parsing tests to check measure non_additive_dimension spec

* Make `window_groupings` default to empty list if not specified on `non_additive_dimension`

* Add changie doc for `window_groupings`  parsing fix

* update `Number` class to handle integer values (#8306)

* add show test for json data

* oh changie my changie

* revert unecessary cahnge to fixture

* keep decimal class for precision methods, but return __int__ value

* jerco updates

* update integer type

* update other tests

* Update .changes/unreleased/Fixes-20230803-093502.yaml

---------

Co-authored-by: Emily Rockman <emily.rockman@dbtlabs.com>

* Improve docker image README (#8212)

* Improve docker image README

- Fix unnecessary/missing newline escapes
- Remove double whitespace between parameters
- 2-space indent for extra lines in image build commands

* Add changelog entry for #8212

* ADAP-814: Refactor prep for MV updates (#8459)

* apply reformatting changes only for #8449
* add logging back to get_create_materialized_view_as_sql
* changie

* swap trigger (#8463)

* update the implementation template (#8466)

* update the implementation template

* add colon

* Split tests into classes (#8474)

* add flaky decorator

* split up tests into classes

* revert update agate for int (#8478)

* updated typing and methods to meet mypy standards (#8485)

* Convert error to conditional warning for unversioned contracted model, fix msg format (#8451)

* first pass, tests need updates

* update proto defn

* fixing tests

* more test fixes

* finish fixing test file

* reformat the message

* formatting messages

* changelog

* add event to unit test

* feedback on message structure

* WIP

* fix up event to take in all fields

* fix test

* Fix ambiguous reference error for duplicate model names across packages with tests (#8488)

* Safely remove external nodes from manifest (#8495)

* [CT-2840] Improved semantic layer protocol satisfaction tests (#8456)

* Test `SemanticModel` satisfies protocol when none of it's `Optionals` are specified

* Add tests ensuring SourceFileMetadata and FileSlice satisfiy DSI protocols

* Add test asserting Defaults obj satisfies protocol

* Add test asserting SemanticModel with optionals specified satisfies protocol

* Split dimension protocol satisfaction tests into with and without optionals

* Simplify DSI Protocol import strategy in protocol satisfaction tests

* Add test asserting DimensionValidtyParams satisfies protocol

* Add test asserting DimensionTypeParams satisfies protocol

* Split entity protocol satisfaction tests into with and without optionals

* Split measure protocol satisfication tests and add measure aggregation params satisficaition test

* Split metric protocol satisfaction test into optional specified an unspecified

Additionally, create where_filter pytest fixture

* Improve protocol satisfaction tests for MetricTypeParams and sub protocols

Specifically we added/improved protocol satisfaction tests for
- MetricTypeParams
- MetricInput
- MetricInputMeasure
- MetricTimeWindow

* Convert to using mashumaro jsonschema with acceptable performance (#8437)

* Regenerate run_results schema after merging in changes from main.

---------

Co-authored-by: Gerda Shank <gerda@dbtlabs.com>
Co-authored-by: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com>
Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
Co-authored-by: Quigley Malcolm <QMalcolm@users.noreply.github.com>
Co-authored-by: dave-connors-3 <73915542+dave-connors-3@users.noreply.github.com>
Co-authored-by: Emily Rockman <emily.rockman@dbtlabs.com>
Co-authored-by: Jaime Martínez Rincón <jaime@jamezrin.name>
Co-authored-by: Mike Alfare <13974384+mikealfare@users.noreply.github.com>
Co-authored-by: Michelle Ark <MichelleArk@users.noreply.github.com>
@dbeatty10 dbeatty10 mentioned this pull request Jan 30, 2024
2 tasks
MichelleArk added a commit that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-3009] [Bug] <Revert python from 3.11.2-slim-bullseye to 3.10.7-slim-bullseye in /docker>
4 participants