winrt-Windows.Web 2.3.0__tar.gz → 3.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/PKG-INFO +7 -7
  2. winrt_windows_web-3.1.0/all-requirements.txt +4 -0
  3. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/py.Windows.Web.cpp +164 -39
  4. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/pyproject.toml +4 -4
  5. winrt_windows_web-3.1.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/requirements.txt +2 -2
  7. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/setup.py +1 -1
  8. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt/_winrt_windows_web.pyi +10 -6
  9. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt/windows/web/__init__.py +6 -4
  10. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt_Windows.Web.egg-info/PKG-INFO +7 -7
  11. winrt_windows_web-3.1.0/winrt_Windows.Web.egg-info/requires.txt +5 -0
  12. winrt_windows_web-2.3.0/all-requirements.txt +0 -4
  13. winrt_windows_web-2.3.0/pywinrt-version.txt +0 -1
  14. winrt_windows_web-2.3.0/winrt_Windows.Web.egg-info/requires.txt +0 -5
  15. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/README.md +0 -0
  16. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/setup.cfg +0 -0
  17. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt/windows/web/py.typed +0 -0
  18. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt_Windows.Web.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt_Windows.Web.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_web-2.3.0 → winrt_windows_web-3.1.0}/winrt_Windows.Web.egg-info/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: winrt-Windows.Web
3
- Version: 2.3.0
3
+ Version: 3.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
- License: MIT
5
+ License-Expression: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
7
7
  Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.3.0
15
+ Requires-Dist: winrt-runtime==3.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,4 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
2
+
3
+ winrt-Windows.Foundation[all]==3.1.0
4
+ winrt-Windows.Storage.Streams[all]==3.1.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
2
2
 
3
3
  #include "py.Windows.Web.h"
4
4
 
@@ -15,7 +15,7 @@ namespace py::cpp::Windows::Web
15
15
 
16
16
  static PyObject* WebError_GetStatus(PyObject* /*unused*/, PyObject* args) noexcept
17
17
  {
18
- auto arg_count = PyTuple_Size(args);
18
+ auto arg_count = PyTuple_GET_SIZE(args);
19
19
 
20
20
  if (arg_count == 1)
21
21
  {
@@ -36,7 +36,11 @@ namespace py::cpp::Windows::Web
36
36
 
37
37
  auto param0 = py::convert_to<int32_t>(args, 0);
38
38
 
39
- return py::convert(winrt::Windows::Web::WebError::GetStatus(param0));
39
+ return py::convert([&]()
40
+ {
41
+ auto _gil = release_gil();
42
+ return winrt::Windows::Web::WebError::GetStatus(param0);
43
+ }());
40
44
  }
41
45
  catch (...)
42
46
  {
@@ -52,19 +56,16 @@ namespace py::cpp::Windows::Web
52
56
  }
53
57
 
54
58
  static PyMethodDef _methods_WebError[] = {
55
- { }
56
- };
59
+ { }};
57
60
 
58
61
  static PyGetSetDef _getset_WebError[] = {
59
- { }
60
- };
62
+ { }};
61
63
 
62
64
  static PyType_Slot _type_slots_WebError[] = {
63
65
  { Py_tp_new, reinterpret_cast<void*>(_new_WebError) },
64
66
  { Py_tp_methods, reinterpret_cast<void*>(_methods_WebError) },
65
67
  { Py_tp_getset, reinterpret_cast<void*>(_getset_WebError) },
66
- { }
67
- };
68
+ { }};
68
69
 
69
70
  static PyType_Spec type_spec_WebError = {
70
71
  "winrt._winrt_windows_web.WebError",
@@ -74,13 +75,11 @@ namespace py::cpp::Windows::Web
74
75
  _type_slots_WebError};
75
76
 
76
77
  static PyGetSetDef getset_WebError_Static[] = {
77
- { }
78
- };
78
+ { }};
79
79
 
80
80
  static PyMethodDef methods_WebError_Static[] = {
81
81
  { "get_status", reinterpret_cast<PyCFunction>(WebError_GetStatus), METH_VARARGS, nullptr },
82
- { }
83
- };
82
+ { }};
84
83
 
