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

[REF] hr*: remove the use of utcnow #165799

Closed
wants to merge 1 commit into from

Conversation

Flotchet
Copy link
Contributor

utcnow is deprecated and should not be used anymore. this commit swap utcnow() by now(timezone.utc)

see:
python/cpython#103857
python/cpython#81669

python 3.12 changes related to this:
https://docs.python.org/3/whatsnew/3.12.html#deprecated

task-3932942


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

utcnow is deprecated and should not be used anymore.
this commit swap utcnow() by now(timezone.utc)

see:
python/cpython#103857
python/cpython#81669

python 3.12 changes related to this:
https://docs.python.org/3/whatsnew/3.12.html#deprecated

task-3932942
@robodoo
Copy link
Contributor

robodoo commented May 16, 2024

Pull request status dashboard.

@C3POdoo C3POdoo added the RD research & development, internal work label May 16, 2024
Copy link
Contributor

@mepe-odoo mepe-odoo left a comment

Choose a reason for hiding this comment

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

LGTM

@Bertrand2
Copy link
Contributor

robodoo r+

@robodoo
Copy link
Contributor

robodoo commented May 30, 2024

I'm sorry, @Bertrand2: draft PRs can not be approved.

@Bertrand2 Bertrand2 marked this pull request as ready for review May 30, 2024 13:26
@Bertrand2
Copy link
Contributor

robodoo r+

@C3POdoo C3POdoo requested a review from a team May 30, 2024 13:28
robodoo pushed a commit that referenced this pull request May 30, 2024
utcnow is deprecated and should not be used anymore.
this commit swap utcnow() by now(timezone.utc)

see:
python/cpython#103857
python/cpython#81669

python 3.12 changes related to this:
https://docs.python.org/3/whatsnew/3.12.html#deprecated

task-3932942

closes #165799

Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
@robodoo robodoo closed this May 30, 2024
@robodoo robodoo added the 17.3 label May 30, 2024
@fw-bot fw-bot deleted the master-hr-3932942-dep-mafl branch June 13, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.3 RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants