Apache DataFusion SQL Query Engine
ARROW-8272: [CI][Python] Fix test failure on Python 3.5
Krisztián Szűcs4b5ae0ae6206
diff --git a/.github/workflows/python.yml b/.github/workflows/python.ymlindex 944e7c7fea..c8fa9bde2f 100644--- a/.github/workflows/python.yml+++ b/.github/workflows/python.yml@@ -34,15 +34,10 @@ on:jobs:ubuntu:- name: AMD64 Ubuntu ${{ matrix.ubuntu }} Python 3+ name: AMD64 Ubuntu 16.04 Python 3.5runs-on: ubuntu-latest- if: github.event_name == 'push'- strategy:- fail-fast: false- matrix:- ubuntu: [16.04, 18.04]env:- UBUNTU: ${{ matrix.ubuntu }}+ UBUNTU: 16.04steps:- name: Checkout Arrowuses: actions/checkout@v2@@ -73,16 +68,15 @@ jobs:-p ${{ secrets.DOCKERHUB_TOKEN }}docker-compose push ubuntu-python- conda:- name: AMD64 Conda Python ${{ matrix.python }}+ conda-nopandas:+ name: AMD64 Conda Python ${{ matrix.python }} Without Pandasruns-on: ubuntu-lateststrategy:fail-fast: falsematrix:- python: [3.6, 3.8]+ python: [3.6]env:PYTHON: ${{ matrix.python }}- PANDAS: lateststeps:- name: Checkout Arrowuses: actions/checkout@v2@@ -96,17 +90,14 @@ jobs:run: |docker-compose pull --ignore-pull-failures conda-cppdocker-compose pull --ignore-pull-failures conda-python- docker-compose pull --ignore-pull-failures conda-python-pandas- name: Docker Buildshell: bashrun: |docker-compose build conda-cppdocker-compose build conda-python- docker-compose build conda-python-pandas- name: Docker Runshell: bash- run: |- docker-compose run conda-python-pandas+ run: docker-compose run conda-python- name: Docker Pushif: success() && github.event_name == 'push' && github.repository == 'apache/arrow'continue-on-error: true@@ -114,18 +105,19 @@ jobs:run: |docker login -u ${{ secrets.DOCKERHUB_USER }} \-p ${{ secrets.DOCKERHUB_TOKEN }}- docker-compose push conda-python-pandas+ docker-compose push conda-python- conda-nopandas:- name: AMD64 Conda Python ${{ matrix.python }} Nopandas+ conda-pandas:+ name: AMD64 Conda Python ${{ matrix.python }} Pandas ${{ matrix.pandas }}runs-on: ubuntu-latest- if: github.event_name == 'push'strategy:fail-fast: falsematrix:- python: [3.6]+ python: [3.8]+ pandas: ["latest"]env:PYTHON: ${{ matrix.python }}+ PANDAS: ${{ matrix.pandas }}steps:- name: Checkout Arrowuses: actions/checkout@v2@@ -139,14 +131,17 @@ jobs:run: |docker-compose pull --ignore-pull-failures conda-cppdocker-compose pull --ignore-pull-failures conda-python+ docker-compose pull --ignore-pull-failures conda-python-pandas- name: Docker Buildshell: bashrun: |docker-compose build conda-cppdocker-compose build conda-python+ docker-compose build conda-python-pandas- name: Docker Runshell: bash- run: docker-compose run conda-python+ run: |+ docker-compose run conda-python-pandas- name: Docker Pushif: success() && github.event_name == 'push' && github.repository == 'apache/arrow'continue-on-error: true@@ -154,10 +149,10 @@ jobs:run: |docker login -u ${{ secrets.DOCKERHUB_USER }} \-p ${{ secrets.DOCKERHUB_TOKEN }}- docker-compose push conda-python+ docker-compose push conda-python-pandasmacos:- name: AMD64 MacOS 10.15 Python 3+ name: AMD64 MacOS 10.15 Python 3.7runs-on: macos-latestenv:ARROW_HOME: /usr/localdiff --git a/.github/workflows/python_cron.yml b/.github/workflows/python_cron.ymlindex dc02ace87f..10c17e5c8a 100644--- a/.github/workflows/python_cron.yml+++ b/.github/workflows/python_cron.yml@@ -69,6 +69,45 @@ jobs:-p ${{ secrets.DOCKERHUB_TOKEN }}docker-compose push debian-python+ ubuntu:+ name: AMD64 Ubuntu ${{ matrix.ubuntu }} Python 3+ runs-on: ubuntu-latest+ strategy:+ fail-fast: false+ matrix:+ ubuntu: [18.04]+ env:+ UBUNTU: ${{ matrix.ubuntu }}+ steps:+ - name: Checkout Arrow+ uses: actions/checkout@v2+ with:+ fetch-depth: 0+ - name: Fetch Submodules and Tags+ shell: bash+ run: ci/scripts/util_checkout.sh+ - name: Docker Pull+ shell: bash+ run: |+ docker-compose pull --ignore-pull-failures ubuntu-cpp+ docker-compose pull --ignore-pull-failures ubuntu-python+ - name: Docker Build+ shell: bash+ run: |+ docker-compose build ubuntu-cpp+ docker-compose build ubuntu-python+ - name: Docker Run+ shell: bash+ run: docker-compose run ubuntu-python+ - name: Docker Push+ if: success() && github.repository == 'apache/arrow'+ continue-on-error: true+ shell: bash+ run: |+ docker login -u ${{ secrets.DOCKERHUB_USER }} \+ -p ${{ secrets.DOCKERHUB_TOKEN }}+ docker-compose push ubuntu-python+fedora:name: AMD64 Fedora ${{ matrix.fedora }} Python 3runs-on: ubuntu-latest@@ -115,19 +154,21 @@ jobs:fail-fast: falsematrix:name:- - dask- - hdfs- - turbodbc+ - dask-latest+ - hdfs-2.9.2+ - turbodbc-latest- kartothek-latest- pandas-master- pandas-0.24include:- - name: dask+ - name: dask-latestlibrary: dask- title: Dask- - name: turbodbc+ dask: latest+ title: Dask latest+ - name: turbodbc-latestlibrary: turbodbc- title: Turbodbc+ turbodbc: latest+ title: Turbodbc latest- name: kartothek-latestlibrary: kartothekkartothek: latest@@ -140,13 +181,16 @@ jobs:library: pandastitle: Pandas masterpandas: master- - name: hdfs+ - name: hdfs-2.9.2library: hdfs- title: HDFS+ hdfs: 2.9.2+ title: HDFS 2.9.2env:+ # the defaults here should correspond to the values in .envPYTHON: 3.7- DASK: latest- TURBODBC: latest+ HDFS: ${{ matrix.hdfs || '2.9.2' }}+ DASK: ${{ matrix.dask || 'latest' }}+ TURBODBC: ${{ matrix.turbodbc || 'latest' }}PANDAS: ${{ matrix.pandas || 'latest' }}KARTOTHEK: ${{ matrix.kartothek || 'latest' }}steps: