File: ignore-datetimes-deprecation-warnings.patch

package info (click to toggle)
python-google-api-core 2.25.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,332 kB
  • sloc: python: 15,274; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Ignore datetimes DeprecationWarnings from protobuf
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2026-01-12

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -104,4 +104,6 @@
   "ignore:There is no current event loop:DeprecationWarning",
   # Remove after support for Python 3.7 is dropped
   "ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning",
+  # Remove after protobuf is updated
+  "ignore:.*Use timezone-aware objects to represent datetimes in UTC:DeprecationWarning",
 ]