diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6831eaba9e3fa..bec07c077ad59 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -232,7 +232,7 @@ jobs: python -m pip install -U pip wheel setuptools meson[ninja]==1.0.1 meson-python==0.13.1 python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1 python -m pip install --no-cache-dir --no-build-isolation -e . - python -m pip list + python -m pip list --no-cache-dir export PANDAS_CI=1 python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml concurrency: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f69c9f9606c60..e3ebdb859319a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -83,6 +83,7 @@ repos: hooks: - id: pylint stages: [manual] + args: [--load-plugins=pylint.extensions.redefined_loop_name] - id: pylint alias: redefined-outer-name name: Redefining name from outer scope diff --git a/ci/condarc.yml b/ci/condarc.yml index 9d750b7102c39..f5fb60b208a9c 100644 --- a/ci/condarc.yml +++ b/ci/condarc.yml @@ -11,7 +11,7 @@ always_yes: true # The number seconds conda will wait for your client to establish a # connection to a remote url resource. # -remote_connect_timeout_secs: 30.0 +remote_connect_timeout_secs: 30 # remote_max_retries (int) # The maximum number of retries each HTTP connection should attempt. diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index 4a6443e22d690..a0d9c6ae99dcf 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -277,9 +277,7 @@ def test_read_csv_handles_boto_s3_object(self, s3_resource, tips_file): @pytest.mark.single_cpu @pytest.mark.skipif( is_ci_environment(), - reason="This test can hang in our CI min_versions build " - "and leads to '##[error]The runner has " - "received a shutdown signal...' in GHA. GH: 45651", + reason="GH: 45651: This test can hang in our CI min_versions build", ) def test_read_csv_chunked_download(self, s3_resource, caplog, s3so): # 8 MB, S3FS uses 5MB chunks diff --git a/pandas/tests/io/test_user_agent.py b/pandas/tests/io/test_user_agent.py index 3b552805198b5..06051a81679fa 100644 --- a/pandas/tests/io/test_user_agent.py +++ b/pandas/tests/io/test_user_agent.py @@ -19,9 +19,7 @@ pytestmark = pytest.mark.skipif( is_ci_environment(), - reason="This test can hang in our CI min_versions build " - "and leads to '##[error]The runner has " - "received a shutdown signal...' in GHA. GH 45651", + reason="GH 45651: This test can hang in our CI min_versions build", )