Skip to content

BUG: Use whole file for encoding checks with charset_normalizer. #22887

Merged
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-22872
Dec 26, 2022
Merged

BUG: Use whole file for encoding checks with charset_normalizer. #22887
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-22872

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Dec 25, 2022

Backport or #22872.

  • BUG: Use whole file for encoding checks [f2py]

  • DOC: Add a code comment

Co-authored-by: melissawm melissawm@gmail.com

  • TST: Add a conditional unicode f2py test

  • MAINT: Add chardet as a test requirement

  • ENH: Cleanup and switch f2py to charset_normalizer

  • MAINT: Remove chardet for charset_normalizer

  • TST: Simplify UTF-8 encoding [f2py]

Co-authored-by: melissawm melissawm@gmail.com

…py] (numpy#22872)

* BUG: Use whole file for encoding checks [f2py]

* DOC: Add a code comment

Co-authored-by: melissawm <melissawm@gmail.com>

* TST: Add a conditional unicode f2py test

* MAINT: Add chardet as a test requirement

* ENH: Cleanup and switch f2py to charset_normalizer

* MAINT: Remove chardet for charset_normalizer

* TST: Simplify UTF-8 encoding [f2py]

Co-authored-by: melissawm <melissawm@gmail.com>
@charris charris added this to the 1.24.1 release milestone Dec 25, 2022
@charris charris changed the title BUG: Use whole file for encoding checks with charset_normalizer BUG: Use whole file for encoding checks with charset_normalizer. Dec 25, 2022
@charris charris merged commit 6f491e0 into numpy:maintenance/1.24.x Dec 26, 2022
@charris charris deleted the backport-22872 branch December 26, 2022 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants