Skip to content

BUG/TST/CI: newest beautifulsoup4 breaks pandas integration #18646

Closed

Description

@neutrinoceros

example logs

this affects required CI jobs and as such, prevents any merge without repo owner rights, so I'll make it a top priority.

(tooting my own horn; this is the kind of "emergencies" that #17596 would allow us to get by)

Activity

  1. neutrinoceros commented on Sep 28, 2025

    @neutrinoceros
    ContributorAuthor

    more details:

    reprod (requires pandas + beautifulsoup4==4.14.0, released on 27/09/2025)

    pytest astropy/io/misc/tests/test_pandas.py::test_read_write_format 
    

    fails with:

    FAILED astropy/io/misc/tests/test_pandas.py::test_read_write_format[html] - TypeError: unsupported operand type(s) for +: 'ResultSet' and 'ResultSet'
    
  2. neutrinoceros commented on Sep 28, 2025

    @neutrinoceros
    ContributorAuthor

    quick (and hopefully temporary) solution at #18647. I'll report upstream on Monday but from what I'm seeing now there's a good chance that the problem cannot be addressed on our side.

  3. changed the title [-]BUG/TST/CI: newest `beautifulsoup4` breaks pandas integration[/-] [+]BUG/TST/CI: newest `beautifulsoup4` breaks `pandas` integration[/+] on Sep 29, 2025
  4. neutrinoceros commented on Sep 29, 2025

    @neutrinoceros
    ContributorAuthor

    found an existing report upstream: pandas-dev/pandas#62492

  5. neutrinoceros commented on Sep 29, 2025

    @neutrinoceros
    ContributorAuthor

    beautifulsoup4 4.14.2 fixed it. No further change is needed on our side (but maybe a test could be added to pandas). Closing now.

  6. pllim commented on Sep 29, 2025

    @pllim
    Member

    Phew. Thanks for looking into this anyway!

  7. neutrinoceros commented on Sep 29, 2025

    @neutrinoceros
    ContributorAuthor

    FTR it didn't solve itself: 4.14.2 happened because I reported the regression :)

  8. pllim commented on Sep 29, 2025

    @pllim
    Member

    Sorry, the "anyway" was for #18647 . Appreciate you handling it upstream!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions