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

Remove python-dateutil error suppression for pytest once >2.8.2 is released #1428

Closed
rmartin16 opened this issue Sep 1, 2023 · 1 comment · Fixed by #1680
Closed

Remove python-dateutil error suppression for pytest once >2.8.2 is released #1428

rmartin16 opened this issue Sep 1, 2023 · 1 comment · Fixed by #1680
Labels
bug A crash or error in behavior.

Comments

@rmartin16
Copy link
Member

rmartin16 commented Sep 1, 2023

Describe the bug

For Python 3.12, python-dateutil is currently causing CI to raise an error for using datetime.utcfromtimestamp(). A mitigation was put in place to suppress the error until a new release.

Steps to reproduce

N/A

Expected behavior

Remove the error suppression configuration from pyproject.toml once a release >2.8.2 is cut.

[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
    "error",
    # suppress until python-dateutil>2.8.2 is released (https://github.com/dateutil/dateutil/issues/1284)
    "ignore:.*datetime.utcfromtimestamp\\(\\) is deprecated.*:DeprecationWarning:",
]

Screenshots

No response

Environment

N/A

Logs

No response

Additional context

RE: #1290

@rmartin16 rmartin16 added the bug A crash or error in behavior. label Sep 1, 2023
@rmartin16
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant