Skip to content

Commit

Permalink
Python: Pin poetry to 1.5.1 (#8363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko authored Aug 21, 2023
1 parent 1a2e334 commit 7d6cf40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
7 changes: 5 additions & 2 deletions python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d6cf40

Please sign in to comment.