Skip to content

Commit

Permalink
CI: Troubleshoot CI (#44822)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Dec 11, 2021
1 parent ea2dc44 commit f08f574
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 19 deletions.
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

0 comments on commit f08f574

Please sign in to comment.