85
84
  static PyType_Slot type_slots_WebError_Static[] =
86
85
  {
@@ -90,23 +89,23 @@ namespace py::cpp::Windows::Web
90
89
  { }
91
90
  };
92
91
 
93
- static PyType_Spec type_spec_WebError_Static =
94
- {
92
+ static PyType_Spec type_spec_WebError_Static = {
95
93
  "winrt._winrt_windows_web.WebError_Static",
96
94
  static_cast<int>(PyType_Type.tp_basicsize),
97
95
  static_cast<int>(PyType_Type.tp_itemsize),
98
96
  Py_TPFLAGS_DEFAULT,
99
- type_slots_WebError_Static
100
- };
97
+ type_slots_WebError_Static};
101
98
 
102
99
  // ----- IUriToStreamResolver interface --------------------
103
100
 
101
+ #if PY_VERSION_HEX < 0x030A0000
104
102
  static PyObject* _new_IUriToStreamResolver(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
105
103
  {
106
104
  static_assert(py::py_type<winrt::Windows::Web::IUriToStreamResolver>::type_name);
107
105
  py::set_invalid_activation_error(py::py_type<winrt::Windows::Web::IUriToStreamResolver>::type_name);
108
106
  return nullptr;
109
107
  }
108
+ #endif
110
109
 
111
110
  static void _dealloc_IUriToStreamResolver(py::wrapper::Windows::Web::IUriToStreamResolver* self) noexcept
112
111
  {
@@ -118,7 +117,7 @@ namespace py::cpp::Windows::Web
118
117
 
119
118
  static PyObject* IUriToStreamResolver_UriToStreamAsync(py::wrapper::Windows::Web::IUriToStreamResolver* self, PyObject* args) noexcept
120
119
  {
121
- auto arg_count = PyTuple_Size(args);
120
+ auto arg_count = PyTuple_GET_SIZE(args);
122
121
 
123
122
  if (arg_count == 1)
124
123
  {
@@ -139,7 +138,11 @@ namespace py::cpp::Windows::Web
139
138
 
140
139
  auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
141
140
 
142
- return py::convert(self->obj.UriToStreamAsync(param0));
141
+ return py::convert([&]()
142
+ {
143
+ auto _gil = release_gil();
144
+ return self->obj.UriToStreamAsync(param0);
145
+ }());
143
146
  }
144
147
  catch (...)
145
148
  {
@@ -154,6 +157,73 @@ namespace py::cpp::Windows::Web
154
157
  }
155
158
  }
156
159
 
160
+ static PyMethodDef _methods_IUriToStreamResolver[] = {
161
+ { "uri_to_stream_async", reinterpret_cast<PyCFunction>(IUriToStreamResolver_UriToStreamAsync), METH_VARARGS, nullptr },
162
+ { }};
163
+
164
+ static PyGetSetDef _getset_IUriToStreamResolver[] = {
165
+ { }};
166
+
167
+ static PyType_Slot _type_slots_IUriToStreamResolver[] = {
168
+ #if PY_VERSION_HEX < 0x030A0000
169
+ { Py_tp_new, reinterpret_cast<void*>(_new_IUriToStreamResolver) },
170
+ #endif
171
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IUriToStreamResolver) },
172
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_IUriToStreamResolver) },
173
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_IUriToStreamResolver) },
174
+ { }};
175
+
176
+ static PyType_Spec type_spec_IUriToStreamResolver = {
177
+ "winrt._winrt_windows_web._IUriToStreamResolver",
178
+ sizeof(py::wrapper::Windows::Web::IUriToStreamResolver),
179
+ 0,
180
+ Py_TPFLAGS_DEFAULT
181
+ #if PY_VERSION_HEX >= 0x030A0000
182
+ | Py_TPFLAGS_DISALLOW_INSTANTIATION
183
+ #endif
184
+ ,
185
+ _type_slots_IUriToStreamResolver};
186
+
187
+ struct ImplementsIUriToStreamResolver : py::ImplementsInterfaceT<ImplementsIUriToStreamResolver, winrt::Windows::Web::IUriToStreamResolver>
188
+ {
189
+ ImplementsIUriToStreamResolver() = delete;
190
+ ImplementsIUriToStreamResolver(PyObject* py_obj, winrt::impl::inspectable_abi* runtime_class) : py::ImplementsInterfaceT<ImplementsIUriToStreamResolver, winrt::Windows::Web::IUriToStreamResolver>(py_obj, runtime_class)
191
+ {
192
+ }
193
+
194
+ auto UriToStreamAsync(winrt::Windows::Foundation::Uri const& param0)
195
+ {
196
+ try
197
+ {
198
+ py::pyobj_handle self{this->get_py_obj()};
199
+
200
+ py::pyobj_handle method{PyObject_GetAttrString(self.get(), "uri_to_stream_async")};
201
+ if (!method)
202
+ {
203
+ throw python_exception();
204
+ }
205
+
206
+ py::pyobj_handle py_param0{py::convert(param0)};
207
+ if (!py_param0)
208
+ {
209
+ throw python_exception();
210
+ }
211
+
212
+ py::pyobj_handle return_value{PyObject_CallOneArg(method.get(), py_param0.get())};
213
+ if (!return_value)
214
+ {
215
+ throw python_exception();
216
+ }
217
+
218
+ return py::convert_to<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>>(return_value.get());
219
+ }
220
+ catch (python_exception)
221
+ {
222
+ py::write_unraisable_and_throw();
223
+ }
224
+ }
225
+ };
226
+
157
227
  static PyObject* _assign_array_IUriToStreamResolver(PyObject* /*unused*/, PyObject* arg) noexcept
