diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 2e890506073a8..6f9d5b47a3272 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -33,22 +33,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools wheel - - # GH 39416 - pip install numpy - - name: Build pandas sdist run: | - pip list - python setup.py sdist --formats=gztar + pipx run build --version + pipx run build --sdist - uses: conda-incubator/setup-miniconda@v2 with: