Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Filter distutils Version warnings from pytest output #2632

Merged
merged 4 commits into from
Nov 4, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,14 @@ geopandas = [
"datasets/naturalearth_lowres/*",
"tests/data/*",
]

[tool.pytest.ini_options]
markers = [
"web: tests that need network connectivity"
]
xfail_strict = true

filterwarnings = [
"ignore:distutils Version classes are deprecated.*:DeprecationWarning:pandas.*",
"ignore:distutils Version classes are deprecated.*:DeprecationWarning:numpy.*"
]
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ versionfile_build = geopandas/_version.py
tag_prefix = v
parentdir_prefix = geopandas-

[tool:pytest]
markers =
web: tests that need network connectivity
xfail_strict = True

[flake8]
# Black enforces 88 characters line length
max_line_length = 88
Expand Down