158
228
  {
159
229
  auto array = std::make_unique<py::ComArray<winrt::Windows::Web::IUriToStreamResolver>>();
@@ -178,31 +248,63 @@ namespace py::cpp::Windows::Web
178
248
  }
179
249
  }
180
250
 
181
- static PyMethodDef _methods_IUriToStreamResolver[] = {
182
- { "uri_to_stream_async", reinterpret_cast<PyCFunction>(IUriToStreamResolver_UriToStreamAsync), METH_VARARGS, nullptr },
251
+ static PyObject* _guid_ImplementsIUriToStreamResolver(PyObject* /*unused*/, PyObject* /*unused*/) noexcept
252
+ {
253
+ try
254
+ {
255
+ return py::convert(winrt::guid_of<winrt::Windows::Web::IUriToStreamResolver>());
256
+ }
257
+ catch (...)
258
+ {
259
+ py::to_PyErr();
260
+ return nullptr;
261
+ }
262
+ }
263
+
264
+ static PyObject* _make_ImplementsIUriToStreamResolver(PyObject* /*unused*/, PyObject* args) noexcept
265
+ {
266
+ try
267
+ {
268
+ PyObject* py_obj;
269
+ winrt::impl::inspectable_abi* runtime_class;
270
+
271
+ if (!PyArg_ParseTuple(args, "On", &py_obj, &runtime_class))
272
+ {
273
+ return nullptr;
274
+ }
275
+
276
+ auto iface{std::make_unique<ImplementsIUriToStreamResolver>(py_obj, runtime_class)};
277
+
278
+ return PyLong_FromVoidPtr(iface.release());
279
+ }
280
+ catch (...)
281
+ {
282
+ py::to_PyErr();
283
+ return nullptr;
284
+ }
285
+ }
286
+
287
+ static PyMethodDef methods_ImplementsIUriToStreamResolver[] = {
183
288
  { "_assign_array_", _assign_array_IUriToStreamResolver, METH_O | METH_STATIC, nullptr },
184
289
  { "_from", reinterpret_cast<PyCFunction>(_from_IUriToStreamResolver), METH_O | METH_STATIC, nullptr },
185
- { }
186
- };
187
-
188
- static PyGetSetDef _getset_IUriToStreamResolver[] = {
189
- { }
190
- };
290
+ { "_guid_", reinterpret_cast<PyCFunction>(_guid_ImplementsIUriToStreamResolver), METH_NOARGS | METH_STATIC, nullptr },
291
+ { "_make_", reinterpret_cast<PyCFunction>(_make_ImplementsIUriToStreamResolver), METH_VARARGS | METH_STATIC, nullptr },
292
+ { }};
191
293
 
192
- static PyType_Slot _type_slots_IUriToStreamResolver[] = {
193
- { Py_tp_new, reinterpret_cast<void*>(_new_IUriToStreamResolver) },
194
- { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IUriToStreamResolver) },
195
- { Py_tp_methods, reinterpret_cast<void*>(_methods_IUriToStreamResolver) },
196
- { Py_tp_getset, reinterpret_cast<void*>(_getset_IUriToStreamResolver) },
197
- { }
198
- };
294
+ static PyType_Slot type_slots_ImplementsIUriToStreamResolver[] = {
295
+ { Py_tp_methods, reinterpret_cast<void*>(methods_ImplementsIUriToStreamResolver) },
296
+ { }};
199
297
 
200
- static PyType_Spec type_spec_IUriToStreamResolver = {
298
+ static PyType_Spec type_spec_ImplementsIUriToStreamResolver = {
201
299
  "winrt._winrt_windows_web.IUriToStreamResolver",
202
- sizeof(py::wrapper::Windows::Web::IUriToStreamResolver),
203
300
  0,
204
- Py_TPFLAGS_DEFAULT,
205
- _type_slots_IUriToStreamResolver};
301
+ 0,
302
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE
303
+ #if PY_VERSION_HEX >= 0x030A0000
304
+ | Py_TPFLAGS_DISALLOW_INSTANTIATION
305
+ #endif
306
+ ,
307
+ type_slots_ImplementsIUriToStreamResolver};
206
308
 
207
309
  // ----- Windows.Web Initialization --------------------
208
310
 
@@ -236,6 +338,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_web(void) noexcept
236
338
  return nullptr;
237
339
  }
238
340
 
341
+ auto inspectable_meta_type = py::get_inspectable_meta_type();
342
+ if (!inspectable_meta_type)
343
+ {
344
+ return nullptr;
345
+ }
346
+
239
347
  auto object_type = py::get_object_type();
240
348
  if (!object_type)
241
349
  {
@@ -249,7 +357,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_web(void) noexcept
249
357
  return nullptr;
250
358
  }
251
359
 
252
- py::pyobj_handle type_WebError_Static{PyType_FromSpec(&type_spec_WebError_Static)};
360
+ py::pyobj_handle WebError_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
361
+ if (!WebError_Static_bases)
362
+ {
363
+ return nullptr;
364
+ }
365
+
366
+ py::pyobj_handle type_WebError_Static{PyType_FromSpecWithBases(&type_spec_WebError_Static, WebError_Static_bases.get())};
253
367
  if (!type_WebError_Static)
254
368
  {
255
369
  return nullptr;
@@ -267,6 +381,17 @@ PyMODINIT_FUNC PyInit__winrt_windows_web(void) noexcept
267
381
  return nullptr;
268
382
  }
269
383
 
384
+ py::pytype_handle ImplementsIUriToStreamResolver_type{py::register_python_type(module.get(), &type_spec_ImplementsIUriToStreamResolver, nullptr, inspectable_meta_type)};
385
+ if (!ImplementsIUriToStreamResolver_type)
386
+ {
387
+ return nullptr;
388
+ }
389
+
390
+ if (PyModule_AddType(module.get(), ImplementsIUriToStreamResolver_type.get()) == -1)
391
+ {
392
+ return nullptr;
393
+ }
394
+
270
395
 
271
396
  return module.detach();
272
397
  }
@@ -1,14 +1,14 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "winrt-sdk"]
4
+ requires = ["setuptools>=78", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "winrt-Windows.Web"
9
9
  description = "Python projection of Windows Runtime (WinRT) APIs"
10
10
  readme = "README.md"
11
- license = { text = "MIT" }
11
+ license = "MIT"
12
12
  classifiers = [
13
13
  "Operating System :: Microsoft :: Windows",
14
14
  "Programming Language :: Python :: 3",
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "dependencies", "optional-dependencies"]
19
- requires-python = ">=3.9,<3.14"
19
+ requires-python = ">=3.9"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
34
34
 
35
35
  [tool.cibuildwheel]
36
36
  # use local winrt-sdk build dependency
37
- environment = { PYTHONPATH="../winrt-sdk/src" }
37
+ environment = { PYTHONPATH="../../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
39
  build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
40
  before-build = "uv pip install setuptools"
@@ -0,0 +1 @@
1
+ 3.1.0
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
2
2
 
3
- winrt-runtime==2.3.0
3
+ winrt-runtime==3.1.0
@@ -19,7 +19,7 @@ class build_ext_ex(build_ext):
19
19
 
20
20
 
21
21
  setup(
22
- cmdclass = {'build_ext': build_ext_ex},
22
+ cmdclass={"build_ext": build_ext_ex},
23
23
  ext_modules=[
24
24
  Extension(
25
25
  "winrt._winrt_windows_web",
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -6,6 +6,7 @@ import types
6
6
  import typing
7
7
  import uuid as _uuid
8
8
  from builtins import property as _property
9
+ from abc import abstractmethod
9
10
 
10
11
  import winrt._winrt
11
12
  import winrt.system
@@ -17,7 +18,8 @@ from winrt.windows.web import WebErrorStatus
17
18
  Self = typing.TypeVar('Self')
18
19
 
19
20
  @typing.final
20
- class WebError_Static(type):
21
+ class WebError_Static(winrt._winrt.IInspectable_Static):
22
+ # Windows.Web.WebErrorStatus Windows.Web.WebError::GetStatus(System.Int32)
21
23
  def get_status(cls, hresult: winrt.system.Int32, /) -> WebErrorStatus: ...
22
24
 
23
25
  @typing.final
@@ -25,8 +27,10 @@ class WebError(winrt.system.Object, metaclass=WebError_Static):
25
27
  pass
26
28
 
27
29
  @typing.final
28
- class IUriToStreamResolver(winrt.system.Object):
29
- @staticmethod
30
- def _from(obj: winrt.system.Object, /) -> IUriToStreamResolver: ...
31
- def uri_to_stream_async(self, uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IInputStream]: ...
30
+ class _IUriToStreamResolver: ...
31
+
32
+ class IUriToStreamResolver(winrt._winrt.IInspectable):
33
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IInputStream> Windows.Web.IUriToStreamResolver::UriToStreamAsync(Windows.Foundation.Uri)
34
+ @abstractmethod
35
+ def uri_to_stream_async(self, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IInputStream]: ...
32
36
 
@@ -1,9 +1,13 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
2
2
 
3
3
  import enum
4
4
 
5
5
  import winrt.system
6
- from winrt import _winrt_windows_web
6
+ from winrt._winrt_windows_web import (
7
+ WebError,
8
+ _IUriToStreamResolver,
9
+ IUriToStreamResolver,
10
+ )
7
11
 
8
12
  __all__ = [
9
13
  "WebErrorStatus",
@@ -68,5 +72,3 @@ class WebErrorStatus(enum.IntEnum):
68
72
  GATEWAY_TIMEOUT = 504
69
73
  HTTP_VERSION_NOT_SUPPORTED = 505
70
74
 
71
- WebError = _winrt_windows_web.WebError
72
- IUriToStreamResolver = _winrt_windows_web.IUriToStreamResolver
@@ -1,8 +1,8 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: winrt-Windows.Web
3
- Version: 2.3.0
3
+ Version: 3.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
- License: MIT
5
+ License-Expression: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
7
7
  Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.3.0
15
+ Requires-Dist: winrt-runtime==3.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,5 @@
1
+ winrt-runtime==3.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==3.1.0
5
+ winrt-Windows.Storage.Streams[all]==3.1.0
@@ -1,4 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
-
3
- winrt-Windows.Foundation[all]==2.3.0
4
- winrt-Windows.Storage.Streams[all]==2.3.0
@@ -1 +0,0 @@
1
- 2.3.0
@@ -1,5 +0,0 @@
1
- winrt-runtime==2.3.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.3.0
5
- winrt-Windows.Storage.Streams[all]==2.3.0