diff --git a/.github/actions/build_pandas/action.yml b/.github/actions/build_pandas/action.yml index 2d208cb38725a..b78fd63929809 100644 --- a/.github/actions/build_pandas/action.yml +++ b/.github/actions/build_pandas/action.yml @@ -1,9 +1,6 @@ name: Build pandas description: Rebuilds the C extensions and installs pandas inputs: - editable: - description: Whether to build pandas in editable mode (default true) - default: true werror: description: Enable werror flag for build default: true @@ -26,12 +23,5 @@ runs: shell: bash -el {0} - name: Build Pandas - run: | - if [[ ${{ inputs.editable }} == "true" ]]; then - pip install -e . --no-build-isolation -v --no-deps \ - ${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }} - else - pip install . --no-build-isolation -v --no-deps \ - ${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }} - fi + run: pip install . --no-build-isolation -v --no-deps ${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }} shell: bash -el {0} diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 4aa49f23b724b..87500e8c5838f 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -43,15 +43,9 @@ jobs: - name: Build Pandas id: build uses: ./.github/actions/build_pandas - with: - editable: false # The following checks are independent of each other and should still be run if one fails - # TODO: The doctests have to be run first right now, since the Cython doctests only work - # with pandas installed in non-editable mode - # This can be removed once pytest-cython doesn't require C extensions to be installed inplace - - name: Extra installs # https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions-azure-pipelines-travis-ci-and-gitlab-ci-cd run: sudo apt-get update && sudo apt-get install -y libegl1 libopengl0 @@ -60,13 +54,6 @@ jobs: run: cd ci && ./code_checks.sh doctests if: ${{ steps.build.outcome == 'success' && always() }} - - name: Install pandas in editable mode - id: build-editable - if: ${{ steps.build.outcome == 'success' && always() }} - uses: ./.github/actions/build_pandas - with: - editable: true - - name: Check for no warnings when building single-page docs run: ci/code_checks.sh single-docs if: ${{ steps.build.outcome == 'success' && always() }}