Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
env_file: actions-310-numpydev.yaml
pattern: "not slow and not network and not single_cpu"
pandas_testing_mode: "deprecate"
test_args: "-W error"
test_args: "-W error::DeprecationWarning:numpy"
fail-fast: false
name: ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }}
env:
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
if: always()

- name: Build Version
run: pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
run: conda list

- name: Publish test results
uses: actions/upload-artifact@v3
Expand Down
9 changes: 9 additions & 0 deletions pandas/tests/util/test_show_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@

import pytest

from pandas.compat import is_numpy_dev
from pandas.util._print_versions import (
_get_dependency_info,
_get_sys_info,
)

import pandas as pd

# This is failing on the Numpy Dev build,
# but the error may just be from distutils?
pytestmark = pytest.mark.xfail(
is_numpy_dev,
reason="_distutils not in python3.10/distutils/core.py",
raises=AssertionError,
)


@pytest.mark.filterwarnings(
# openpyxl
Expand Down