Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(regex-version): removed version 2021.8.27 that breaks dateparser with SegFault #974

Merged

Conversation

athossampayo
Copy link

@athossampayo athossampayo commented Aug 27, 2021

fix(regex-version): removed version 2021.8.27 that breaks dateparser with SegFault

Related to #972

Tests result:
image


Fixes: #972.
Fixes: #973

@athossampayo athossampayo changed the title fix(regex-version): removed version 2021.8.27 that breaks dateparser … fix(regex-version): removed version 2021.8.27 that breaks dateparser with SegFault Aug 27, 2021
Copy link
Collaborator

@noviluni noviluni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @athossampayo, thank you for opening this PR. I think the correct way to do it is separating the versions with commas, as set in PEP-440: 'regex !=2019.02.19,!=2021.8.27',

Could you try with these semantics?

Thanks! :)

@athossampayo
Copy link
Author

Hello @noviluni, thanks for the tip! Did not find a pattern to follow on this case.

Already updated the code.

If there's anything more to fix, just say.

Thanks!

@codecov
Copy link

codecov bot commented Sep 1, 2021

Codecov Report

Merging #974 (ce4dc15) into master (ab96be9) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #974   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files         231      231           
  Lines        2609     2609           
=======================================
  Hits         2564     2564           
  Misses         45       45           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab96be9...ce4dc15. Read the comment docs.

Copy link
Collaborator

@noviluni noviluni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

Copy link
Member

@lopuhin lopuhin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @athossampayo 👍

@lopuhin lopuhin merged commit 44e8624 into scrapinghub:master Sep 1, 2021
@athossampayo athossampayo deleted the remove-regex-broken-version branch September 1, 2021 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants