Skip to content

Commit

Permalink
🔒 🤖 CI Update lock files for scipy-dev CI build(s) 🔒 🤖 (#30296)
Browse files Browse the repository at this point in the history
Co-authored-by: Lock file bot <[email protected]>
  • Loading branch information
glemaitre and web-flow authored Nov 18, 2024
1 parent 2144b90 commit 6bf2061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ https://repo.anaconda.com/pkgs/main/linux-64/pip-24.2-py313h06a4308_0.conda#59f8
# pip babel @ https://files.pythonhosted.org/packages/ed/20/bc79bc575ba2e2a7f70e8a1155618bb1301eaa5132a8271373a6903f73f8/babel-2.16.0-py3-none-any.whl#sha256=368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b
# pip certifi @ https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl#sha256=922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8
# pip charset-normalizer @ https://files.pythonhosted.org/packages/2b/c9/1c8fe3ce05d30c87eff498592c89015b19fade13df42850aafae09e94f35/charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=4796efc4faf6b53a18e3d46343535caed491776a22af773f366534056c4e1fbc
# pip coverage @ https://files.pythonhosted.org/packages/7f/f8/4436a643631a2fbab4b44d54f515028f6099bfb1cd95b13cfbf701e7f2f2/coverage-7.6.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=dacbc52de979f2823a819571f2e3a350a7e36b8cb7484cdb1e289bceaf35305f
# pip coverage @ https://files.pythonhosted.org/packages/2b/19/7a70458c1624724086195b40628e91bc5b9ca180cdfefcc778285c49c7b2/coverage-7.6.7-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=2d608a7808793e3615e54e9267519351c3ae204a6d85764d8337bd95993581a8
# pip docutils @ https://files.pythonhosted.org/packages/8f/d7/9322c609343d929e75e7e5e6255e614fcc67572cfd083959cdef3b7aad79/docutils-0.21.2-py3-none-any.whl#sha256=dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2
# pip execnet @ https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl#sha256=26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc
# pip idna @ https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl#sha256=946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
Expand Down
6 changes: 3 additions & 3 deletions sklearn/utils/tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1833,19 +1833,19 @@ def test_num_features_errors_1d_containers(X, constructor_name):
if constructor_name == "array":
expected_type_name = "numpy.ndarray"
elif constructor_name == "series":
expected_type_name = "pandas.core.series.Series"
expected_type_name = "pandas.*Series"
else:
expected_type_name = constructor_name
message = (
f"Unable to find the number of features from X of type {expected_type_name}"
)
if hasattr(X, "shape"):
message += " with shape (3,)"
message += re.escape(" with shape (3,)")
elif isinstance(X[0], str):
message += " where the samples are of type str"
elif isinstance(X[0], dict):
message += " where the samples are of type dict"
with pytest.raises(TypeError, match=re.escape(message)):
with pytest.raises(TypeError, match=message):
_num_features(X)


Expand Down

0 comments on commit 6bf2061

Please sign in to comment.