Skip to content

Commit f08f574

Browse files
authored
CI: Troubleshoot CI (#44822)
1 parent ea2dc44 commit f08f574

File tree

6 files changed

+5
-19
lines changed

6 files changed

+5
-19
lines changed

.github/workflows/python-dev.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ jobs:
4949
shell: bash
5050
run: |
5151
python -m pip install --upgrade pip setuptools wheel
52-
# TODO: unpin
53-
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple "numpy==1.23.0.dev0+101.ga81535a36"
52+
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
5453
pip install git+https://github.com/nedbat/coveragepy.git
5554
pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-timeout
5655
pip list

ci/deps/actions-39-numpydev.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ dependencies:
1919
- cython==0.29.24 # GH#34014
2020
- "--extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple"
2121
- "--pre"
22-
# TODO: Unpin
23-
- "numpy==1.23.0.dev0+101.ga81535a36"
22+
- "numpy"
2423
- "scipy"

pandas/_libs/ops_dispatch.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ UFUNC_ALIASES = {
3434
"true_divide": "truediv",
3535
"power": "pow",
3636
"remainder": "mod",
37-
"divide": "div",
37+
"divide": "truediv",
3838
"equal": "eq",
3939
"not_equal": "ne",
4040
"less": "lt",

pandas/tests/frame/constructors/test_from_records.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ def test_from_records_with_datetimes(self):
3333
arrdata = [np.array([datetime(2005, 3, 1, 0, 0), None])]
3434
dtypes = [("EXPIRY", "<M8[ns]")]
3535

36-
try:
37-
recarray = np.core.records.fromarrays(arrdata, dtype=dtypes)
38-
except (ValueError):
39-
pytest.skip("known failure of numpy rec array creation")
36+
recarray = np.core.records.fromarrays(arrdata, dtype=dtypes)
4037

4138
result = DataFrame.from_records(recarray)
4239
tm.assert_frame_equal(result, expected)

pandas/tests/indexes/datetimes/test_indexing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -651,10 +651,6 @@ def test_get_indexer_mixed_dtypes(self, target):
651651
([date(9999, 1, 1), date(9999, 1, 1)], [-1, -1]),
652652
],
653653
)
654-
# FIXME: these warnings are flaky GH#36131
655-
@pytest.mark.filterwarnings(
656-
"ignore:Comparison of Timestamp with datetime.date:FutureWarning"
657-
)
658654
def test_get_indexer_out_of_bounds_date(self, target, positions):
659655
values = DatetimeIndex([Timestamp("2020-01-01"), Timestamp("2020-01-02")])
660656

pandas/tests/plotting/test_datetimelike.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,7 @@ def check_format_of_first_point(ax, expected_string):
179179
first_line = ax.get_lines()[0]
180180
first_x = first_line.get_xdata()[0].ordinal
181181
first_y = first_line.get_ydata()[0]
182-
try:
183-
assert expected_string == ax.format_coord(first_x, first_y)
184-
except (ValueError):
185-
pytest.skip(
186-
"skipping test because issue forming test comparison GH7664"
187-
)
182+
assert expected_string == ax.format_coord(first_x, first_y)
188183

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

0 commit comments

Comments
 (0)