This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 7d6cf407d2 Python: Pin poetry to 1.5.1 (#8363)
7d6cf407d2 is described below

commit 7d6cf407d2de47a0ec0e743dbcfa46f12e78dcc8
Author: Fokko Driesprong <[email protected]>
AuthorDate: Mon Aug 21 15:21:18 2023 +0200

    Python: Pin poetry to 1.5.1 (#8363)
---
 .github/workflows/python-ci.yml | 5 +++--
 python/Makefile                 | 7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml
index fab8f08a71..e31d0f90d3 100644
--- a/.github/workflows/python-ci.yml
+++ b/.github/workflows/python-ci.yml
@@ -44,7 +44,8 @@ jobs:
     steps:
     - uses: actions/checkout@v3
     - name: Install poetry
-      run: pip install poetry
+      working-directory: ./python
+      run: make install-poetry
     - uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python }}
@@ -53,7 +54,7 @@ jobs:
           ./python/poetry.lock
     - name: Install
       working-directory: ./python
-      run: make install
+      run: make install-dependencies
     - name: Linters
       working-directory: ./python
       run: make lint
diff --git a/python/Makefile b/python/Makefile
index df5f7005d9..db33d09b04 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -15,10 +15,13 @@
 # specific language governing permissions and limitations
 # under the License.
 
-install:
-       pip install poetry
+install-poetry:
+       pip install poetry==1.5.1
+
+install-dependencies:
        poetry install -E pyarrow -E hive -E s3fs -E glue -E adlfs -E duckdb -E 
ray -E sql-postgres -E gcsfs
 
+install: | install-poetry install-dependencies
 
 check-license:
        ./dev/check-license

Reply via email to