You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/17 06:43:34 UTC

[GitHub] [airflow] mik-laj opened a new pull request #21631: Upgrade Postgres client in Docker images

mik-laj opened a new pull request #21631:
URL: https://github.com/apache/airflow/pull/21631


   This client is a bit outdated.
   ```
   $ docker run --rm --entrypoint sh python:3.7-slim-buster -c "apt update && apt search postgresql-client"
   ...
   
   postgresql-client/oldstable 11+200+deb10u4 all
     front-end programs for PostgreSQL (supported version)
   
   ...
   $ docker run --rm --entrypoint sh python:3.7-slim-bullseye -c "apt update && apt search postgresql-client"
   
   ...
   postgresql-client/stable 13+225 all
     front-end programs for PostgreSQL (supported version)
   ...
   ```
   When we install a package from the official repository, we have `14` version.
   
   In addition, it unifies the parameters regarding the installation of database clients. Now we have a separate parameter for each database.
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj merged pull request #21631: Upgrade Postgres client in Docker images

Posted by GitBox <gi...@apache.org>.
mik-laj merged pull request #21631:
URL: https://github.com/apache/airflow/pull/21631


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on pull request #21631: Upgrade Postgres client in Docker images

Posted by GitBox <gi...@apache.org>.
mik-laj commented on pull request #21631:
URL: https://github.com/apache/airflow/pull/21631#issuecomment-1043293358


   One test failed, but it looks unrelated.
   ```
   tests/providers/redis/operators/test_redis_publish.py::TestRedisPublishOperator::test_execute_hello: TypeError: 'NoneType' object is not subscriptable
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on pull request #21631: Upgrade Postgres client in Docker images

Posted by GitBox <gi...@apache.org>.
potiuk commented on pull request #21631:
URL: https://github.com/apache/airflow/pull/21631#issuecomment-1042958421


   I re-run it with "full tests needed" to see if it will work for all Python versions :) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on pull request #21631: Upgrade Postgres client in Docker images

Posted by GitBox <gi...@apache.org>.
mik-laj commented on pull request #21631:
URL: https://github.com/apache/airflow/pull/21631#issuecomment-1043296892


   We have a latest client in image
   ```
   #10 22.28 Setting up postgresql-client-common (238.pgdg100+1) ...
   #10 22.28 Setting up postgresql-client-14 (14.2-1.pgdg100+1) ...
   #10 22.75 update-alternatives: using /usr/share/postgresql/14/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
   #10 22.76 Setting up postgresql-client (14+238.pgdg100+1) ...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed pull request #21631: Upgrade Postgres client in Docker images

Posted by GitBox <gi...@apache.org>.
potiuk closed pull request #21631:
URL: https://github.com/apache/airflow/pull/21631


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org