Skip to content

refactor: replace deprecated logger.warn and datetime.utcnow#1568

Open
MD-Mushfiqur123 wants to merge 1 commit into
FreeOpcUa:masterfrom
MD-Mushfiqur123:fix-deprecations
Open

refactor: replace deprecated logger.warn and datetime.utcnow#1568
MD-Mushfiqur123 wants to merge 1 commit into
FreeOpcUa:masterfrom
MD-Mushfiqur123:fix-deprecations

Conversation

@MD-Mushfiqur123
Copy link
Copy Markdown

Replace deprecated logger.warn() with logger.warning() and datetime.utcnow() with datetime.now(timezone.utc) throughout the codebase.

  • logger.warn() was deprecated in Python 3.3
  • datetime.utcnow() was deprecated in Python 3.12

@oroulet
Copy link
Copy Markdown
Member

oroulet commented May 29, 2026

you know tha repository is completely deprecated ? look at opcua-asyncio

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

Successfully merging this pull request may close these issues.

2 participants