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: Troubleshoot CI #44822

Merged
merged 9 commits into from Dec 11, 2021
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
3 changes: 1 addition & 2 deletions .github/workflows/python-dev.yml
Expand Up @@ -49,8 +49,7 @@ jobs:
shell: bash
run: |
python -m pip install --upgrade pip setuptools wheel
# TODO: unpin
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple "numpy==1.23.0.dev0+101.ga81535a36"
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
pip install git+https://github.com/nedbat/coveragepy.git
pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-timeout
pip list
Expand Down
3 changes: 1 addition & 2 deletions ci/deps/actions-39-numpydev.yaml
Expand Up @@ -19,6 +19,5 @@ dependencies:
- cython==0.29.24 # GH#34014
- "--extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple"
- "--pre"
# TODO: Unpin
- "numpy==1.23.0.dev0+101.ga81535a36"
- "numpy"
- "scipy"
2 changes: 1 addition & 1 deletion pandas/_libs/ops_dispatch.pyx
Expand Up @@ -34,7 +34,7 @@ UFUNC_ALIASES = {
"true_divide": "truediv",
"power": "pow",
"remainder": "mod",
"divide": "div",
"divide": "truediv",
"equal": "eq",
"not_equal": "ne",
"less": "lt",
Expand Down
5 changes: 1 addition & 4 deletions pandas/tests/frame/constructors/test_from_records.py
Expand Up @@ -33,10 +33,7 @@ def test_from_records_with_datetimes(self):
arrdata = [np.array([datetime(2005, 3, 1, 0, 0), None])]
dtypes = [("EXPIRY", "<M8[ns]")]

try:
recarray = np.core.records.fromarrays(arrdata, dtype=dtypes)
except (ValueError):
pytest.skip("known failure of numpy rec array creation")
recarray = np.core.records.fromarrays(arrdata, dtype=dtypes)

result = DataFrame.from_records(recarray)
tm.assert_frame_equal(result, expected)
Expand Down
4 changes: 0 additions & 4 deletions pandas/tests/indexes/datetimes/test_indexing.py
Expand Up @@ -651,10 +651,6 @@ def test_get_indexer_mixed_dtypes(self, target):
([date(9999, 1, 1), date(9999, 1, 1)], [-1, -1]),
],
)
# FIXME: these warnings are flaky GH#36131
@pytest.mark.filterwarnings(
"ignore:Comparison of Timestamp with datetime.date:FutureWarning"
)
def test_get_indexer_out_of_bounds_date(self, target, positions):
values = DatetimeIndex([Timestamp("2020-01-01"), Timestamp("2020-01-02")])

Expand Down
7 changes: 1 addition & 6 deletions pandas/tests/plotting/test_datetimelike.py
Expand Up @@ -179,12 +179,7 @@ def check_format_of_first_point(ax, expected_string):
first_line = ax.get_lines()[0]
first_x = first_line.get_xdata()[0].ordinal
first_y = first_line.get_ydata()[0]
try:
assert expected_string == ax.format_coord(first_x, first_y)
except (ValueError):
pytest.skip(
"skipping test because issue forming test comparison GH7664"
)
assert expected_string == ax.format_coord(first_x, first_y)

annual = Series(1, index=date_range("2014-01-01", periods=3, freq="A-DEC"))
_, ax = self.plt.subplots()
Expand Down