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

DeprecationWarning: datetime.datetime.utcnow() is deprecated #2787

Open
rgaiacs opened this issue Oct 25, 2023 · 1 comment
Open

DeprecationWarning: datetime.datetime.utcnow() is deprecated #2787

rgaiacs opened this issue Oct 25, 2023 · 1 comment
Assignees

Comments

@rgaiacs
Copy link
Collaborator

rgaiacs commented Oct 25, 2023

When I run deploy.py, I'm getting

DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).

What version of Python are we using to run deploy.py?

@rgaiacs rgaiacs self-assigned this Oct 25, 2023
@manics
Copy link
Member

manics commented Oct 25, 2023

3.10:

- name: "Stage 0: Setup Python"
uses: actions/setup-python@v4
id: setup-python
with:
python-version-file: ".python-version"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants