-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BLD: Split out tests into pandas_tests package #53007
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
d3edcdf
8e0d861
bd83272
339dacc
eea0220
a5a89b3
48df264
d00e471
a43c9fe
b2c2b8c
d6ac87c
427ea4e
7174249
f50f110
9cbbb66
053ad48
f2573ee
547dcc1
1044441
f3c182a
06d3697
13063d8
8254943
9ed91e0
d4502af
b61a6a4
1a6531c
e00ecf5
799687f
1d6137b
792c011
2a78345
16f5964
b911945
beb64dc
3135e67
d17ddaf
50410ad
554d478
8d68f7d
98ec61a
b8e3588
a19f2e6
b4aa062
a2ba3bf
7ee6adc
19fa7f9
be64699
f1c18cc
e835993
5bdc0d1
2cf3911
e9ba935
e53ad08
23952aa
23b9827
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Note: This is the pyproject.toml for the pandas-tests package | ||
# The pyproject.toml for the pandas package is in the parent directory | ||
# of this one | ||
[build-system] | ||
requires = [ | ||
"setuptools>=61.0.0", | ||
] | ||
[project] | ||
name="pandas-tests" | ||
# Note: The version is hardcoded since the pandas version has to | ||
# match the tests version. Remember to bump both! | ||
version="2.1" | ||
#dependencies=[ | ||
# "pandas==2.1.0" | ||
#] | ||
Comment on lines
+13
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this still be commented out? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the reminder. I planned on doing this in a followup (since technically this only needs to be set at release time), but then realized I can do this programmtically. I'll make the changes to the wheel builder workflow soon. |
||
requires-python=">=3.9" | ||
|
||
[tool.setuptools] | ||
package-dir={"pandas_tests"= "tests"} | ||
|
||
[tool.setuptools.package-data] | ||
"pandas_tests"=["pytest.ini"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[pytest] | ||
# sync minversion with pyproject.toml & install.rst | ||
minversion = 7.0 | ||
addopts = --strict-data-files --strict-markers --strict-config --capture=no --durations=30 --junitxml=test-data.xml | ||
empty_parameter_set_mark = fail_at_collect | ||
xfail_strict = true | ||
testpaths = pandas | ||
doctest_optionflags = | ||
NORMALIZE_WHITESPACE | ||
IGNORE_EXCEPTION_DETAIL | ||
ELLIPSIS | ||
|
||
filterwarnings = | ||
error:::pandas | ||
error::ResourceWarning | ||
error::pytest.PytestUnraisableExceptionWarning | ||
ignore:.*ssl.SSLSocket:pytest.PytestUnraisableExceptionWarning | ||
ignore:.*ssl.SSLSocket:ResourceWarning | ||
ignore::ResourceWarning:asyncio | ||
# From plotting doctests | ||
ignore:More than 20 figures have been opened:RuntimeWarning | ||
# Will be fixed in numba 0.56: https://github.com/numba/numba/issues/7758 | ||
ignore:`np.MachAr` is deprecated:DeprecationWarning:numba | ||
ignore:.*urllib3:DeprecationWarning:botocore | ||
ignore:Setuptools is replacing distutils.:UserWarning:_distutils_hack | ||
# https://github.com/PyTables/PyTables/issues/822 | ||
ignore:a closed node found in the registry:UserWarning:tables | ||
ignore:`np.object` is a deprecated:DeprecationWarning:tables | ||
ignore:tostring:DeprecationWarning:tables | ||
ignore:distutils Version classes are deprecated:DeprecationWarning:numexpr | ||
ignore:distutils Version classes are deprecated:DeprecationWarning:fastparquet | ||
ignore:distutils Version classes are deprecated:DeprecationWarning:fsspec | ||
|
||
junit_family = xunit2 | ||
markers = | ||
single_cpu: tests that should run on a single cpu only | ||
slow: mark a test as slow | ||
network: mark a test as network | ||
db: tests requiring a database (mysql or postgres) | ||
clipboard: mark a pd.read_clipboard test | ||
arm_slow: mark a test as slow for arm64 architecture | ||
arraymanager: mark a test to run with ArrayManager enabled | ||
|
||
asyncio_mode = strict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this commented out on purpose? Remove?