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

Library import 241127-0941 #12039

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions build/external_resources/yexport/public.resources.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"by_platform": {
"darwin": {
"uri": "sbr:7370212609"
"uri": "sbr:7539368752"
},
"darwin-arm64": {
"uri": "sbr:7370211678"
"uri": "sbr:7539368187"
},
"linux": {
"uri": "sbr:7370210775"
"uri": "sbr:7539367458"
}
}
}
6 changes: 3 additions & 3 deletions build/external_resources/yexport/resources.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"by_platform": {
"darwin": {
"uri": "sbr:7370190051"
"uri": "sbr:7539341499"
},
"darwin-arm64": {
"uri": "sbr:7370188821"
"uri": "sbr:7539340652"
},
"linux": {
"uri": "sbr:7370187741"
"uri": "sbr:7539339643"
}
}
}
6 changes: 6 additions & 0 deletions build/mapping.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@
"6913307396": "https://devtools-registry.s3.yandex.net/6913307396",
"7196092605": "https://devtools-registry.s3.yandex.net/7196092605",
"7370212609": "https://devtools-registry.s3.yandex.net/7370212609",
"7539368752": "https://devtools-registry.s3.yandex.net/7539368752",
"5811823398": "https://devtools-registry.s3.yandex.net/5811823398",
"5840611310": "https://devtools-registry.s3.yandex.net/5840611310",
"5860185593": "https://devtools-registry.s3.yandex.net/5860185593",
Expand All @@ -543,6 +544,7 @@
"6913305359": "https://devtools-registry.s3.yandex.net/6913305359",
"7196092155": "https://devtools-registry.s3.yandex.net/7196092155",
"7370211678": "https://devtools-registry.s3.yandex.net/7370211678",
"7539368187": "https://devtools-registry.s3.yandex.net/7539368187",
"5811822876": "https://devtools-registry.s3.yandex.net/5811822876",
"5840610640": "https://devtools-registry.s3.yandex.net/5840610640",
"5860184285": "https://devtools-registry.s3.yandex.net/5860184285",
Expand All @@ -566,6 +568,7 @@
"6913303010": "https://devtools-registry.s3.yandex.net/6913303010",
"7196091589": "https://devtools-registry.s3.yandex.net/7196091589",
"7370210775": "https://devtools-registry.s3.yandex.net/7370210775",
"7539367458": "https://devtools-registry.s3.yandex.net/7539367458",
"5766172292": "https://devtools-registry.s3.yandex.net/5766172292",
"5805431504": "https://devtools-registry.s3.yandex.net/5805431504",
"5829027626": "https://devtools-registry.s3.yandex.net/5829027626",
Expand Down Expand Up @@ -1581,6 +1584,7 @@
"6913307396": "devtools/yexport/bin/yexport for darwin",
"7196092605": "devtools/yexport/bin/yexport for darwin",
"7370212609": "devtools/yexport/bin/yexport for darwin",
"7539368752": "devtools/yexport/bin/yexport for darwin",
"5811823398": "devtools/yexport/bin/yexport for darwin-arm64",
"5840611310": "devtools/yexport/bin/yexport for darwin-arm64",
"5860185593": "devtools/yexport/bin/yexport for darwin-arm64",
Expand All @@ -1604,6 +1608,7 @@
"6913305359": "devtools/yexport/bin/yexport for darwin-arm64",
"7196092155": "devtools/yexport/bin/yexport for darwin-arm64",
"7370211678": "devtools/yexport/bin/yexport for darwin-arm64",
"7539368187": "devtools/yexport/bin/yexport for darwin-arm64",
"5811822876": "devtools/yexport/bin/yexport for linux",
"5840610640": "devtools/yexport/bin/yexport for linux",
"5860184285": "devtools/yexport/bin/yexport for linux",
Expand All @@ -1627,6 +1632,7 @@
"6913303010": "devtools/yexport/bin/yexport for linux",
"7196091589": "devtools/yexport/bin/yexport for linux",
"7370210775": "devtools/yexport/bin/yexport for linux",
"7539367458": "devtools/yexport/bin/yexport for linux",
"5766172292": "devtools/ymake/bin/ymake for darwin",
"5805431504": "devtools/ymake/bin/ymake for darwin",
"5829027626": "devtools/ymake/bin/ymake for darwin",
Expand Down
11 changes: 11 additions & 0 deletions contrib/libs/googleapis-common-protos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [1.66.0](https://github.com/googleapis/python-api-common-protos/compare/v1.65.0...v1.66.0) (2024-11-12)


### Features

* Add `MISSING_ORIGIN` and `OVERLOADED_CREDENTIALS` to `ErrorReason` enum ([d0478d8](https://github.com/googleapis/python-api-common-protos/commit/d0478d8beacb6c53aa29aa0ac14b949421de8112))
* Add field `protobuf_pythonic_types_enabled` to `ExperimentalFeatures` message ([d0478d8](https://github.com/googleapis/python-api-common-protos/commit/d0478d8beacb6c53aa29aa0ac14b949421de8112))
* Add field `selective_gapic_generation` to `CommonLanguageSettings` message ([d0478d8](https://github.com/googleapis/python-api-common-protos/commit/d0478d8beacb6c53aa29aa0ac14b949421de8112))
* Add field `time_series_resource_hierarchy_level` to `MetricDescriptorMetadata` message ([d0478d8](https://github.com/googleapis/python-api-common-protos/commit/d0478d8beacb6c53aa29aa0ac14b949421de8112))
* Add message `SelectiveGapicGeneration` ([d0478d8](https://github.com/googleapis/python-api-common-protos/commit/d0478d8beacb6c53aa29aa0ac14b949421de8112))

## [1.65.0](https://github.com/googleapis/python-api-common-protos/compare/v1.64.0...v1.65.0) (2024-08-27)


Expand Down
17 changes: 17 additions & 0 deletions contrib/libs/googleapis-common-protos/google/api/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ message CommonLanguageSettings {

// The destination where API teams want this client library to be published.
repeated ClientLibraryDestination destinations = 2;

// Configuration for which RPCs should be generated in the GAPIC client.
SelectiveGapicGeneration selective_gapic_generation = 3;
}

// Details about how and where to publish client libraries.
Expand Down Expand Up @@ -272,6 +275,12 @@ message PythonSettings {
// This feature will be enabled by default 1 month after launching the
// feature in preview packages.
bool rest_async_io_enabled = 1;

// Enables generation of protobuf code using new types that are more
// Pythonic which are included in `protobuf>=5.29.x`. This feature will be
// enabled by default 1 month after launching the feature in preview
// packages.
bool protobuf_pythonic_types_enabled = 2;
}

// Some settings.
Expand Down Expand Up @@ -443,3 +452,11 @@ enum ClientLibraryDestination {
// Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20;
}

// This message is used to configure the generation of a subset of the RPCs in
// a service for client libraries.
message SelectiveGapicGeneration {
// An allowlist of the fully qualified names of RPCs that should be included
// on public client surfaces.
repeated string methods = 1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -586,4 +586,37 @@ enum ErrorReason {
// "locations/asia-northeast3" violates at least one location policy.
// The troubleshooting guidance is provided in the Help links.
LOCATION_POLICY_VIOLATED = 31;

// The request is denied because origin request header is missing.
//
// Example of an ErrorInfo when
// accessing "pubsub.googleapis.com" service with an empty "Origin" request
// header.
//
// {
// reason: "MISSING_ORIGIN"
// domain: "googleapis.com"
// metadata {
// "consumer":"projects/123456"
// "service": "pubsub.googleapis.com"
// }
// }
MISSING_ORIGIN = 33;

// The request is denied because the request contains more than one credential
// type that are individually acceptable, but not together. The customer
// should retry their request with only one set of credentials.
//
// Example of an ErrorInfo when
// accessing "pubsub.googleapis.com" service with overloaded credentials.
//
// {
// reason: "OVERLOADED_CREDENTIALS"
// domain: "googleapis.com"
// metadata {
// "consumer":"projects/123456"
// "service": "pubsub.googleapis.com"
// }
// }
OVERLOADED_CREDENTIALS = 34;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package google.api;

import "google/protobuf/any.proto";

option cc_enable_arenas = true;
option go_package = "google.golang.org/genproto/googleapis/api/httpbody;httpbody";
option java_multiple_files = true;
option java_outer_classname = "HttpBodyProto";
Expand Down
19 changes: 19 additions & 0 deletions contrib/libs/googleapis-common-protos/google/api/metric.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@ message MetricDescriptor {

// Additional annotations that can be used to guide the usage of a metric.
message MetricDescriptorMetadata {
// The resource hierarchy level of the timeseries data of a metric.
enum TimeSeriesResourceHierarchyLevel {
// Do not use this default value.
TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED = 0;

// Scopes a metric to a project.
PROJECT = 1;

// Scopes a metric to an organization.
ORGANIZATION = 2;

// Scopes a metric to a folder.
FOLDER = 3;
}

// Deprecated. Must use the
// [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
// instead.
Expand All @@ -95,6 +110,10 @@ message MetricDescriptor {
// age are guaranteed to be ingested and available to be read, excluding
// data loss due to errors.
google.protobuf.Duration ingest_delay = 3;

// The scope of the timeseries data of the metric.
repeated TimeSeriesResourceHierarchyLevel
time_series_resource_hierarchy_level = 4;
}

// The resource name of the metric descriptor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ option java_outer_classname = "PolicyProto";
option java_package = "com.google.api";
option objc_class_prefix = "GAPI";

// Provides `google.api.field_policy` annotation at proto fields.
extend google.protobuf.FieldOptions {
// See [FieldPolicy][].
FieldPolicy field_policy = 158361448;
google.api.FieldPolicy field_policy = 158361448;
}

// Provides `google.api.method_policy` annotation at proto methods.
extend google.protobuf.MethodOptions {
// See [MethodPolicy][].
MethodPolicy method_policy = 161893301;
google.api.MethodPolicy method_policy = 161893301;
}

// Google API Policy Annotation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ message QuotaLimit {
string metric = 8;

// Specify the unit of the quota limit. It uses the same syntax as
// [Metric.unit][]. The supported unit kinds are determined by the quota
// backend system.
// [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
// unit kinds are determined by the quota backend system.
//
// Here are some examples:
// * "1/min/{project}" for quota per minute per project.
Expand Down
4 changes: 2 additions & 2 deletions contrib/libs/googleapis-common-protos/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.65.0)
VERSION(1.66.0)

ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.65.0.tar.gz)
ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.66.0.tar.gz)

PY_NAMESPACE(.)

Expand Down
72 changes: 36 additions & 36 deletions contrib/python/contourpy/.dist-info/METADATA
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
Metadata-Version: 2.1
Name: contourpy
Version: 1.3.0
Version: 1.3.1
Summary: Python library for calculating contours of 2D quadrilateral grids
Author-Email: Ian Thomas <[email protected]>
License: BSD 3-Clause License

Copyright (c) 2021-2024, ContourPy Developers.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright (c) 2021-2024, ContourPy Developers.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Expand All @@ -50,30 +50,30 @@ Project-URL: Homepage, https://github.com/contourpy/contourpy
Project-URL: Changelog, https://contourpy.readthedocs.io/en/latest/changelog.html
Project-URL: Documentation, https://contourpy.readthedocs.io
Project-URL: Repository, https://github.com/contourpy/contourpy
Requires-Python: >=3.9
Requires-Python: >=3.10
Requires-Dist: numpy>=1.23
Provides-Extra: docs
Requires-Dist: furo; extra == "docs"
Requires-Dist: sphinx>=7.2; extra == "docs"
Requires-Dist: sphinx-copybutton; extra == "docs"
Provides-Extra: bokeh
Requires-Dist: bokeh; extra == "bokeh"
Requires-Dist: selenium; extra == "bokeh"
Provides-Extra: mypy
Requires-Dist: contourpy[bokeh,docs]; extra == "mypy"
Requires-Dist: docutils-stubs; extra == "mypy"
Requires-Dist: mypy==1.11.1; extra == "mypy"
Requires-Dist: types-Pillow; extra == "mypy"
Provides-Extra: test
Requires-Dist: contourpy[test-no-images]; extra == "test"
Requires-Dist: matplotlib; extra == "test"
Requires-Dist: Pillow; extra == "test"
Provides-Extra: test-no-images
Requires-Dist: pytest; extra == "test-no-images"
Requires-Dist: pytest-cov; extra == "test-no-images"
Requires-Dist: pytest-rerunfailures; extra == "test-no-images"
Requires-Dist: pytest-xdist; extra == "test-no-images"
Requires-Dist: wurlitzer; extra == "test-no-images"
Provides-Extra: docs
Provides-Extra: bokeh
Provides-Extra: mypy
Provides-Extra: test
Provides-Extra: test-no-images
Description-Content-Type: text/markdown

<img alt="ContourPy" src="https://raw.githubusercontent.com/contourpy/contourpy/main/docs/_static/contourpy_logo_horiz.svg" height="90">
Expand Down
3 changes: 1 addition & 2 deletions contrib/python/contourpy/contourpy/_contourpy.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from typing import ClassVar, NoReturn
from typing import ClassVar, NoReturn, TypeAlias

import numpy as np
import numpy.typing as npt
from typing_extensions import TypeAlias

import contourpy._contourpy as cpy

Expand Down
2 changes: 1 addition & 1 deletion contrib/python/contourpy/contourpy/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.0"
__version__ = "1.3.1"
4 changes: 2 additions & 2 deletions contrib/python/contourpy/contourpy/array.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from itertools import chain
from itertools import chain, pairwise
from typing import TYPE_CHECKING

import numpy as np
Expand Down Expand Up @@ -258,4 +258,4 @@ def split_points_at_nan(points: cpy.PointArray) -> list[cpy.PointArray]:
return [points]
else:
nan_offsets = np.concatenate(([-1], nan_offsets, [len(points)]))
return [points[s+1:e] for s, e in zip(nan_offsets[:-1], nan_offsets[1:])]
return [points[s+1:e] for s, e in pairwise(nan_offsets)]
Loading
Loading