Skip to content

deprecation warning #6

@mraesener-aubex

Description

@mraesener-aubex

Hey everybody, I'm new to lcl.host and just got started. Nevertheless I wanted to create an issue for the following observation:

$ gunicorn --bind 0.0.0.0:$HTTPS_PORT config.wsgi:application
~/projects/foo/.venv/lib/python3.12/site-packages/anchor_pki/autocert/managed_certificate.py:38: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
  return self.cert.not_valid_after.replace(tzinfo=datetime.timezone.utc)
~/projects/foo/.venv/lib/python3.12/site-packages/anchor_pki/autocert/managed_certificate.py:33: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc.
  return self.cert.not_valid_before.replace(tzinfo=datetime.timezone.utc)
Certificate for roboregister.lcl.host returned from disk cache (tmp/acme)
Certificate for roboregister.lcl.host returned from disk cache (tmp/acme)
[2024-07-29 07:44:03 +0200] [12515] [INFO] Starting gunicorn 22.0.0
[2024-07-29 07:44:03 +0200] [12515] [INFO] Listening at: https://0.0.0.0:44324 (12515)
[2024-07-29 07:44:03 +0200] [12515] [INFO] Using worker: sync
[2024-07-29 07:44:03 +0200] [12516] [INFO] Booting worker with pid: 12516

I guess for now it's just something for the backlog or so but anyways now it's tracked.

cheers and thx for the project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions