repo
stringclasses
200 values
pull_number
int64
13
143k
instance_id
stringlengths
12
47
issue_numbers
listlengths
1
7
base_commit
stringlengths
40
40
patch
stringlengths
354
98.3k
test_patch
stringlengths
137
8.74M
problem_statement
stringlengths
142
63.8k
hints_text
stringlengths
2
70.5k
all_hints_text
stringlengths
2
70.5k
commit_urls
listlengths
1
119
created_at
timestamp[s]date
2015-04-16 11:31:38
2025-12-17 10:26:03
version
stringclasses
196 values
language
stringclasses
10 values
home-assistant/core
807
home-assistant__core-807
[ 103876 ]
87c88078c87257cde4786997fedb865be6813545
diff --git a/homeassistant/components/scene.py b/homeassistant/components/scene.py index 7c96230ccd49c4..ce1a324254297c 100644 --- a/homeassistant/components/scene.py +++ b/homeassistant/components/scene.py @@ -73,8 +73,9 @@ def _process_config(scene_config): for entity_id in c_entities: if isinstance(c...
diff --git a/tests/components/test_scene.py b/tests/components/test_scene.py index 2fc8fe085c2e73..0f6663354dd98e 100644 --- a/tests/components/test_scene.py +++ b/tests/components/test_scene.py @@ -32,6 +32,60 @@ def test_config_no_dict_in_list(self): 'scene': [[]] })) + def test_config_yaml...
zwave_js KeyError during RebuildRoutes ### The problem I started "Rebuild Network Routes" via the Home Assistant user interface and received the error traceback below. I also have zwave_js UI add-on, but did not use it to start the rebuild process. Node 3 is a valid node, and as best I can tell there were no...
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (`zwave_js`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1515) for? Thanks! <details> <summary>Code owner commands</summary> Code owners of `zwave_js` can tr...
[ "https://github.com/home-assistant/core/commit/d4b6a7343f2675ea5a064bbbc9007f94a2881fbc" ]
2015-12-27T19:33:55
0.10
Python
home-assistant/core
104,627
home-assistant__core-104627
[ 45660 ]
e594c19c1ecb9bc947b37d2af75e8d84f6a922e9
diff --git a/homeassistant/components/remote/significant_change.py b/homeassistant/components/remote/significant_change.py new file mode 100644 index 0000000000000..8e5a36690411d --- /dev/null +++ b/homeassistant/components/remote/significant_change.py @@ -0,0 +1,27 @@ +"""Helper to test significant Remote state change...
diff --git a/tests/components/remote/test_significant_change.py b/tests/components/remote/test_significant_change.py new file mode 100644 index 0000000000000..dcbfce213d65e --- /dev/null +++ b/tests/components/remote/test_significant_change.py @@ -0,0 +1,62 @@ +"""Test the Remote significant change platform.""" +from h...
Significant Change support for remote Add [significant change](https://developers.home-assistant.io/docs/significant_change_index) support to the remote integration. All official properties need to be taken into consideration when deciding if a change is significant. If the integration has device classes, they should b...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue....
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue....
[ "https://github.com/home-assistant/core/commit/7bee0aea66673e92265106cee79efbb8582cd1f0" ]
2023-11-28T00:01:38
0.38
Python
home-assistant/core
91,164
home-assistant__core-91164
[ 91093 ]
bdffb1f2988d936cf5864fb4c38f3c97edf7721e
diff --git a/homeassistant/components/manual_mqtt/alarm_control_panel.py b/homeassistant/components/manual_mqtt/alarm_control_panel.py index fd6adb009aaefc..adb251bd71a6e0 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -187,1...
diff --git a/tests/components/manual_mqtt/test_alarm_control_panel.py b/tests/components/manual_mqtt/test_alarm_control_panel.py index 549fa995179eb7..0df1114bf30d89 100644 --- a/tests/components/manual_mqtt/test_alarm_control_panel.py +++ b/tests/components/manual_mqtt/test_alarm_control_panel.py @@ -1506,3 +1506,24 @...
mqtt_json device tracker broken - seems to try to start before MQTT integration has started and fails ### The problem I use the mqtt based device tracker. It has worked stable and fine until 2023.4 when it fails to load The error message says that MQTT is not enabled. Well. I have 100s of items based on MQTT in hom...
[mqtt_json documentation](https://www.home-assistant.io/integrations/mqtt_json) [mqtt_json source](https://github.com/home-assistant/core/tree/dev/homeassistant/components/mqtt_json) I am seeing the same thing, and it is inconsistent. It sometimes takes 2 or 3 restarts, but it eventually works without errors. I have ...
[mqtt_json documentation](https://www.home-assistant.io/integrations/mqtt_json) [mqtt_json source](https://github.com/home-assistant/core/tree/dev/homeassistant/components/mqtt_json) I am seeing the same thing, and it is inconsistent. It sometimes takes 2 or 3 restarts, but it eventually works without errors. I have ...
[ "https://github.com/home-assistant/core/commit/2e1bd648fafdb46747f0391c97c1e0061de7c3d6", "https://github.com/home-assistant/core/commit/d459d242d84b57b377dbbc3adee0521572c4f6a2", "https://github.com/home-assistant/core/commit/750fe2bacdea23b2e7cd8d57da33c47734c43439", "https://github.com/home-assistant/core/...
2023-04-10T11:18:36
0.38
Python
home-assistant/core
137,853
home-assistant__core-137853
[ 135391 ]
f3aeca5a71007bceb731f3dd42cf062039ba2fbf
diff --git a/homeassistant/components/peblar/coordinator.py b/homeassistant/components/peblar/coordinator.py index 058f2aefb3b0f..36708b207c566 100644 --- a/homeassistant/components/peblar/coordinator.py +++ b/homeassistant/components/peblar/coordinator.py @@ -34,6 +34,7 @@ class PeblarRuntimeData: """Class to hol...
diff --git a/tests/components/peblar/snapshots/test_switch.ambr b/tests/components/peblar/snapshots/test_switch.ambr index 538292785938f..426b48b6838c6 100644 --- a/tests/components/peblar/snapshots/test_switch.ambr +++ b/tests/components/peblar/snapshots/test_switch.ambr @@ -1,4 +1,50 @@ # serializer version: 1 +# na...
Peblar charge limit can't be set to 0A ### The problem On the Peblar API it is possible to set the charge limit to less than 6A (e.g. 0A) to disable charging. Unfortunately this doesn't seem possible via the current integration. I configured an automation to automatically turn off charging (limit to 0A) when my ow...
Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (`peblar`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1125) for? Thanks! <details> <summary>Code owner commands</summary> Code owners of `peblar` can trigger bot actions b...
Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (`peblar`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1125) for? Thanks! <details> <summary>Code owner commands</summary> Code owners of `peblar` can trigger bot actions b...
[ "https://github.com/home-assistant/core/commit/11c5062eeafe910338b3e2f2f27fd557fb769e67", "https://github.com/home-assistant/core/commit/badac2c6af46d6c2eac3670f122c5e13c2b6464a" ]
2025-02-08T14:25:34
0.38
Python
home-assistant/core
101,512
home-assistant__core-101512
[ 101470 ]
1d31def9824841331bca8de698ac2d3f645f83b9
diff --git a/homeassistant/components/rainbird/calendar.py b/homeassistant/components/rainbird/calendar.py index 356f7d7cc4e4c1..2001a14ac93dd7 100644 --- a/homeassistant/components/rainbird/calendar.py +++ b/homeassistant/components/rainbird/calendar.py @@ -61,7 +61,7 @@ def __init__( """Create the Calendar e...
diff --git a/tests/components/rainbird/test_switch.py b/tests/components/rainbird/test_switch.py index 46a875e892889a..31b64dded99d6f 100644 --- a/tests/components/rainbird/test_switch.py +++ b/tests/components/rainbird/test_switch.py @@ -17,6 +17,7 @@ PASSWORD, RAIN_DELAY_OFF, RAIN_SENSOR_OFF, + SERI...
Rainbird: Entity no longer being provided by the rainbird integration ### The problem After upgrade to 2023.10.0 rainbird entities are no longer available and all of the entities are in "no longer being provided by the rainbird integration" state. No errors in the log. Attached is the debug log. ### What version of H...
Hey there @konikvranik, @allenporter, mind taking a look at this issue as it has been labeled with an integration (`rainbird`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1019) for? Thanks! <details> <summary>Code owner commands</summary> Code owners of `rainbird` ca...
Hey there @konikvranik, @allenporter, mind taking a look at this issue as it has been labeled with an integration (`rainbird`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1019) for? Thanks! <details> <summary>Code owner commands</summary> Code owners of `rainbird` ca...
[ "https://github.com/home-assistant/core/commit/9c4767b79076fc569cf9db6473db1a3315dec4bb" ]
2023-10-06T05:37:30
0.38
Python
getmoto/moto
7,798
getmoto__moto-7798
[ 7797 ]
b4e2f950f2d060ff907fc9ecf3f7688922bdd6be
diff --git a/moto/resourcegroupstaggingapi/models.py b/moto/resourcegroupstaggingapi/models.py index 55d5e5f556d0..c3548be44f43 100644 --- a/moto/resourcegroupstaggingapi/models.py +++ b/moto/resourcegroupstaggingapi/models.py @@ -211,7 +211,11 @@ def format_tag_keys( yield {"ResourceARN": f"{vault.bac...
diff --git a/tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py b/tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py index 60fc8cc6d28c..ed9dacc46c17 100644 --- a/tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py +++ b/tests/test_resourcegroupstaggingapi/test_resou...
resourcegroupstaggingapi get_resources doesn't properly filter on s3:bucket When using the `get_resources` method from the resource groups tagging api with `s3:bucket` as an entry in `ResourceTypesFilters`, no S3 Buckets are being returned. Moto seems to only return S3 buckets when `s3` is provided as a filter rather t...
[ "https://github.com/getmoto/moto/commit/5aa13ac939d0b2fbfe4ee6954002d47646bd1fa5" ]
2024-06-29T01:37:31
1.3
Python
getmoto/moto
6,743
getmoto__moto-6743
[ 6742 ]
d3f5e3d68b0517be1172319087ee68c0834a157a
diff --git a/moto/iam/policy_validation.py b/moto/iam/policy_validation.py index eff39e3a4a63..cc2516ac05f4 100644 --- a/moto/iam/policy_validation.py +++ b/moto/iam/policy_validation.py @@ -56,11 +56,17 @@ VALID_CONDITION_POSTFIXES = ["IfExists"] -SERVICE_TYPE_REGION_INFORMATION_ERROR_ASSOCIATIONS = { - "iam":...
diff --git a/tests/test_iam/test_iam_policies.py b/tests/test_iam/test_iam_policies.py index b7ffe898464e..6f917718b876 100644 --- a/tests/test_iam/test_iam_policies.py +++ b/tests/test_iam/test_iam_policies.py @@ -1607,6 +1607,20 @@ }, ], }, + { + "Version": "2012-10-17", + ...
Allow using s3 accesspoint arns in iam policies [S3 Accesspoints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) have arns which look like this: ``` "Resource": "arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point" ``` and ``` "Resource" : "arn:aws:s3:u...
[ "https://github.com/getmoto/moto/commit/2ebc4e52d58057721a0fcbf2411c69e9d21419c2", "https://github.com/getmoto/moto/commit/94713da17c7422832a40baa02632b7efb547eff0", "https://github.com/getmoto/moto/commit/175dfd813657d550d2b536fb03b73d734047a0ed" ]
2023-08-31T08:14:21
1.3
Python
getmoto/moto
9,344
getmoto__moto-9344
[ 9050 ]
2bf5f0ea20c86e19267b83193fec82947432f66a
diff --git a/moto/ec2/exceptions.py b/moto/ec2/exceptions.py index 14e6b09bd5cd..aae503f13e34 100644 --- a/moto/ec2/exceptions.py +++ b/moto/ec2/exceptions.py @@ -196,7 +196,7 @@ class InvalidCustomerGatewayIdError(EC2ClientError): def __init__(self, customer_gateway_id: str): super().__init__( ...
diff --git a/tests/test_ec2/test_customer_gateways.py b/tests/test_ec2/test_customer_gateways.py index 0009cc2b1636..6ceb26aa3ec3 100644 --- a/tests/test_ec2/test_customer_gateways.py +++ b/tests/test_ec2/test_customer_gateways.py @@ -3,6 +3,7 @@ from botocore.exceptions import ClientError from moto import mock_aws...
DescribeTransitGatewayAttachments Returns Placeholder Value for an Attachment's Associated TGW RTB When retrieving information on a TGW attachment using the DescribeTransitGatewayAttachments API, the _transitGatewayRouteTableId_ field in the response — used to signify the TGW RTB associated with the attachment — alway...
Github was a little too eager - this isn't actually fixed yet. Reopening.
[ "https://github.com/getmoto/moto/commit/d89c6ab3a4b5c0f7dfd2a861eaa7c735371db0b3" ]
2025-10-06T22:39:39
1.3
Python
getmoto/moto
8,392
getmoto__moto-8392
[ 8363 ]
7583336ca12047e61de784280d66e974f08980c3
diff --git a/moto/cognitoidp/models.py b/moto/cognitoidp/models.py index dd750542cf19..4439041a7503 100644 --- a/moto/cognitoidp/models.py +++ b/moto/cognitoidp/models.py @@ -1354,10 +1354,54 @@ def get_user(self, access_token: str) -> CognitoIdpUser: raise NotAuthorizedError("Invalid token") @paginate(...
diff --git a/tests/test_cognitoidp/test_cognitoidp.py b/tests/test_cognitoidp/test_cognitoidp.py index 0e5077a782bf..fdf00253b03d 100644 --- a/tests/test_cognitoidp/test_cognitoidp.py +++ b/tests/test_cognitoidp/test_cognitoidp.py @@ -2519,6 +2519,28 @@ def test_list_users(): result = conn.list_users(UserPoolId=us...
Limit shouldn't be applied before Filter when listing users Using the current version of moto, if you run cognito-idp's list_users() with both Limit and Filter keywords, the limit is applied before the filter. So, if you are searching for a user with a particular sub that isn't the first item in the user pool, and you ...
Hi I would like to take this work
Hi I would like to take this work Thank you, @iknowright!
[ "https://github.com/getmoto/moto/commit/e0fa51a66a6502a0e3b1d8dfa3568273acb2f668", "https://github.com/getmoto/moto/commit/904688d02b504bf87385527d360c5b98576f59a4" ]
2024-12-12T08:10:18
1.3
Python
getmoto/moto
9,192
getmoto__moto-9192
[ 9012 ]
e8e5d0ca52b068f5d77409eec7b01ac4e1fd0481
diff --git a/moto/secretsmanager/models.py b/moto/secretsmanager/models.py index dff10f48d45b..d2d97e2a62d3 100644 --- a/moto/secretsmanager/models.py +++ b/moto/secretsmanager/models.py @@ -558,10 +558,13 @@ def update_secret( if secret_id not in self.secrets: raise SecretNotFoundException() - ...
diff --git a/tests/test_secretsmanager/test_secretsmanager.py b/tests/test_secretsmanager/test_secretsmanager.py index c490e708faa7..93d5a44a1cdb 100644 --- a/tests/test_secretsmanager/test_secretsmanager.py +++ b/tests/test_secretsmanager/test_secretsmanager.py @@ -1605,6 +1605,85 @@ def test_can_list_secret_version_i...
SecretsManager CreateSecret does not support idempotency with ClientRequestToken According to the AWS docs for CreateSecret's ClientRequestToken: > If a version with this value already exists and the version SecretString and SecretBinary values are the same as those in the request, then the request is ignored. Instea...
[ "https://github.com/getmoto/moto/commit/fc1ed3140c09f701297edd45825900cfc6e0b651", "https://github.com/getmoto/moto/commit/ea3df6ab273e262c802c51caaf01ce83cc66b82f" ]
2025-08-17T15:28:06
1.3
Python
ibis-project/ibis
10,954
ibis-project__ibis-10954
[ 10938 ]
21aea9755e6f5f987dc6e5b7806e702f47176653
diff --git a/ibis/backends/postgres/__init__.py b/ibis/backends/postgres/__init__.py index 3f38dd718db2..c41125ea8a3e 100644 --- a/ibis/backends/postgres/__init__.py +++ b/ibis/backends/postgres/__init__.py @@ -28,7 +28,7 @@ from ibis.backends.sql.compilers.base import TRUE, C, ColGen if TYPE_CHECKING: - from co...
diff --git a/ibis/backends/conftest.py b/ibis/backends/conftest.py index 98145e68dae1..5e16f481de13 100644 --- a/ibis/backends/conftest.py +++ b/ibis/backends/conftest.py @@ -5,7 +5,6 @@ import importlib.metadata import itertools from functools import cache -from pathlib import Path from typing import TYPE_CHECKING...
feat: Improve `to_pyarrow_batches` for PostgreSQL backend ### Is your feature request related to a problem? Hi, It seems that `to_pyarrow_batches` is implemented somewhat naively in many backends. In many cases (including the SQL backends) all the data is first instantiated in the client-side cursor (or as a pandas D...
@ronif Thanks for the issue! Would definitely review a PR to improve `to_pyarrow_batches()` for Postgres.
@ronif Thanks for the issue! Would definitely review a PR to improve `to_pyarrow_batches()` for Postgres.
[ "https://github.com/ibis-project/ibis/commit/3cc04d7dc133705d97a654bd60fd6fbed0792731" ]
2025-03-07T13:27:53
10.3
Python
ibis-project/ibis
7,189
ibis-project__ibis-7189
[ 7168 ]
3e1de97efe6a9b12780055369c9d554d12e122b4
diff --git a/ibis/backends/base/sql/compiler/translator.py b/ibis/backends/base/sql/compiler/translator.py index 1d2df023c71b..e4f50f73bd60 100644 --- a/ibis/backends/base/sql/compiler/translator.py +++ b/ibis/backends/base/sql/compiler/translator.py @@ -368,12 +368,23 @@ def _rewrite_string_contains(op): @rewrites(...
diff --git a/ibis/backends/tests/test_numeric.py b/ibis/backends/tests/test_numeric.py index 0bc39c98df39..6770ba97ba25 100644 --- a/ibis/backends/tests/test_numeric.py +++ b/ibis/backends/tests/test_numeric.py @@ -1364,10 +1364,12 @@ def test_random(con): @pytest.mark.parametrize( ("ibis_func", "pandas_func"), ...
bug: .clip() doesn't preserve NULLs ### What happened? I would expect nulls to stay nulls. But they get turned into the upper value (if upper bound is provided) or the lower bound (if no upper bound is provided) ```python import ibis t = ibis.memtable({"values": [0, 1.0, 2.0, 3.0, 4.0, None]}) t.mutate(clipped...
Thanks for the issue! I think we should preserve NULLs here, since `NULL < x` would evaluate to `NULL` That was my line of reasoning as well
Thanks for the issue! I think we should preserve NULLs here, since `NULL < x` would evaluate to `NULL` That was my line of reasoning as well
[ "https://github.com/ibis-project/ibis/commit/73a5ef19fdacc51351daee43fddfbd0e5fecc8bb" ]
2023-09-21T10:14:37
7.0
Python
ibis-project/ibis
5,197
ibis-project__ibis-5197
[ 5191 ]
def5d1b32b18415f1e896a5c5ee85d6663173ea7
diff --git a/ibis/expr/operations/logical.py b/ibis/expr/operations/logical.py index 20a2feb1426c..d982cf77aa3f 100644 --- a/ibis/expr/operations/logical.py +++ b/ibis/expr/operations/logical.py @@ -169,16 +169,11 @@ class Where(Value): true_expr = rlz.any false_null_expr = rlz.any + output_shape = rlz.s...
diff --git a/ibis/tests/expr/test_value_exprs.py b/ibis/tests/expr/test_value_exprs.py index 4552e8bfb87e..5622686adcc3 100644 --- a/ibis/tests/expr/test_value_exprs.py +++ b/ibis/tests/expr/test_value_exprs.py @@ -1654,3 +1654,11 @@ def test_rowid_only_physical_tables(): table[table.rowid(), table.x].filter(_.x >...
bug: Scalar.ifelse(Column, Column) results in Scalar, not Column ### What happened? ```python import pandas as pd import ibis ibis.options.interactive = True ibis.options.verbose = True df = pd.DataFrame({"x": range(3)}) inp = ibis.memtable(df) ibis.literal(True).ifelse(inp.x, -inp.x) ``` Results in the s...
Thanks for the report, https://github.com/ibis-project/ibis/pull/5197 should fix it. Thank you for the super quick fix! Been really liking Ibis so far. Occasionally I find a rough edge, but you seem to be working on this so actively that I'm confident that I can find a workaround. Thank you!
Thanks for the report, https://github.com/ibis-project/ibis/pull/5197 should fix it. Thank you for the super quick fix! Been really liking Ibis so far. Occasionally I find a rough edge, but you seem to be working on this so actively that I'm confident that I can find a workaround. Thank you!
[ "https://github.com/ibis-project/ibis/commit/836ff492f690685475e5658b4d8308fd8a02cd02" ]
2023-01-11T13:57:03
4.0
Python
ibis-project/ibis
11,330
ibis-project__ibis-11330
[ 11322 ]
ced21b2605d1330acc53815d12ae9fa5a9843490
diff --git a/ibis/formats/pyarrow.py b/ibis/formats/pyarrow.py index 9fd2ad84aede..5ce9205f15f2 100644 --- a/ibis/formats/pyarrow.py +++ b/ibis/formats/pyarrow.py @@ -90,11 +90,10 @@ def to_ibis(cls, typ: pa.DataType, nullable=True) -> dt.DataType: return dt.Interval(typ.unit, nullable=nullable) e...
diff --git a/ibis/formats/tests/test_pyarrow.py b/ibis/formats/tests/test_pyarrow.py index 1ca1aa51c8c6..1d3efd04babb 100644 --- a/ibis/formats/tests/test_pyarrow.py +++ b/ibis/formats/tests/test_pyarrow.py @@ -41,6 +41,9 @@ def assert_dtype_roundtrip(arrow_type, ibis_type=None, restored_type=None): | past.bin...
bug: Conversion from pyarrow fixed list does not preserve its length ### What happened? As indicated by `ibis/formats/tests/test_pyarrow.py::test_non_roundtripable_types` it seems that converting pyarrow's FixedSizeListArray (list with fixed size) to ibis does not preserve its length and results in non fixed list with...
LGTM, thanks for the patch! I will incorporate it and add a test.
LGTM, thanks for the patch! I will incorporate it and add a test.
[ "https://github.com/ibis-project/ibis/commit/2d7cee0e788de3319528960f3602b21a47ced324" ]
2025-06-11T11:55:15
10.6
Python
ibis-project/ibis
6,438
ibis-project__ibis-6438
[ 6430 ]
e9eebbae0d38854197e77f455bb63095b5dea033
diff --git a/ibis/backends/clickhouse/compiler/values.py b/ibis/backends/clickhouse/compiler/values.py index 52862e8ae479..46b14c3581ff 100644 --- a/ibis/backends/clickhouse/compiler/values.py +++ b/ibis/backends/clickhouse/compiler/values.py @@ -850,9 +850,9 @@ def tr(op, *, cache, **kw): # annoying to de...
diff --git a/ibis/backends/clickhouse/tests/snapshots/test_select/test_array_join_in_subquery/out.sql b/ibis/backends/clickhouse/tests/snapshots/test_select/test_array_join_in_subquery/out.sql new file mode 100644 index 000000000000..5e09f53192db --- /dev/null +++ b/ibis/backends/clickhouse/tests/snapshots/test_select/...
bug(clickhouse): SQL is generated with `ARRAYJOIN` function instead of `arrayJoin` ### What happened? Hi, thanks for this great project! When using a subquery to filter a column the clickhouse backend generated the following SQL code: ```sql SELECT t0.id, t0.longitude, t0.latitude FROM osm.node_view ...
@guillemborrell Welcome 👋🏻 Thanks for opening up an issue. It looks like you may have a slightly older version of sqlglot that had this bug. Can you show the version of `sqlglot` that you have installed? At the time 5.1.0 was published the `poetry.lock` file had version 11.5.2 (you may have a different ve...
@guillemborrell Welcome 👋🏻 Thanks for opening up an issue. It looks like you may have a slightly older version of sqlglot that had this bug. Can you show the version of `sqlglot` that you have installed? At the time 5.1.0 was published the `poetry.lock` file had version 11.5.2 (you may have a different ve...
[ "https://github.com/ibis-project/ibis/commit/9ce611e67dea63febd2ddf6b9f75ff7c311b3489", "https://github.com/ibis-project/ibis/commit/b589b881cdea2dada07b9a970369d28a6c518459" ]
2023-06-13T14:49:00
6.0
Python
astronomer/astronomer-cosmos
1,033
astronomer__astronomer-cosmos-1033
[ 1031 ]
3a63bee4a6569bb80f925f70125710bd0f4da9eb
diff --git a/cosmos/profiles/bigquery/service_account_keyfile_dict.py b/cosmos/profiles/bigquery/service_account_keyfile_dict.py index 17858d7bb..480db669b 100644 --- a/cosmos/profiles/bigquery/service_account_keyfile_dict.py +++ b/cosmos/profiles/bigquery/service_account_keyfile_dict.py @@ -20,8 +20,11 @@ class Google...
diff --git a/tests/profiles/bigquery/test_bq_service_account_keyfile_dict.py b/tests/profiles/bigquery/test_bq_service_account_keyfile_dict.py index 6f0d60b8d..d30c90021 100755 --- a/tests/profiles/bigquery/test_bq_service_account_keyfile_dict.py +++ b/tests/profiles/bigquery/test_bq_service_account_keyfile_dict.py @@ ...
[Bug]: BigQuery profile target 'dev' invalid: 'schema' is a required property ### Astronomer Cosmos Version Other Astronomer Cosmos version (please specify below) ### If "Other Astronomer Cosmos version" selected, which one? 1.4.2 ### dbt-core version 1.5.0 ### Versions of dbt adapters _No response...
@pankajastro I think this bug relates to this change: https://github.com/astronomer/astronomer-cosmos/pull/1017 It seems we are not adding `schema` to the `profiles.yml` file created with the `ProfileMapping`, but that dbt-bigquery adapter expects it to be there: ``` Runtime Error Credentials in profile "bigq...
@pankajastro I think this bug relates to this change: https://github.com/astronomer/astronomer-cosmos/pull/1017 It seems we are not adding `schema` to the `profiles.yml` file created with the `ProfileMapping`, but that dbt-bigquery adapter expects it to be there: ``` Runtime Error Credentials in profile "bigq...
[ "https://github.com/astronomer/astronomer-cosmos/commit/284db94396c2e0acea0e9ecc2d614d48e583bfd4" ]
2024-06-07T11:58:45
1.4
Python
astronomer/astronomer-cosmos
615
astronomer__astronomer-cosmos-615
[ 580 ]
c1a140609947721ff12676fb7e0fa9b5039c1855
diff --git a/cosmos/dbt/selector.py b/cosmos/dbt/selector.py index 0e6034a0b..f195f225b 100644 --- a/cosmos/dbt/selector.py +++ b/cosmos/dbt/selector.py @@ -108,6 +108,9 @@ def should_include_node(node_id: str, node: DbtNode) -> bool: visited_nodes.add(node_id) + if node.resource_type == DbtResource...
diff --git a/tests/dbt/test_graph.py b/tests/dbt/test_graph.py index 3927bbfdd..b36bf92fb 100644 --- a/tests/dbt/test_graph.py +++ b/tests/dbt/test_graph.py @@ -504,6 +504,26 @@ def test_update_node_dependency_test_not_exist(): assert nodes.has_test is False +def test_tag_selected_node_test_exist(): + p...
Tag selector not working with tests using the manifest json There is a bug with the parsing of tests (at lease when using load_from_dbt_manifest). Dbt does not populate the tags on the tests, still I would expected the behavior like in dbt that tests for the models matched by a tag are selected. The current impleme...
@nicohein This seems to be a limitation of Cosmos custom selector, which is used with `LoadMethod.CUSTOM` or `LoadMethod.DBT_MANIFEST`. If using `load_via_dbt_ls`, the selector behaviour would be just like dbt's. Would you like to make a contribution to support this use-case in the custom selector? @tatiana while ...
@nicohein This seems to be a limitation of Cosmos custom selector, which is used with `LoadMethod.CUSTOM` or `LoadMethod.DBT_MANIFEST`. If using `load_via_dbt_ls`, the selector behaviour would be just like dbt's. Would you like to make a contribution to support this use-case in the custom selector? @tatiana while ...
[ "https://github.com/astronomer/astronomer-cosmos/commit/31c1d4ac334329cf3ca96c440d63b1ef2920b41b", "https://github.com/astronomer/astronomer-cosmos/commit/b09fb28730f3d20a883491c21e12a18557fe26dd", "https://github.com/astronomer/astronomer-cosmos/commit/ce5b99f235cd50d1b9cf5e6660940e720e7ae3cb", "https://gith...
2023-10-19T13:39:25
1.3
Python
astronomer/astronomer-cosmos
352
astronomer__astronomer-cosmos-352
[ 350 ]
10585442c72b5699fc8bca8a1c50a346d2b567e3
diff --git a/cosmos/operators/local.py b/cosmos/operators/local.py index 8461bd07b..605fd4ce3 100644 --- a/cosmos/operators/local.py +++ b/cosmos/operators/local.py @@ -231,7 +231,6 @@ def run_command( output_encoding=self.output_encoding, cwd=tmp_project_dir, ) - ...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 159d70f9f..68bbaa3d7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,8 +99,25 @@ jobs: matrix: python-version: ["3.10"] airflow-version: ["2.6"] + if: >- + github.event_name == 'pu...
GCP BigQuery service account json not supported in v0.7 We ran into this problem upgrading from v0.6.X -> v0.7.X using the default `google_cloud_platform` [airflow connection ](https://airflow.apache.org/docs/apache-airflow-providers-google/stable/connections/gcp.html#configuring-the-connection) that uses a keyfile jso...
Hi, I was just going to open a similar issue :) We were not using the older version, but I guess we have the same problem: we store our Service Account JSON file as a secret in Google Secret Manager, so when we retrieve it, it is not a path to a file, but the actual file/JSON. I started testing with Cosmos 0.7.3 and so...
Hi, I was just going to open a similar issue :) We were not using the older version, but I guess we have the same problem: we store our Service Account JSON file as a secret in Google Secret Manager, so when we retrieve it, it is not a path to a file, but the actual file/JSON. I started testing with Cosmos 0.7.3 and so...
[ "https://github.com/astronomer/astronomer-cosmos/commit/f85a334ff8b9d068c32a9bda2f570e4fcf157a2b", "https://github.com/astronomer/astronomer-cosmos/commit/ce83b93a287530bf07f8aeec5dd33de1ab036098", "https://github.com/astronomer/astronomer-cosmos/commit/e946f791e0aa028a52bd4a62a5ba8eb3059e46bc", "https://gith...
2023-06-28T19:36:21
1.0
Python
astronomer/astronomer-cosmos
188
astronomer__astronomer-cosmos-188
[ 187 ]
ed5c79b28d585b9f8f97c48c70cffbb30616ecd3
diff --git a/cosmos/providers/dbt/community/profiles/exasol.py b/cosmos/providers/dbt/community/profiles/exasol.py new file mode 100644 index 000000000..81ba295be --- /dev/null +++ b/cosmos/providers/dbt/community/profiles/exasol.py @@ -0,0 +1,57 @@ +from __future__ import annotations + +from typing import TYPE_CHECKIN...
diff --git a/tests/dbt/profiles_test.py b/tests/dbt/profiles_test.py index 32f9a97e2..c03fdf925 100644 --- a/tests/dbt/profiles_test.py +++ b/tests/dbt/profiles_test.py @@ -13,6 +13,7 @@ from cosmos.providers.dbt.core.profiles import ( create_profile_vars_databricks, + create_profile_vars_exasol, create...
Add Support for the DBT-Exasol Adapter We should add all of the dbt supported platforms (and then move to the community ones). This will require two things: - [ ] default profile that maps to an Airflow connection - [ ] new extra in setup.cfg See Exasol setup in [dbt docs](https://docs.getdbt.com/reference/w...
[ "https://github.com/astronomer/astronomer-cosmos/commit/0a2ef5929d8ea94832cd1ab3abb5c0d97cd46064", "https://github.com/astronomer/astronomer-cosmos/commit/d802f61b8d310a3b9335a6b3ac9d7c275b87c8a7", "https://github.com/astronomer/astronomer-cosmos/commit/586fd79a4c340238764db45a8d36793249779921", "https://gith...
2023-03-16T10:29:10
0.6
Python
astronomer/astronomer-cosmos
166
astronomer__astronomer-cosmos-166
[ 145 ]
43100cb854141c3521bdb8c4c3206637f9e59622
diff --git a/cosmos/providers/databricks/notebook.py b/cosmos/providers/databricks/notebook.py index 7ce16cad3..b674ba745 100644 --- a/cosmos/providers/databricks/notebook.py +++ b/cosmos/providers/databricks/notebook.py @@ -91,6 +91,23 @@ def __init__( super().__init__(**kwargs) + def _get_task_base_js...
diff --git a/tests/databricks/test_notebook.py b/tests/databricks/test_notebook.py index 1c4044241..91127db35 100644 --- a/tests/databricks/test_notebook.py +++ b/tests/databricks/test_notebook.py @@ -139,10 +139,13 @@ def test_databricks_notebook_operator_without_taskgroup_new_cluster( "run_name": "1234",...
Link DatabricksWorkflowTaskgroup timeout to databricks jobs timeout Description: To prevent infinitely hanging jobs, it would be useful to have the ability to program timeouts for Airflow tasks that are submitted to Databricks. Currently, Databricks jobs do not have timeouts by default which means that a databricks jo...
@pankajkoti and I discussed this ticket and Pankaj is going to do a spike on 1) tying the airflow timeout to the databricks job timeout when submitting 2) sending a "kill" message to databricks if the task takes longer than the timeout and report findings here cc: @tatiana **Approach 1: Tying the airflow timeo...
@pankajkoti and I discussed this ticket and Pankaj is going to do a spike on 1) tying the airflow timeout to the databricks job timeout when submitting 2) sending a "kill" message to databricks if the task takes longer than the timeout and report findings here cc: @tatiana **Approach 1: Tying the airflow timeo...
[ "https://github.com/astronomer/astronomer-cosmos/commit/405dadd5e98fabe8cc05309a9b6b8afa43774d91", "https://github.com/astronomer/astronomer-cosmos/commit/a71ea294633718c3da57ffebcbebfa9cc210b8c0", "https://github.com/astronomer/astronomer-cosmos/commit/7a607df13d41beeeb7b2c51bec7255897fcfc49d", "https://gith...
2023-02-28T16:56:34
0.5
Python
huggingface/optimum
1,182
huggingface__optimum-1182
[ 1156 ]
414d4c32af0110627db34ea3e37967495159e58d
diff --git a/optimum/onnxruntime/modeling_ort.py b/optimum/onnxruntime/modeling_ort.py index 10d6beb118..54c3143cc1 100644 --- a/optimum/onnxruntime/modeling_ort.py +++ b/optimum/onnxruntime/modeling_ort.py @@ -207,7 +207,9 @@ def shared_attributes_init( ) self.providers = model.get_providers() ...
diff --git a/tests/onnxruntime/test_utils.py b/tests/onnxruntime/test_utils.py index dedb661124..c3dd4c0561 100644 --- a/tests/onnxruntime/test_utils.py +++ b/tests/onnxruntime/test_utils.py @@ -9,8 +9,10 @@ class ProviderAndDeviceGettersTest(unittest.TestCase): def test_get_device_for_provider(self): - ...
`device_id` in `provider_options` is ignored ### System Info ```shell optimum from source (v1.9.0) ``` ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) ...
Thanks, `self.device` is always set to `cuda:0` with CUDA EP. I'll fix.
Thanks, `self.device` is always set to `cuda:0` with CUDA EP. I'll fix.
[ "https://github.com/huggingface/optimum/commit/be063b525abe8016504f73e9a152dac26fcee153" ]
2023-07-11T16:25:27
1.19
Python
huggingface/optimum
2,038
huggingface__optimum-2038
[ 2032 ]
a7a807c9e712fd9669865358e34c1de072b78d8e
diff --git a/docs/source/exporters/onnx/overview.mdx b/docs/source/exporters/onnx/overview.mdx index 747e1396fb..2eaada7dad 100644 --- a/docs/source/exporters/onnx/overview.mdx +++ b/docs/source/exporters/onnx/overview.mdx @@ -36,6 +36,7 @@ Supported architectures from [🤗 Transformers](https://huggingface.co/docs/tra ...
diff --git a/tests/exporters/exporters_utils.py b/tests/exporters/exporters_utils.py index 31059c403d..c56132c384 100644 --- a/tests/exporters/exporters_utils.py +++ b/tests/exporters/exporters_utils.py @@ -67,6 +67,7 @@ "data2vec-audio": "hf-internal-testing/tiny-random-Data2VecAudioModel", "deberta": "hf-in...
ONNX support for decision transformers ### Feature request I am trying to train off-line RL using decision transformer, convert to .onnx. ``` from pathlib import Path from transformers.onnx import FeaturesManager feature = "sequence-classification" # load config model_kind, model_onnx_config = FeaturesM...
Hi ! here's an example of a PR adding export support for a new model https://github.com/huggingface/optimum/pull/2025 and this one is adding inference support for a new task https://github.com/huggingface/optimum/pull/2031
Hi ! here's an example of a PR adding export support for a new model https://github.com/huggingface/optimum/pull/2025 and this one is adding inference support for a new task https://github.com/huggingface/optimum/pull/2031
[ "https://github.com/huggingface/optimum/commit/ff26d625287560ecd46321185525dbc84e885a6f", "https://github.com/huggingface/optimum/commit/d85062abb2a2b783be6b095078a4019162c1af07", "https://github.com/huggingface/optimum/commit/ace12de787389c7aa630a9a47edef6d3cf67bc22", "https://github.com/huggingface/optimum/...
2024-10-01T15:16:05
1.25
Python
huggingface/optimum
655
huggingface__optimum-655
[ 627 ]
9ac17034b6cb27da23499393598086f0b3b9223d
diff --git a/optimum/onnx/__init__.py b/optimum/onnx/__init__.py index 4a0d7fb934..a543965d0d 100644 --- a/optimum/onnx/__init__.py +++ b/optimum/onnx/__init__.py @@ -11,4 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permis...
diff --git a/tests/onnx/test_onnx_graph_transformations.py b/tests/onnx/test_onnx_graph_transformations.py index 990e768fa9..8efa9e10dd 100644 --- a/tests/onnx/test_onnx_graph_transformations.py +++ b/tests/onnx/test_onnx_graph_transformations.py @@ -16,17 +16,22 @@ import subprocess import unittest from pathlib imp...
INT64 clamping to INT32 creates overhead while using TensorRT ### System Info ```shell optimum: dev CUDA: 11.3 cuDNN: 8.3.2 TensorRT: 8.4.1.5 ``` ### Who can help? @JingyaHuang ### Reproduction ```python from optimum.onnxruntime import ORTModelForSequenceClassification from transformers import Aut...
@JingyaHuang the warning ``` 2022-12-21 11:03:15.553857281 [W:onnxruntime:Default, tensorrt_execution_provider.h:60 log] [2022-12-21 10:03:15 WARNING] external/onnx-tensorrt/onnx2trt_utils.cpp:367: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to c...
@JingyaHuang the warning ``` 2022-12-21 11:03:15.553857281 [W:onnxruntime:Default, tensorrt_execution_provider.h:60 log] [2022-12-21 10:03:15 WARNING] external/onnx-tensorrt/onnx2trt_utils.cpp:367: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to c...
[ "https://github.com/huggingface/optimum/commit/f00c3eca1372d6caf67ba4d9bf52573735c081ff", "https://github.com/huggingface/optimum/commit/cebca6c4be8452a4c8ffa3899e2e676b048e18d9", "https://github.com/huggingface/optimum/commit/3553a45b072d5a20e7cc6c3ff6a92aa753177667", "https://github.com/huggingface/optimum/...
2022-12-30T14:00:37
0.0
Python
huggingface/optimum
1,366
huggingface__optimum-1366
[ 1365 ]
f7292664c38ff18004e934de061a6123b899d8e6
diff --git a/optimum/exporters/tasks.py b/optimum/exporters/tasks.py index c770d27c4b..a31fa6272f 100644 --- a/optimum/exporters/tasks.py +++ b/optimum/exporters/tasks.py @@ -1525,6 +1525,9 @@ def infer_library_from_model( "The library_name could not be automatically inferred. If using the command-line...
diff --git a/tests/exporters/exporters_utils.py b/tests/exporters/exporters_utils.py index 5a4dd4b242..e0987e83d1 100644 --- a/tests/exporters/exporters_utils.py +++ b/tests/exporters/exporters_utils.py @@ -32,7 +32,17 @@ PYTORCH_EXPORT_MODELS_TINY = { "albert": "hf-internal-testing/tiny-random-AlbertModel", ...
`KeyError: 'sentence-transformers'` Unable to export sentence-transformers models ### System Info ```shell - `optimum` version: 1.12.1.dev0 - `transformers` version: 4.34.0.dev0 - Platform: Linux-5.15.109+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - PyTorch version (GPU?...
[ "https://github.com/huggingface/optimum/commit/d4d14ab2f74a6f312491b0781c289f9db49081f0", "https://github.com/huggingface/optimum/commit/d52146786ead58860ed5ad37ff7135c7b91462cf" ]
2023-09-08T05:07:20
1.19
Python
huggingface/optimum
2,108
huggingface__optimum-2108
[ 2092 ]
28bd0ad8fccfb6dd8019cd2882a88d69386a134c
diff --git a/docs/source/exporters/onnx/overview.mdx b/docs/source/exporters/onnx/overview.mdx index 2eaada7dad..57005b8567 100644 --- a/docs/source/exporters/onnx/overview.mdx +++ b/docs/source/exporters/onnx/overview.mdx @@ -83,6 +83,7 @@ Supported architectures from [🤗 Transformers](https://huggingface.co/docs/tra ...
diff --git a/tests/exporters/exporters_utils.py b/tests/exporters/exporters_utils.py index c56132c384..32156d9eeb 100644 --- a/tests/exporters/exporters_utils.py +++ b/tests/exporters/exporters_utils.py @@ -138,6 +138,7 @@ "phi3": "Xenova/tiny-random-Phi3ForCausalLM", "pix2struct": "fxmarty/pix2struct-tiny-ra...
Add support for RemBERT in the ONNX export ### Feature request Add RemBERT to supported architectures for ONNX export. ### Motivation The support for [RemBert](https://huggingface.co/docs/transformers/model_doc/rembert) was previously available in Transformers see [here](https://github.com/huggingface/transformers/i...
Hi, I would love to review a PR, adding a model is usually something like https://github.com/huggingface/optimum/pull/1161/files where we add a model config (in this case it will just inherit from bert text encoder config) and the appropriate hub models for testing.
Hi, I would love to review a PR, adding a model is usually something like https://github.com/huggingface/optimum/pull/1161/files where we add a model config (in this case it will just inherit from bert text encoder config) and the appropriate hub models for testing.
[ "https://github.com/huggingface/optimum/commit/eb4076b49c0871144a66bf1640da1ad3bba58bd3", "https://github.com/huggingface/optimum/commit/039b5a835316f2ecf353ae7f8a36d654de6d2791", "https://github.com/huggingface/optimum/commit/5180284c2ceaa7d9fd869aad011ce5b554c0a798", "https://github.com/huggingface/optimum/...
2024-11-30T14:46:12
1.25
Python
Qiskit/qiskit
10,208
Qiskit__qiskit-10208
[ 9031 ]
a9f9cee30adec9de8fc9ddf1d42de26b92c62061
diff --git a/qiskit/visualization/gate_map.py b/qiskit/visualization/gate_map.py index 86a3fbe9f858..6acd2f8b0ab7 100644 --- a/qiskit/visualization/gate_map.py +++ b/qiskit/visualization/gate_map.py @@ -17,12 +17,13 @@ import numpy as np import rustworkx as rx +from rustworkx.visualization import graphviz_draw f...
diff --git a/test/python/visualization/test_gate_map.py b/test/python/visualization/test_gate_map.py index 29f9d7286b36..c4b7c3aabf32 100644 --- a/test/python/visualization/test_gate_map.py +++ b/test/python/visualization/test_gate_map.py @@ -55,6 +55,8 @@ class TestGateMap(QiskitVisualizationTestCase): ) @...
Update plot_gate_map (and related visualization functions) to leverage rustworkx.visualization.graphviz_draw for unknown coupling maps ### What should we add? Right now the `plot_gate_map()` visualization function (and similar functions like `plot_circuit_layout()` use rustworkx's `spring_layout()` function when there...
For reference, the current `plot_gate_map` and `plot_error_map` problems with larger backends: ```python from qiskit_ibm_provider import IBMProvider from qiskit.visualization import plot_gate_map backend = IBMProvider().get_backend('ibm_washington') print(backend.num_qubits) # 127 plot_gate_map(backend) ```...
For reference, the current `plot_gate_map` and `plot_error_map` problems with larger backends: ```python from qiskit_ibm_provider import IBMProvider from qiskit.visualization import plot_gate_map backend = IBMProvider().get_backend('ibm_washington') print(backend.num_qubits) # 127 plot_gate_map(backend) ```...
[ "https://github.com/Qiskit/qiskit/commit/6a46be1a02287a7fcac73e80619ae1a116701ac6", "https://github.com/Qiskit/qiskit/commit/c27c921dd3fc9ccf8f06801ae2c294bdd784e69c", "https://github.com/Qiskit/qiskit/commit/5d32cd1f3c8e578710219c73a3d1f94eb61d95af", "https://github.com/Qiskit/qiskit/commit/e4add11e6e90413a4...
2023-06-06T07:21:00
0.7
Python
Qiskit/qiskit
12,483
Qiskit__qiskit-12483
[ 12059 ]
72f09adf7e434dbdfc84b6a2cf12af044f99cf8d
diff --git a/qiskit/circuit/random/utils.py b/qiskit/circuit/random/utils.py index fc497a300cba..f27cbfbfca88 100644 --- a/qiskit/circuit/random/utils.py +++ b/qiskit/circuit/random/utils.py @@ -21,7 +21,14 @@ def random_circuit( - num_qubits, depth, max_operands=4, measure=False, conditional=False, reset=False...
diff --git a/test/python/circuit/test_random_circuit.py b/test/python/circuit/test_random_circuit.py index deadcd09d692..ebbdfd28d648 100644 --- a/test/python/circuit/test_random_circuit.py +++ b/test/python/circuit/test_random_circuit.py @@ -12,6 +12,7 @@ """Test random circuit generation utility.""" +import nump...
Controlling the Insertion of Multi-Qubit Gates in the Generation of Random Circuits ### What should we add? The [generation of random circuits](https://github.com/Qiskit/qiskit/blob/main/qiskit/circuit/random/utils.py) should be extended by the ability to specify a distribution `num_operand_distribution` that specifie...
This issue is participating on [UnitaryHack 2024](https://unitaryhack.dev/projects/qiskit/), between May 29 and June 12, 2024. Because the nature of the event, there is no need to request to be assigned: just go ahead and PR your fix. The first/best PR can get the bounty (or it could be shared if they complement eac...
This issue is participating on [UnitaryHack 2024](https://unitaryhack.dev/projects/qiskit/), between May 29 and June 12, 2024. Because the nature of the event, there is no need to request to be assigned: just go ahead and PR your fix. The first/best PR can get the bounty (or it could be shared if they complement eac...
[ "https://github.com/Qiskit/qiskit/commit/378eda190f50d64de3cd375b12fd9afb7eb93420", "https://github.com/Qiskit/qiskit/commit/2d07e24f191a7daa00835c952caaafa2a79d5dd5", "https://github.com/Qiskit/qiskit/commit/f29ad0d9a95cdadf98f4078114cf7f0b2965fcc0", "https://github.com/Qiskit/qiskit/commit/098e3932cd75c7af4...
2024-05-31T00:18:55
0.7
Python
Qiskit/qiskit
12,526
Qiskit__qiskit-12526
[ 12525 ]
1798c3f20868225f5416186e25b8e20e8b29199c
diff --git a/qiskit/transpiler/target.py b/qiskit/transpiler/target.py index f7b5227c0266..53daa4ccbe65 100644 --- a/qiskit/transpiler/target.py +++ b/qiskit/transpiler/target.py @@ -892,7 +892,7 @@ def has_calibration( return False if qargs not in self._gate_map[operation_name]: retu...
diff --git a/test/python/transpiler/test_target.py b/test/python/transpiler/test_target.py index 646b29dd3832..f63ed5061cc7 100644 --- a/test/python/transpiler/test_target.py +++ b/test/python/transpiler/test_target.py @@ -1366,6 +1366,31 @@ def test_get_empty_target_calibration(self): self.assertIsNone(targ...
`Target.has_calibration` errors for instructions without properties ### Environment - **Qiskit version**: 1.1.0 - **Python version**: 3.12 - **Operating system**: Fedora Linux 40 ### What is happening? If a `Target` has an `Instruction` with `None` for its `InstructionProperties`, `Target.has_calibration` raises...
[ "https://github.com/Qiskit/qiskit/commit/8217734085531bfd6776c661ed6a134b5659cd58" ]
2024-06-06T22:16:32
0.7
Python
Qiskit/qiskit
11,031
Qiskit__qiskit-11031
[ 10554 ]
4dfcba20811d413751facd70fb1c2251940f285d
diff --git a/qiskit/compiler/transpiler.py b/qiskit/compiler/transpiler.py index 360cd0af57f7..22dfd35be3c2 100644 --- a/qiskit/compiler/transpiler.py +++ b/qiskit/compiler/transpiler.py @@ -512,10 +512,10 @@ def _parse_initial_layout(initial_layout): return initial_layout if isinstance(initial_layout, di...
diff --git a/test/python/transpiler/test_transpile_layout.py b/test/python/transpiler/test_transpile_layout.py index b966a0af6b5e..0ece5126f374 100644 --- a/test/python/transpiler/test_transpile_layout.py +++ b/test/python/transpiler/test_transpile_layout.py @@ -294,3 +294,13 @@ def test_initial_virtual_layout_filter_a...
`transpile` initial layout and `SetLayout` pass don't work with `range` in 0.25 ### Environment - **Qiskit Terra version**: 0.25.0 - **Python version**: 3.11 - **Operating system**: MacOS ### What is happening? The recent 0.25 release broke passing in `initial_layout` as a `range` in the transpile function. This...
Strictly this should have been an error to do this ever since #3821 - the `initial_layout` argument to `transpile` has never been typed as accepting a `range` but in practice it worked. Fwiw, I'd keep `SetLayout` with a restrictive input format, and just modify `_parse_initial_layout` in `transpile` to normalise the i...
Strictly this should have been an error to do this ever since #3821 - the `initial_layout` argument to `transpile` has never been typed as accepting a `range` but in practice it worked. Fwiw, I'd keep `SetLayout` with a restrictive input format, and just modify `_parse_initial_layout` in `transpile` to normalise the i...
[ "https://github.com/Qiskit/qiskit/commit/17c470373e71997a6698669039d029300fa384f7", "https://github.com/Qiskit/qiskit/commit/00f9bb422f31b3968ff355c5d936586da4df6802", "https://github.com/Qiskit/qiskit/commit/ee4b2b78cce8994a301712eb1563ae6ff0acdb1f", "https://github.com/Qiskit/qiskit/commit/ea883310022cc8b45...
2023-10-17T21:03:26
0.7
Python
Qiskit/qiskit
12,906
Qiskit__qiskit-12906
[ 12902 ]
2d3db9a6e66fd70a5406ab94d49fb3b0b29f9225
diff --git a/qiskit/compiler/transpiler.py b/qiskit/compiler/transpiler.py index fd93fde5989f..6e02b597bb1f 100644 --- a/qiskit/compiler/transpiler.py +++ b/qiskit/compiler/transpiler.py @@ -23,7 +23,7 @@ from qiskit.dagcircuit import DAGCircuit from qiskit.providers.backend import Backend from qiskit.providers.back...
diff --git a/test/benchmarks/pulse/load_pulse_defaults.py b/test/benchmarks/pulse/load_pulse_defaults.py index 1b7fa5cc1719..770ac1563b2b 100644 --- a/test/benchmarks/pulse/load_pulse_defaults.py +++ b/test/benchmarks/pulse/load_pulse_defaults.py @@ -15,7 +15,7 @@ import numpy as np -from qiskit.providers.models i...
Importing BackendV2 results in a deprecation warning of `qiskit.providers.models` ### Environment - **Qiskit version**: main, 1.2.0rc1 - **Python version**: 3.12.4 - **Operating system**: macOS 14.6 ### What is happening? Even if I imported only BackendV2, qiskit raises a deprecation warning of `qiskit.pro...
[ "https://github.com/Qiskit/qiskit/commit/336aed157329d3e8c7a3af8215769e7b036289ab", "https://github.com/Qiskit/qiskit/commit/c95bd5b8e60f1091dc1bf226f1e5d48d9cb9bc6b", "https://github.com/Qiskit/qiskit/commit/3e8796f86bfa4a086e7c04771166db30a43d2a6e", "https://github.com/Qiskit/qiskit/commit/442eb1fcddc1b768c...
2024-08-05T13:08:10
0.7
Python
apache/airflow
40,269
apache__airflow-40269
[ 40187 ]
60c2d365bfbf13d93900f1dee1607cd037b38691
diff --git a/airflow/models/baseoperator.py b/airflow/models/baseoperator.py index bbd629cfc156c..5d58cb80dc32c 100644 --- a/airflow/models/baseoperator.py +++ b/airflow/models/baseoperator.py @@ -95,7 +95,7 @@ from airflow.utils.context import Context, context_get_outlet_events from airflow.utils.decorators import f...
diff --git a/tests/models/test_baseoperator.py b/tests/models/test_baseoperator.py index 06310cd395ca0..a73db360aabb2 100644 --- a/tests/models/test_baseoperator.py +++ b/tests/models/test_baseoperator.py @@ -32,6 +32,7 @@ from airflow.exceptions import AirflowException, FailStopDagInvalidTriggerRule, RemovedInAirflow...
Scheduler Crashes When Passing Invalid Value to Argument in default_args ### Apache Airflow version 2.9.2 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? When an invalid value is passed to any argument in default_args, such as passing a string value "2" to max_active_tis_per_...
It's not a new issue in 2.9.2, confirmed with @hkc-8010 he is able to repro in the previous version as well. We should handle invalid values gracefully instead of getting the scheduler crashed
It's not a new issue in 2.9.2, confirmed with @hkc-8010 he is able to repro in the previous version as well. We should handle invalid values gracefully instead of getting the scheduler crashed
[ "https://github.com/apache/airflow/commit/5b2765de125cae3b1564eda7f83157fc31051cc0", "https://github.com/apache/airflow/commit/4882e249dff3c63764dd194773a96d5a7b125e0d", "https://github.com/apache/airflow/commit/0813a7a7870e90968c68bde2aaac4515dd2106d4", "https://github.com/apache/airflow/commit/271e6a8c706a4...
2024-06-16T15:22:04
1.10
Python
apache/airflow
55,014
apache__airflow-55014
[ 54781 ]
b2c42b713b8201b2e42a6142f7fdadc693eb231c
diff --git a/providers/google/src/airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py b/providers/google/src/airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py index 596585f08ccab..73cf777a51b03 100644 --- a/providers/google/src/airflow/providers/google/cloud/hooks/cloud_storage_t...
diff --git a/providers/google/tests/unit/google/cloud/hooks/test_cloud_storage_transfer_service_async.py b/providers/google/tests/unit/google/cloud/hooks/test_cloud_storage_transfer_service_async.py index ca16082441c8b..7f18363338d84 100644 --- a/providers/google/tests/unit/google/cloud/hooks/test_cloud_storage_transfe...
Serialization problem in trigger in Google provider that raises NotImplementedError in case when non-primitive type is returned from triggerer ### Apache Airflow version 3.0.5 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? In Airflow 3.0.3 with PR https://github.com/apache/a...
I think we have two ways of solving it: 1) More generic -> possibly we could serialize those classes (they are protobufs really) using generic to/from String and store the "class" of the object (so that we can deserialize it and know what to deserialize it from) 2) More "extendable" - add "serialization" extension ...
I think we have two ways of solving it: 1) More generic -> possibly we could serialize those classes (they are protobufs really) using generic to/from String and store the "class" of the object (so that we can deserialize it and know what to deserialize it from) 2) More "extendable" - add "serialization" extension ...
[ "https://github.com/apache/airflow/commit/76dba14308542080e79a34c474eb92d00246c4ad" ]
2025-08-28T07:32:20
1.10
Python
apache/airflow
51,180
apache__airflow-51180
[ 50500 ]
39532310a7adfe92c2227c99ec43031efdc28ba7
diff --git a/airflow-core/docs/troubleshooting.rst b/airflow-core/docs/troubleshooting.rst index f636b87a42c47..f354ea1a2ff6e 100644 --- a/airflow-core/docs/troubleshooting.rst +++ b/airflow-core/docs/troubleshooting.rst @@ -46,3 +46,13 @@ Here are some examples that could cause such an event: - A DAG run timeout, spe...
diff --git a/task-sdk/tests/task_sdk/execution_time/test_supervisor.py b/task-sdk/tests/task_sdk/execution_time/test_supervisor.py index 7861a9d599712..4696908bae72f 100644 --- a/task-sdk/tests/task_sdk/execution_time/test_supervisor.py +++ b/task-sdk/tests/task_sdk/execution_time/test_supervisor.py @@ -768,6 +768,44 @...
The task supervisor continues running indefinitely, even after the associated task process has completed ### Apache Airflow version 3.0.0 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? At high concurrency, the task supervisor process is not able to cleanly mark the sockets c...
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. @vatsrahul1001 @neel-astro Could you test changes in https://github.com/apache/airflow/pull/51020 please to see if it fixes the issue
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. @vatsrahul1001 @neel-astro Could you test changes in https://github.com/apache/airflow/pull/51020 please to see if it fixes the issue After ht...
[ "https://github.com/apache/airflow/commit/30b2fc0a99f2a6ce84e49f19c981db949b14486f", "https://github.com/apache/airflow/commit/33e85469976d7155fba37826ac817b2c4ff667b9", "https://github.com/apache/airflow/commit/d896bb6c16717d4fddae93355616f8f1cfadfd9f" ]
2025-05-28T21:19:17
1.10
Python
apache/airflow
40,048
apache__airflow-40048
[ 40047 ]
21dae6ee39e7d7fc09a7f1495c8c243ee9d09b49
diff --git a/airflow/providers/dbt/cloud/operators/dbt.py b/airflow/providers/dbt/cloud/operators/dbt.py index 8e9f310ce8e5b..18df34ce3ecd4 100644 --- a/airflow/providers/dbt/cloud/operators/dbt.py +++ b/airflow/providers/dbt/cloud/operators/dbt.py @@ -135,7 +135,7 @@ def execute(self, context: Context): ...
diff --git a/tests/providers/dbt/cloud/operators/test_dbt.py b/tests/providers/dbt/cloud/operators/test_dbt.py index 2941c021baf44..3b0c1dab0956d 100644 --- a/tests/providers/dbt/cloud/operators/test_dbt.py +++ b/tests/providers/dbt/cloud/operators/test_dbt.py @@ -374,7 +374,7 @@ def test_execute_no_wait_for_terminatio...
DbtCloudRunJobOperator `reuse_existing_run` flag does not work properly ### Apache Airflow version 2.9.1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? When `reuse_existing_run` is set to `True` in `DbtCloudRunJobOperator`, it gives an error: ``` [2024-06-04 20...
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
[ "https://github.com/apache/airflow/commit/168e95f428e8d28fec1f6cb53ad54b95857e26b6", "https://github.com/apache/airflow/commit/86f9432fee72167377847917c28bbd54820d8a0c", "https://github.com/apache/airflow/commit/f9d9ac282273664e88b6632a5d309f53f17dd60f" ]
2024-06-04T17:34:45
1.10
Python
apache/airflow
30,117
apache__airflow-30117
[ 22474 ]
e01c14661a4ec4bee3a2066ac1323fbd8a4386f1
diff --git a/airflow/cli/commands/dag_command.py b/airflow/cli/commands/dag_command.py index 4a9a1f2c12d74..ef891fba62832 100644 --- a/airflow/cli/commands/dag_command.py +++ b/airflow/cli/commands/dag_command.py @@ -27,7 +27,6 @@ from graphviz.dot import Dot from sqlalchemy.orm import Session -from sqlalchemy.sql....
diff --git a/tests/cli/commands/test_dag_command.py b/tests/cli/commands/test_dag_command.py index 81d62699ba42f..6b4e2187fadcf 100644 --- a/tests/cli/commands/test_dag_command.py +++ b/tests/cli/commands/test_dag_command.py @@ -28,6 +28,7 @@ import pendulum import pytest +import time_machine from airflow import...
CLI command "airflow dags next-execution" give unexpected results with paused DAG and catchup=False ### Apache Airflow version 2.2.2 ### What happened Current time 16:54 UTC Execution Schedule: * * * * * Last Run: 16:19 UTC DAG Paused Catchup=False `airflow dags next-execution sample_dag` returns ``` [INF...
I believe this same issue is showing through the UI, the"next run" on any of the dag views has the same datetime as the 'next-execution' cli command. I guess the viable solution would be to add a flag to optionally respect catchup (and perhaps emit a warning when the command is run without the option but with `catchup...
I believe this same issue is showing through the UI, the"next run" on any of the dag views has the same datetime as the 'next-execution' cli command. I guess the viable solution would be to add a flag to optionally respect catchup (and perhaps emit a warning when the command is run without the option but with `catchup...
[ "https://github.com/apache/airflow/commit/d3326184abbd4cb75d7b9b8d06af75c4a7abf5df", "https://github.com/apache/airflow/commit/2f71bf38260c0144c4d68625b9b2ab00f5f3a4c3", "https://github.com/apache/airflow/commit/293869dd08dbb7a43e42084f910ec99769eb2c0e", "https://github.com/apache/airflow/commit/53785ef2683c9...
2023-03-15T10:19:05
1.10
Python
pydata/xarray
9,370
pydata__xarray-9370
[ 9201 ]
af12a5ceb968752e055a4664d85b22282d13eafd
diff --git a/xarray/core/combine.py b/xarray/core/combine.py index 6f652cb6597..4b4a07ddc77 100644 --- a/xarray/core/combine.py +++ b/xarray/core/combine.py @@ -89,10 +89,12 @@ def _infer_concat_order_from_coords(datasets): # Need to read coordinate values to do ordering indexes = [ds._indexes...
diff --git a/xarray/tests/test_combine.py b/xarray/tests/test_combine.py index aad7103c112..1c48dca825d 100644 --- a/xarray/tests/test_combine.py +++ b/xarray/tests/test_combine.py @@ -728,7 +728,10 @@ def test_combine_by_coords(self): combine_by_coords(objs) objs = [Dataset({"x": [0], "y": [0]}...
Unclear error message when combine_by_coords doesn't find an index ### What is your issue? The error you get from inside `xr.combine_by_coords` when a 1D dimension coordinate is not backed by an index uses outdated verbiage. That's because it predates the indexes refactor, and this fail case wasn't anticipated at th...
Hi @TomNicholas, I want to work on this issue. I'm new to the open-source world and eager to contribute. I'm currently going through the "How to Contribute" documentation. Could you please assign this issue to me? Thank you! Hi @Shripad1020! Thanks for your interest. We don't generally assign issues to people but...
Hi @TomNicholas, I want to work on this issue. I'm new to the open-source world and eager to contribute. I'm currently going through the "How to Contribute" documentation. Could you please assign this issue to me? Thank you! Hi @Shripad1020! Thanks for your interest. We don't generally assign issues to people but...
[ "https://github.com/pydata/xarray/commit/b3a35beee99996b116f30fb9c6c02f1ed556c262", "https://github.com/pydata/xarray/commit/0d6f210fd23ed2d0bcad079843947fb150554bdd", "https://github.com/pydata/xarray/commit/f8c5c112b1e99c0f38a66b958a051d55ba740f5f" ]
2024-08-15T22:00:58
2024.07
Python
pydata/xarray
8,668
pydata__xarray-8668
[ 8666 ]
037a39e249e5387bc15de447c57bfd559fd5a574
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 317f3b1a824..4e8f561c02f 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -35,6 +35,8 @@ Deprecations Bug fixes ~~~~~~~~~ +- Ensure :py:meth:`DataArray.unstack` works when wrapping array API-compliant classes. (:issue:`8666`, :pull:`8668`) + By `Tom...
diff --git a/xarray/tests/test_array_api.py b/xarray/tests/test_array_api.py index fddaa120970..fea36d9aca4 100644 --- a/xarray/tests/test_array_api.py +++ b/xarray/tests/test_array_api.py @@ -115,6 +115,14 @@ def test_stack(arrays: tuple[xr.DataArray, xr.DataArray]) -> None: assert_equal(actual, expected) +de...
Error unstacking array API compliant class ### What happened? Unstacking fails for array types that strictly follow the array API standard. ### What did you expect to happen? This obviously works fine with a normal numpy array. ### Minimal Complete Verifiable Example ```Python import numpy.array_api as nxp arr ...
[ "https://github.com/pydata/xarray/commit/85d3cb2c80902b4e0a8bdd17945f2efd9028a3a3", "https://github.com/pydata/xarray/commit/dd07d885c0aa3e99e6487bf873f7cdaa0b726e24", "https://github.com/pydata/xarray/commit/5b7ac165b3eea1514d5dcd899d69258522a9d065", "https://github.com/pydata/xarray/commit/84591f13053148634...
2024-01-25T05:54:38
2024.01
Python
pydata/xarray
7,500
pydata__xarray-7500
[ 7129 ]
f46cd708f8e220272173e2fc3e66c7688df45c39
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 26bd72b0727..458765e9d70 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -55,6 +55,9 @@ Bug fixes By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_ and `Scott Chamberlin <https://github.com/scottcha>`_. - Handle ``keep_attrs`` option in binary op...
diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index b49500bd00c..c0dace53976 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -2039,6 +2039,12 @@ def test_chunk_encoding_with_dask(self) -> None: # don't actually check equality because the data c...
dataset encodings 'source' and 'original_shape' are not dropped in `zarr` backend ### What happened? When opening a dataset, like one from the tutorial, and writing it as zarr file, an error is raised due to encodings that are invalid for the `zarr` driver, when the encoding is given in `to_zarr`. In this particular c...
Yes this seems like a bug and should be easy to fix. PRs welcome!
Yes this seems like a bug and should be easy to fix. PRs welcome!
[ "https://github.com/pydata/xarray/commit/b2762308c29443d3019c0b9e574994ad6dc64f6c", "https://github.com/pydata/xarray/commit/d149ef1a226389dd38dc81539c5039218c18e479", "https://github.com/pydata/xarray/commit/ee64fd0322a67fa4509ab27b000d467253f07bbc", "https://github.com/pydata/xarray/commit/dcd13839030bc19eb...
2023-02-04T22:01:30
2023.02
Python
pydata/xarray
5,873
pydata__xarray-5873
[ 2511, 4276, 4663 ]
49ae0f8dd39e8fc59ed3476f50b9938bbb40d0c4
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 0266b2dc0f5..1dcdd25ccea 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -25,6 +25,9 @@ New Features - Fix :py:meth:`xr.cov` and :py:meth:`xr.corr` now support complex valued arrays (:issue:`7340`, :pull:`7392`). By `Michael Niklas <https://githu...
diff --git a/xarray/tests/test_dask.py b/xarray/tests/test_dask.py index 52a41035faf..21f0ab93d78 100644 --- a/xarray/tests/test_dask.py +++ b/xarray/tests/test_dask.py @@ -123,14 +123,15 @@ def test_indexing(self): (da.array([99, 99, 3, 99]), [0, -1, 1]), (da.array([99, 99, 99, 4]), np.arange...
Array indexing with dask arrays #### Code example ```python da = xr.DataArray(np.ones((10, 10))).chunk(2) indc = xr.DataArray(np.random.randint(0, 9, 10)).chunk(2) # This fails: da[{'dim_1' : indc}].values ``` #### Problem description Indexing with chunked arrays fails, whereas it's fine with "normal" array...
For reference, here's the current stacktrace/error message: ```python-traceback --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-7-74fe4ba70f9d> in <module>() ----> 1 da[{'dim_1' : indc}] /usr/l...
For reference, here's the current stacktrace/error message: ```python-traceback --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-7-74fe4ba70f9d> in <module>() ----> 1 da[{'dim_1' : indc}] /usr/l...
[ "https://github.com/pydata/xarray/commit/bc4271c2bf48a4ec5a5ee1d285da7ac593427a36", "https://github.com/pydata/xarray/commit/73696e9529ba0cc48effe349e6564d3f62948b26", "https://github.com/pydata/xarray/commit/fad434808515d448e4bc92577fd1a4d7532f6668", "https://github.com/pydata/xarray/commit/7dadbf29b2f436428...
2021-10-18T07:56:58
2023.03
Python
pydata/xarray
7,862
pydata__xarray-7862
[ 7328 ]
99f95591dcaafb6a5f538700c25a8c52e8a39812
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 420b6c55d56..59f910911f1 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -50,6 +50,8 @@ Bug fixes By `Mattia Almansi <https://github.com/malmans2>`_. - Don't call ``CachingFileManager.__del__`` on interpreter shutdown (:issue:`7814`, :pull:`7880`). ...
diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index 190adab3d19..e0a2262a339 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -46,6 +46,7 @@ ) from xarray.backends.pydap_ import PydapDataStore from xarray.backends.scipy_ import ScipyBackendEntrypoint +fro...
Zarr store array dtype changes for empty object string ### What happened? Saving a dataset with an empty object (string) variable to zarr changes the dtype to float64. ### What did you expect to happen? The dtype should remain as `O`, just as it does for non-empty object variables. ### Minimal Complete Verifiable E...
This behaviour stems from this part of `_infer_dtype` where empty object arrays are converted to float arrays: https://github.com/pydata/xarray/blob/3aa75c8d00a4a2d4acf10d80f76b937cadb666b7/xarray/conventions.py#L156-L157 Is there any reason we couldn't `return strings.create_vlen_dtype(str)` instead?
This behaviour stems from this part of `_infer_dtype` where empty object arrays are converted to float arrays: https://github.com/pydata/xarray/blob/3aa75c8d00a4a2d4acf10d80f76b937cadb666b7/xarray/conventions.py#L156-L157 Is there any reason we couldn't `return strings.create_vlen_dtype(str)` instead? @tomwhite S...
[ "https://github.com/pydata/xarray/commit/74dd88c75124164e855a0c0099e7af5b4868f0b0", "https://github.com/pydata/xarray/commit/8238000ea0d42963e4ff6da072d0ea530dd8b197", "https://github.com/pydata/xarray/commit/61ada468e09554d130bd07cd931c1e70b1192105", "https://github.com/pydata/xarray/commit/b7d4cf506953cea00...
2023-05-22T16:41:11
2023.06
Python
HypothesisWorks/hypothesis
3,738
HypothesisWorks__hypothesis-3738
[ 3737 ]
2040b09fa63818ee825c6480cba84532c1d86113
diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..e187f5954f --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,6 @@ +RELEASE_TYPE: patch + +This patch improves the documentation of :obj:`@example(...).xfail() <hypothesis.example.xfail>` +by addi...
diff --git a/hypothesis-python/tests/cover/test_example.py b/hypothesis-python/tests/cover/test_example.py index 2a40476716..02dc718ab7 100644 --- a/hypothesis-python/tests/cover/test_example.py +++ b/hypothesis-python/tests/cover/test_example.py @@ -18,6 +18,7 @@ from hypothesis import example, find, given, strategie...
example.xfail() defaults don't match pytest's defaults, no option to set strict parameter Caveat: I'm new to both `pytest` and `hypothesis`. As such, it's possible that this is the expected behaviour, but it is simply unintuitive to me. So far my searches in issues and documentation have not yielded any meaningful resu...
Some extra information: If I add the ` --hypothesis-verbosity=verbose` to my command above, explicitly: ```bash rm -rf .hypothesis/ .pytest_cache/ __pycache__/ && pytest --hypothesis-verbosity=verbose ``` I see the following output related to `test_zero_hy`: ``` -----------------------Hypothesis---------...
Some extra information: If I add the ` --hypothesis-verbosity=verbose` to my command above, explicitly: ```bash rm -rf .hypothesis/ .pytest_cache/ __pycache__/ && pytest --hypothesis-verbosity=verbose ``` I see the following output related to `test_zero_hy`: ``` -----------------------Hypothesis---------...
[ "https://github.com/HypothesisWorks/hypothesis/commit/8a2ff995b824d7de7b7f69c77479ca6a74a28e9b", "https://github.com/HypothesisWorks/hypothesis/commit/c4b27f5b8715fdabce670b81dce20cadcd71f201", "https://github.com/HypothesisWorks/hypothesis/commit/4825e4498039a6cc67fdfca17b6ba64803ecdac1", "https://github.com...
2023-09-12T14:25:24
0.0
Python
HypothesisWorks/hypothesis
3,730
HypothesisWorks__hypothesis-3730
[ 3731 ]
a173366cc6c00f68c9b0a23aee6c44b97b8f1a85
diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..c75d34d13d --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,13 @@ +RELEASE_TYPE: minor + +The :func:`~hypothesis.strategies.from_regex` strategy now takes an optional +``alphabet=characters(code...
diff --git a/hypothesis-python/tests/cover/test_charmap.py b/hypothesis-python/tests/cover/test_charmap.py index fe45fefb5e..48ebd97c84 100644 --- a/hypothesis-python/tests/cover/test_charmap.py +++ b/hypothesis-python/tests/cover/test_charmap.py @@ -16,6 +16,7 @@ from hypothesis import assume, given, strategies as ...
AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters' with 6.83.1 With the introduction of 6.83.1 my tests have started failing in CI with: ``` AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'. Did you mean: '_deferred_type_pprinters'? ``` This seem...
I noticed that earlier today and will fix in https://github.com/HypothesisWorks/hypothesis/pull/3730 shortly 🙂
[ "https://github.com/HypothesisWorks/hypothesis/commit/91cf858f67111316441513958c1ca34b794bf9c3", "https://github.com/HypothesisWorks/hypothesis/commit/c0a60d7e47d9b10d071c881feab19aedda3c4a66", "https://github.com/HypothesisWorks/hypothesis/commit/8ca6c3423640405afc1650f9cf5ff63a8ba61f80", "https://github.com...
2023-09-04T01:56:38
0.0
Python
HypothesisWorks/hypothesis
4,349
HypothesisWorks__hypothesis-4349
[ 4339 ]
f79c48fe981346a2c3484ac4c7b4177a0b7362e4
diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..e48ecb614a --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,3 @@ +RELEASE_TYPE: patch + +Fix the caching behavior of |st.sampled_from|, which in rare cases led to failing an internal assertion (...
diff --git a/hypothesis-python/tests/nocover/test_labels.py b/hypothesis-python/tests/nocover/test_labels.py index 20de4aa41c..acdd15a694 100644 --- a/hypothesis-python/tests/nocover/test_labels.py +++ b/hypothesis-python/tests/nocover/test_labels.py @@ -8,6 +8,8 @@ # v. 2.0. If a copy of the MPL was not distributed w...
Shrinker.explain() raises internal assertion I'm experiencing internal assertion errors from the shrinker. I am using hypothesis 6.130.8 on Linux installed from PYPI. ``` [2025-04-02T17:10:43.319Z] # Turns out this was a variable-length part, so grab the infix... [2025-04-02T17:10:43.319Z] ...
So far, I have been able to reduce my reproducer script of this error (😆 I'm the shrinker finding an error in the shrinker) to the above. My current guess is that the error is caused by use of the `one_of(none(), ...)`. Hmm, that's not reproducing for me. (but I'm pretty sure that's happening during [the `explain` ph...
So far, I have been able to reduce my reproducer script of this error (😆 I'm the shrinker finding an error in the shrinker) to the above. My current guess is that the error is caused by use of the `one_of(none(), ...)`. Hmm, that's not reproducing for me. (but I'm pretty sure that's happening during [the `explain` ph...
[ "https://github.com/HypothesisWorks/hypothesis/commit/a1fd568e5c2b0c4b74670e1822589b7af4285aae", "https://github.com/HypothesisWorks/hypothesis/commit/f25cffd531853e13b61c2f5bba9591334a22d1af", "https://github.com/HypothesisWorks/hypothesis/commit/8d8c3008ae73e59c7409b811ec5e17cfe4dcf2bb" ]
2025-04-07T23:25:35
0.0
Python
HypothesisWorks/hypothesis
3,882
HypothesisWorks__hypothesis-3882
[ 3880 ]
56319cb80f2b1df9d0776aa73a0696ff6db19df7
diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..c6b816b133 --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,5 @@ +RELEASE_TYPE: patch + +This patch improves argument-to-json conversion for :doc:`observability <observability>` +output. Checki...
diff --git a/hypothesis-python/tests/cover/test_searchstrategy.py b/hypothesis-python/tests/cover/test_searchstrategy.py index d11a1bdc83..e545cb185a 100644 --- a/hypothesis-python/tests/cover/test_searchstrategy.py +++ b/hypothesis-python/tests/cover/test_searchstrategy.py @@ -160,3 +160,16 @@ def test_jsonable_very_l...
Can we consider optionally disabling automatic repr-printing and jsonification when `TESTCASE_CALLBACKS` are present? Thanks for Hypothesis, it's awesome! I have a REPL set up for continuously testing the program I'm working on using some hypothesis tests. The inputs are fairly large dataclasses that are unfortunate...
I'd prefer not to add another config option, but would be happy to shift the `.to_json()` check to before the attrs/dataclasses/pydantic block in `to_jsonable()`. PR welcome for that! You can also improve the interaction with pretty-printing downstream; we support [the IPython protocol](https://ipython.readthedocs....
I'd prefer not to add another config option, but would be happy to shift the `.to_json()` check to before the attrs/dataclasses/pydantic block in `to_jsonable()`. PR welcome for that! You can also improve the interaction with pretty-printing downstream; we support [the IPython protocol](https://ipython.readthedocs....
[ "https://github.com/HypothesisWorks/hypothesis/commit/3f0f2a91fdbd7b9d061817d877d4031cb794cad3", "https://github.com/HypothesisWorks/hypothesis/commit/ada2a5238258d07d1383abc8ee115f58c11a3088", "https://github.com/HypothesisWorks/hypothesis/commit/daba2d5b4cf7375366013943563ac49bb9be9b31" ]
2024-02-14T02:52:16
0.0
Python
HypothesisWorks/hypothesis
3,908
HypothesisWorks__hypothesis-3908
[ 3904 ]
90417892c55c21da0b95b24e5d2a0be42b40e593
diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..538c781a65 --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,3 @@ +RELEASE_TYPE: patch + +This patch implements type annotations for :func:`~hypothesis.extra.pandas.column`. diff --git a/hypothes...
diff --git a/hypothesis-python/tests/cover/test_database_backend.py b/hypothesis-python/tests/cover/test_database_backend.py index 9efe46eed1..703a00a6b8 100644 --- a/hypothesis-python/tests/cover/test_database_backend.py +++ b/hypothesis-python/tests/cover/test_database_backend.py @@ -63,29 +63,23 @@ def test_default_...
Some type annotations for `hypothesis.extra.pandas` are missing Describe the bug `pyright` raises an error for `hypothesis.extra.pandas.column`: `No parameter named "name" (reportCallIssue)`. Code or Screenshots ```python from hypothesis.extra.pandas import column foo = column(name="bar") ``` Discussed ...
I'd be happy to review a PR for this if you'd like to contribute one! Otherwise, someone will probably volunteer in the next few weeks 🙂
I'd be happy to review a PR for this if you'd like to contribute one! Otherwise, someone will probably volunteer in the next few weeks 🙂
[ "https://github.com/HypothesisWorks/hypothesis/commit/547b8e98ce22b37e44394b051d51f8c6907beed5", "https://github.com/HypothesisWorks/hypothesis/commit/2e1fc8be1c49920d72460c4f82690f3a5c9479f1", "https://github.com/HypothesisWorks/hypothesis/commit/750be8296cbde165a7345416425e484753a5bcf5", "https://github.com...
2024-03-03T21:13:16
0.0
Python
VOICEVOX/voicevox_engine
1,113
VOICEVOX__voicevox_engine-1113
[ 1092 ]
1e2578da95801d4300881ff6f06af44667e5c1a0
diff --git a/README.md b/README.md index 36d91429d..07a1149b7 100644 --- a/README.md +++ b/README.md @@ -434,7 +434,7 @@ python run.py --output_log_utf8 #### CPU スレッド数を指定する -CPU スレッド数が未指定の場合は、論理コア数の半分か物理コア数が使われます。(殆どの CPU で、これは全体の処理能力の半分です) +CPU スレッド数が未指定の場合は、論理コア数の半分が使われます。(殆どの CPU で、これは全体の処理能力の半分です) もし IaaS...
diff --git a/test/test_core_utility.py b/test/test_core_utility.py new file mode 100644 index 000000000..a00f7d5b1 --- /dev/null +++ b/test/test_core_utility.py @@ -0,0 +1,18 @@ +from unittest import TestCase +from unittest.mock import patch + +from voicevox_engine.utility.core_utility import get_half_logical_cores + +...
`cpu_num_threads`が未指定または0の場合に、論理コア数の半分をコアに渡すようにする ## 内容 現在、`cpu_num_threads`はコア([VOICEVOX CORE](https://github.com/VOICEVOX/voicevox_core))にそのまま渡されていて(たぶん)、「`cpu_num_threads`が未指定または0」の場合にどうなるかはコアの実装依存です。 そして現在のコアの実装は、「`cpu_num_threads`が未指定または0」の場合に物理コア数が使用されるようになっていて、一部のCPUでCPUのすべてのコアが使用されるので、[論理コア数の半分が使用されるようにする...
## 前提: `README.md` の関連記述 ``` --cpu_num_threads CPU_NUM_THREADS 音声合成を行うスレッド数です。指定しないと、代わりに環境変数VV_CPU_NUM_THREADSの値が使われます。VV_CPU_NUM_THREADSが空文字列でなく数値でもない場合はエラー終了します。 #### CPU スレッド数を指定する CPU スレッド数が未指定の場合は、論理コア数の半分か物理コア数が使われます。(殆どの CPU で、これは全体の処理能力の半分です) もし IaaS 上で実行していたり、専用サーバーで実行してい...
## 前提: `README.md` の関連記述 ``` --cpu_num_threads CPU_NUM_THREADS 音声合成を行うスレッド数です。指定しないと、代わりに環境変数VV_CPU_NUM_THREADSの値が使われます。VV_CPU_NUM_THREADSが空文字列でなく数値でもない場合はエラー終了します。 #### CPU スレッド数を指定する CPU スレッド数が未指定の場合は、論理コア数の半分か物理コア数が使われます。(殆どの CPU で、これは全体の処理能力の半分です) もし IaaS 上で実行していたり、専用サーバーで実行してい...
[ "https://github.com/VOICEVOX/voicevox_engine/commit/a976b540fb7717d9ad6345cad0285f91424d516e", "https://github.com/VOICEVOX/voicevox_engine/commit/ee3a53003e0b1d136d8ffbb75d2fdfaad81c9b32", "https://github.com/VOICEVOX/voicevox_engine/commit/422eea3a7235d928e7fe9a7fd2af846ab437e4da", "https://github.com/VOICE...
2024-03-08T08:41:43
0.17
Python
VOICEVOX/voicevox_engine
895
VOICEVOX__voicevox_engine-895
[ 571 ]
9b96d207d125d6c2de34e2a301ef97c4bd8bd9bc
diff --git a/README.md b/README.md index 2c4da3ff5..0c54b115a 100644 --- a/README.md +++ b/README.md @@ -319,6 +319,10 @@ VOICEVOX ではセキュリティ保護のため`localhost`・`127.0.0.1`・`app 3. 保存ボタンを押して、変更を確定してください。 4. 設定の適用にはエンジンの再起動が必要です。必要に応じて再起動をしてください。 +### データを変更する API を無効化する + +実行時引数`--disable_mutable_api`か環境変数`VV_DISABLE_MU...
diff --git a/test/e2e/conftest.py b/test/e2e/conftest.py index 3f2b158e8..b635cd998 100644 --- a/test/e2e/conftest.py +++ b/test/e2e/conftest.py @@ -26,20 +26,22 @@ def snapshot_json(snapshot: SnapshotAssertion): @pytest.fixture(scope="session") -def client(): +def app_params(): synthesis_engines, cores = mak...
書き込み系のAPIを起動引数および環境変数によって一括で無効化できるようにする ## 内容 エンジンの設定を変更するAPIが増えてきました。 - ユーザ辞書 - プリセット #523 - Web UIのCORS設定 #531 - (議論中)音声ライブラリダウンロード #536 複数のクライアント(利用者)が同居するエンジンや、設定の変更を永続化していないエンジンでは、APIを介して設定を変更できないようにすることが望ましいと思います。 エンジンを読み取り専用モードにする起動引数・環境変数を追加したいです。 <!-- ここに要望する機能を記載してください --> <!-- その機能が必要な理由や、...
issue作成ありがとうございます!! こちらぜひ検討したいですね!! デフォルトの挙動はもしかしたら設定操作系APIオフの方がいいのではと感じました。 もしこの方針なら、初期実装になるrelease-0.14内で対処したいです。 ちょっとお知恵を借りたく! @aoirint @takana-v @y-chan 辞書や設定変更など、操作できる系APIをデフォルトで無効にしようか考えています。 そもそもそうすべきか、また辞書は仕様変更になるが大丈夫かを検討したいのですが、どう思われますか👀 ローカル起動の時は変なリクエスト弾いてくれるので問題なさそうですが、サーバー起動時はちょっと危ないなと思ってます。 遅くなりました......
issue作成ありがとうございます!! こちらぜひ検討したいですね!! デフォルトの挙動はもしかしたら設定操作系APIオフの方がいいのではと感じました。 もしこの方針なら、初期実装になるrelease-0.14内で対処したいです。 ちょっとお知恵を借りたく! @aoirint @takana-v @y-chan 辞書や設定変更など、操作できる系APIをデフォルトで無効にしようか考えています。 そもそもそうすべきか、また辞書は仕様変更になるが大丈夫かを検討したいのですが、どう思われますか👀 ローカル起動の時は変なリクエスト弾いてくれるので問題なさそうですが、サーバー起動時はちょっと危ないなと思ってます。 遅くなりました......
[ "https://github.com/VOICEVOX/voicevox_engine/commit/049cb950a4895069c48f64bf951f26d175b9d503", "https://github.com/VOICEVOX/voicevox_engine/commit/bf7e06802045305b497b033cbf7d3e122e4d48c8", "https://github.com/VOICEVOX/voicevox_engine/commit/4169ba6a9061ea879d393554855dff7d42060334", "https://github.com/VOICE...
2023-12-17T20:58:43
0.15
Python
VOICEVOX/voicevox_engine
1,049
VOICEVOX__voicevox_engine-1049
[ 1044 ]
374e54fa43afbf607027711c75159c0cf430e9d3
diff --git a/voicevox_engine/core/core_wrapper.py b/voicevox_engine/core/core_wrapper.py index d8fb10f7f..5426c9750 100644 --- a/voicevox_engine/core/core_wrapper.py +++ b/voicevox_engine/core/core_wrapper.py @@ -763,17 +763,17 @@ def predict_sing_f0_forward( Parameters ---------- length : in...
diff --git a/test/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_from_score_output[query].json b/test/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_from_score_output[query].json new file mode 100644 index 000000000..ed97c822c --- /dev/null +++ b/test/tts_pipeline/__snaps...
add: コア Song モック ## 内容 要望概要: コアに Song 関連モックを追加 最近追加された Song 機能はリファクタリングの余地を残しており、また、安定性担保のためにテストが求められている (#1032, [#1041_comment](https://github.com/VOICEVOX/voicevox_engine/pull/1041#pullrequestreview-1861179261))。 しかし前提としてコアの Song 系メソッドにモックが必要であり、現状リファクタリングとテストが実装不可能である。 コア実装はプロプライエタリであるため、妥当なモック設計はメンテナさんの...
[ "https://github.com/VOICEVOX/voicevox_engine/commit/599edaa7d032b1c853c5a22dab37a9f829c4884d", "https://github.com/VOICEVOX/voicevox_engine/commit/3a2407ca2b3f64ca25546e35fe031308e7543d0e", "https://github.com/VOICEVOX/voicevox_engine/commit/ead44a4ab155b1aa7308f0779c31d37c98a825c0", "https://github.com/VOICE...
2024-02-04T14:53:31
0.16
Python
VOICEVOX/voicevox_engine
1,460
VOICEVOX__voicevox_engine-1460
[ 1457 ]
3c247dca781e64cde831b4acc30c9c7fe84fd358
diff --git a/voicevox_engine/tts_pipeline/model.py b/voicevox_engine/tts_pipeline/model.py index dde8b7631..542b859a4 100644 --- a/voicevox_engine/tts_pipeline/model.py +++ b/voicevox_engine/tts_pipeline/model.py @@ -5,10 +5,13 @@ """ from enum import Enum +from typing import NewType from pydantic import BaseMod...
diff --git "a/test/e2e/__snapshots__/test_openapi/test_OpenAPI\343\201\256\345\275\242\343\201\214\345\244\211\343\202\217\343\201\243\343\201\246\343\201\204\343\201\252\343\201\204\343\201\223\343\201\250\343\202\222\347\242\272\350\252\215.json" "b/test/e2e/__snapshots__/test_openapi/test_OpenAPI\343\201\256\345\275...
ソング:ノートごとに ID を持たせ、音素と対応づける ## 内容 どの音素がどのノートと対応しているかがないと、UI も大変だし、エンジンにリクエストを再度送る時に対応が取れなくなったりと色々問題が生じます。 今は母音の開始位置とノートの開始位置が同じであるという制約があるのでなんとか対応は取れなくはないですが、将来的に音素の位置を移動するとわからなくなるはずです。 API が返すノートごとに ID を生成し、API が返す 音素にも対応するノート ID を付与するようにしたいです。 ↓でちょこっと言及されている点です。 - https://github.com/VOICEVOX/voicevox_eng...
これ、noteIdをnullableにすると結構エディタ側のコーディングしやすさに影響ありそうですね。。。 どうしようかな・・・。 まだソング系のマルチエンジンはない・保存されているクエリーはVOICEVOXエディタ以外にない、とするのであれば割と破壊的変更はやっても良さそう。 でも一応正式リリースしているし、ポンポン破壊的変更するのもよくなさそう・・・・・・。 まーーーーーーーnullableかなぁ。。。。 とりあえず相談したくメンテナ共有です 🙇 @y-chan idをnullableにするとき、エンジン側のバリデーション処理が結構複雑になるかなと思ったんですが、そもそもバリエーションを一切しない方...
これ、noteIdをnullableにすると結構エディタ側のコーディングしやすさに影響ありそうですね。。。 どうしようかな・・・。 まだソング系のマルチエンジンはない・保存されているクエリーはVOICEVOXエディタ以外にない、とするのであれば割と破壊的変更はやっても良さそう。 でも一応正式リリースしているし、ポンポン破壊的変更するのもよくなさそう・・・・・・。 まーーーーーーーnullableかなぁ。。。。 とりあえず相談したくメンテナ共有です 🙇 @y-chan idをnullableにするとき、エンジン側のバリデーション処理が結構複雑になるかなと思ったんですが、そもそもバリエーションを一切しない方...
[ "https://github.com/VOICEVOX/voicevox_engine/commit/fbc13b8e3eafd5cd265da20ebf440f96337ec308", "https://github.com/VOICEVOX/voicevox_engine/commit/45408c1d34a756398817c7f5f43d38c7405e3405", "https://github.com/VOICEVOX/voicevox_engine/commit/d505ef73ba11cfc4459fbf4b8bb2bf55915ca468", "https://github.com/VOICE...
2024-08-17T15:42:47
0.20
Python
VOICEVOX/voicevox_engine
1,583
VOICEVOX__voicevox_engine-1583
[ 1575 ]
5ab89bde54103da7cb8df11c9a17720b07f89d04
diff --git a/pyproject.toml b/pyproject.toml index 14d601f73..afa49b12c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ target-version = "py311" [tool.ruff.lint] -select = ["E", "F", "B", "I", "W"] +select = ["E", "F", "B", "I", "W", "UP"] ignore = [ "E501", # line-too-long "B9" # TODO: 一...
diff --git a/test/benchmark/speed/character.py b/test/benchmark/speed/character.py index b10fd2045..540cd118f 100644 --- a/test/benchmark/speed/character.py +++ b/test/benchmark/speed/character.py @@ -80,13 +80,13 @@ def execute() -> None: result_speakers_fakeserve = benchmark_get_speakers("fake", root_dir) ...
pyproject.tomlのtool.ruff.lintのselectにUPを追加する ## 内容 ruffのルールにおいて、Pythonのバージョンアップに合わせた正しい書き方を促す「UP」チェックの追加したいです。 UPルール https://docs.astral.sh/ruff/rules/#pyupgrade-up huggingfaceとかfastapiとかも採用しているし、新しい書き方と古い書き方がまじるのはなんかあれなので、適用したいなーと・・・! ### Pros 良くなる点 - 最新の推奨書式に準拠したコードになる - 古い書き方や非推奨の記法が明確に検出される ### Cons 悪くなる点 特...
[ "https://github.com/VOICEVOX/voicevox_engine/commit/3430e15958832754ccb6b12c3b5657445a289383", "https://github.com/VOICEVOX/voicevox_engine/commit/3dce205034f4805b9ad3d44c519741d97ad163aa", "https://github.com/VOICEVOX/voicevox_engine/commit/5108c0e90f5c599a20bc47b3f0e80ab74c1c7dd1", "https://github.com/VOICE...
2025-04-02T08:32:23
0.24
Python
Azure/azure-cli
6,266
Azure__azure-cli-6266
[ 26348 ]
02982d3fe73aec9f94765cb784c7491a1e7f4569
diff --git a/privates/azure_mgmt_containerregistry-2.0.0-py2.py3-none-any.whl b/privates/azure_mgmt_containerregistry-2.0.0-py2.py3-none-any.whl deleted file mode 100644 index 038c69c8132..00000000000 Binary files a/privates/azure_mgmt_containerregistry-2.0.0-py2.py3-none-any.whl and /dev/null differ diff --git a/src/c...
diff --git a/src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_build_task.yaml b/src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_build_task.yaml index 6b5ffb33c38..b256f0f2160 100644 --- a/src/command_modules/a...
`rule-file` parameter documentation incomplete The parameter `--rule-file` of the command `az monitor data-collection rule create` is documented poorly: the format is not described anywhere, there's no example given, and it's unclear how to prepare such a file. The current documentation > The json file for rul...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it. Hi @otto-gebb , currently doc does not have parameter example, however the input example of `--rule-file` for `az monitor data-collection rule create` has been added in help message. Users can run `az monito...
[ "https://github.com/Azure/azure-cli/commit/33cac7156dae7eee4785059f7eb0b80cdd834e27", "https://github.com/Azure/azure-cli/commit/204be0159582f3c51008cc1831089b55af3b5792" ]
2018-04-30T19:44:18
2.0
Python
Azure/azure-cli
30,587
Azure__azure-cli-30587
[ 30579 ]
5103af82ff1da64722e6a8fe977385848c523b0c
diff --git a/src/azure-cli/azure/cli/command_modules/role/_params.py b/src/azure-cli/azure/cli/command_modules/role/_params.py index 8097a588d74..7f97b2ba2d7 100644 --- a/src/azure-cli/azure/cli/command_modules/role/_params.py +++ b/src/azure-cli/azure/cli/command_modules/role/_params.py @@ -372,4 +372,5 @@ class Princ...
diff --git a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_built_in_role_definition_scenario.yaml b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_built_in_role_definition_scenario.yaml new file mode 100644 index 00000000000..6662773d6f5 --- /dev/null +++ b/src/azu...
Use `roleName` filter to limit the results returned by `az role definition list --name` **Related command** Any role definition list operation that filters by name, e.g.: `az role definition list --name "Contributor"` **Is your feature request related to a problem? Please describe.** The call to the resource manage...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it. I guess downloading it once for all the role types might be more efficient if you take into account caching. Was just a curiosity i spotted when doing some testing. @kewalaka, you have sharp eyes! The role...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it. I guess downloading it once for all the role types might be more efficient if you take into account caching. Was just a curiosity i spotted when doing some testing. @kewalaka, you have sharp eyes! The role...
[ "https://github.com/Azure/azure-cli/commit/05593c63ed4cb08a69f42020e0ab204a91eeb76b" ]
2024-12-27T09:22:05
2.3
Python
Azure/azure-cli
7,141
Azure__azure-cli-7141
[ 25994 ]
b06283517823045e2858f1b490224759580865a2
diff --git a/src/command_modules/azure-cli-batch/HISTORY.rst b/src/command_modules/azure-cli-batch/HISTORY.rst index 9ca26dfa68b..add2b1f64b5 100644 --- a/src/command_modules/azure-cli-batch/HISTORY.rst +++ b/src/command_modules/azure-cli-batch/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +3.3.4 +++...
diff --git a/src/command_modules/azure-cli-batch/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_account_cmd.yaml b/src/command_modules/azure-cli-batch/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_account_cmd.yaml index 38413436fcd..2e56384764c 100644 --- a/src/command_modules/a...
Add support for Azure workbooks in Az CLI Request to add support for Azure workbooks in Az CLI **Related command** az monitor workbook **Is your feature request related to a problem? Please describe.** No, it's a new set of sub verbs. **Describe the solution you'd like** The idea is have CURD operation fo...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it. Hi @syedhamjath azure cli cmd can be generated using CodeGenv2. For more infos, please refer to https://github.com/Azure/aaz-dev-tools or codeGenv2 team channel Hi @syedhamjath about adding the `workbooks`...
[ "https://github.com/Azure/azure-cli/commit/4c94ba504288362fb5c5eaf7c21abd2120189e80" ]
2018-08-24T19:34:46
2.0
Python
Azure/azure-cli
31,289
Azure__azure-cli-31289
[ 29064 ]
11f6022073c06dfd93cdbbe55e99c2ba0ee8bba0
diff --git a/src/azure-cli/azure/cli/command_modules/network/_params.py b/src/azure-cli/azure/cli/command_modules/network/_params.py index 38c4eef08a5..c65a0164b30 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -226,7 +226,7 @@...
diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_policy_managed_rules.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_policy_managed_rules.yaml index 4dde35ba8cd..67218094215 100644 --- a/src/azu...
azure cli does not support Microsoft_DefaultSet_2.1 for application gateway firewall policy ### Describe the bug bug is captured here - https://portal.microsofticm.com/imp/v3/incidents/details/508049772/home az network application-gateway waf-policy managed-rule rule-set update: 'Microsoft_DefaultRuleSet' is not a ...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it.
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it.
[ "https://github.com/Azure/azure-cli/commit/b0c4bb7a1ecbb98925801041ccdd20ff47b20981", "https://github.com/Azure/azure-cli/commit/59944523532f11f2b6a5d562e5e7cf7c87d87710" ]
2025-04-17T06:01:30
2.3
Python
Azure/azure-cli
31,153
Azure__azure-cli-31153
[ 31130 ]
919923cc9e361d9e23c5a363c1d79a0baed8cecd
diff --git a/src/azure-cli/azure/cli/command_modules/acr/_utils.py b/src/azure-cli/azure/cli/command_modules/acr/_utils.py index 5f0bd739e65..575dc44bb99 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/_utils.py +++ b/src/azure-cli/azure/cli/command_modules/acr/_utils.py @@ -248,8 +248,11 @@ def get_yaml_templ...
diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_task.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_task.yaml index cce87325e74..6f67d4dfc35 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_task.yaml ...
ACR task will append one extra line to the manifest ### Describe the bug The line version: v1.1.0 will be added as 1st line no matter what. Steps to reproduce the behavior: Prepare a task manifest Attach it when creating ACR task az acr task show -n webapptask -r $cR --query step.encodedTaskContent -o tsv | base64 ...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it. Here is the original issue: https://github.com/Azure/acr/issues/825 Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @toddysm, @luisdlp, @northtyphoon, @terencet-dev. <!...
<!-- thank-you-comment: do not delete/edit this line --> Thank you for opening this issue, we will look into it. Here is the original issue: https://github.com/Azure/acr/issues/825 Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @toddysm, @luisdlp, @northtyphoon, @terencet-dev. <!...
[ "https://github.com/Azure/azure-cli/commit/0d36070b1a475578bf6bed9da2f880c5a1891d22", "https://github.com/Azure/azure-cli/commit/800efa145424961dfdd83c639d9c56c51666ce41" ]
2025-03-28T13:58:42
2.3
Python
vyperlang/vyper
4,145
vyperlang__vyper-4145
[ 4092 ]
153262bfb690cdb3c367d5961c0b70a670a646a8
diff --git a/vyper/semantics/analysis/module.py b/vyper/semantics/analysis/module.py index d0b019db7a..d6bbea1b48 100644 --- a/vyper/semantics/analysis/module.py +++ b/vyper/semantics/analysis/module.py @@ -514,7 +514,8 @@ def visit_InitializesDecl(self, node): break if rhs is None: ...
diff --git a/tests/functional/syntax/modules/test_initializers.py b/tests/functional/syntax/modules/test_initializers.py index 624904e45f..ead0fbcf6b 100644 --- a/tests/functional/syntax/modules/test_initializers.py +++ b/tests/functional/syntax/modules/test_initializers.py @@ -1273,7 +1273,7 @@ def foo(): assert ...
initializer hint improvement ### Version Information * vyper Version (output of `vyper --version`): v0.4.0rc6 ### What's your issue about? when a module is not imported that needs to be initialized, the hint does not say where to find the module. e.g.: ``` InitializerException: `base_token` uses `ownable`, b...
[ "https://github.com/vyperlang/vyper/commit/76071d346ed57d793e517435aab2aaf18fcc15ab", "https://github.com/vyperlang/vyper/commit/96386533db5c7b2d8ff2f558a41112e97e20b128", "https://github.com/vyperlang/vyper/commit/e67811c9fbd2011351524e30758f670e4f8a8131" ]
2024-06-13T11:26:10
0.4
Python
vyperlang/vyper
3,375
vyperlang__vyper-3375
[ 3374 ]
0c7066ce7f83f3ff4917c0bb95b5d19ef04d4c64
diff --git a/vyper/ast/metadata.py b/vyper/ast/metadata.py new file mode 100644 index 0000000000..30e06e0016 --- /dev/null +++ b/vyper/ast/metadata.py @@ -0,0 +1,80 @@ +import contextlib +from typing import Any + +from vyper.exceptions import VyperException + + +# a commit/rollback scheme for metadata caching. in the c...
diff --git a/tests/functional/semantics/analysis/test_for_loop.py b/tests/functional/semantics/analysis/test_for_loop.py index 13f309181f..71e38d253c 100644 --- a/tests/functional/semantics/analysis/test_for_loop.py +++ b/tests/functional/semantics/analysis/test_for_loop.py @@ -1,7 +1,7 @@ import pytest from vyper....
typechecker state committer has incorrect behavior for nested loops ### Version Information ### What's your issue about? per @trocher - as of https://github.com/vyperlang/vyper/commit/66930fdfc396a883049c512290260818aa69ab9a, this does not compile: ```vyper @external def foo(): for i in [1]: a:ui...
fixed in #3375, see: https://github.com/vyperlang/vyper/blob/7c3cf61665ddc3abb2432f84868b3b6da2be80dd/tests/functional/semantics/analysis/test_for_loop.py#L104-L142
[ "https://github.com/vyperlang/vyper/commit/19457cfd3572e0e87debbc049931d62957daba24", "https://github.com/vyperlang/vyper/commit/75ad79bb81e8fb9a0addd44eb237384766d66172", "https://github.com/vyperlang/vyper/commit/1e924ae6ba1548f723dfa42e505a0fde331042a8", "https://github.com/vyperlang/vyper/commit/1f765fe9a...
2023-04-29T01:36:06
0.3
Python
vyperlang/vyper
3,777
vyperlang__vyper-3777
[ 2381 ]
1fc819c317021b4acf3fcabb0b831cf946aef2bd
diff --git a/examples/auctions/blind_auction.vy b/examples/auctions/blind_auction.vy index 966565138f..143206ccb4 100644 --- a/examples/auctions/blind_auction.vy +++ b/examples/auctions/blind_auction.vy @@ -69,10 +69,10 @@ def bid(_blindedBid: bytes32): assert numBids < MAX_BIDS # Add bid to mapping of all ...
diff --git a/tests/functional/builtins/codegen/test_abi.py b/tests/functional/builtins/codegen/test_abi.py index 335f728a37..403ad6fc9a 100644 --- a/tests/functional/builtins/codegen/test_abi.py +++ b/tests/functional/builtins/codegen/test_abi.py @@ -112,8 +112,8 @@ def test_nested_struct(type, abi_type): @external d...
VIP: Convert Struct construction to use kwargs ## Simple Summary Add less overhead and improve type safety of creating a struct ## Motivation Currently, to create a struct it takes a lot of overhead because of the use of modified dict syntax: ```python struct MyStruct: a: address b: bytes32 c: boo...
Note: we should do the same with Event logs I like the idea of using the kwargs syntax, not so excited about default values and positional args (both increase the risk of misleading code IMO). > I like the idea of using the kwargs syntax, not so excited about default values and positional args (both increase the risk o...
Note: we should do the same with Event logs I like the idea of using the kwargs syntax, not so excited about default values and positional args (both increase the risk of misleading code IMO). > I like the idea of using the kwargs syntax, not so excited about default values and positional args (both increase the risk o...
[ "https://github.com/vyperlang/vyper/commit/5d99596a580d5f0c23f85417029e6dfc9d2185e8", "https://github.com/vyperlang/vyper/commit/1d3fb6de05aac56bb441ac83f5efd33c3e908a1a", "https://github.com/vyperlang/vyper/commit/c48cec8a0dce800bc497fdc1f1450277197dcd33", "https://github.com/vyperlang/vyper/commit/15450ed5b...
2024-02-13T14:33:52
0.4
Python
vyperlang/vyper
3,303
vyperlang__vyper-3303
[ 3301 ]
dd4d0ccc794f34493933a76de7544ee82515d021
diff --git a/docs/built-in-functions.rst b/docs/built-in-functions.rst index f46d90c47c..bee9cd6190 100644 --- a/docs/built-in-functions.rst +++ b/docs/built-in-functions.rst @@ -910,7 +910,7 @@ Utilities Return a value which is the default (zero-ed) value of its type. Useful for initializing new memory variable...
diff --git a/tests/parser/functions/test_empty.py b/tests/parser/functions/test_empty.py index 14eeea72ad..d3b2a4d02b 100644 --- a/tests/parser/functions/test_empty.py +++ b/tests/parser/functions/test_empty.py @@ -691,3 +691,17 @@ def foo(): assert log.args.arg3 == 314159 assert log.args.arg4 == b"help" * 11...
The usage of `empty` is not prevented for mappings ### Version Information * vyper Version (output of `vyper --version`): 0.3.8+commit.7ff8f307 * OS: OSX * Python Version (output of `python --version`): 3.7.0 ### What's your issue about? Trying to use `empty` on a mapping type leads to a `TypeCheckFailure`. ...
[ "https://github.com/vyperlang/vyper/commit/c0f747ff3d0c1d1737ab275cd6a0db0d58f8e84e" ]
2023-02-27T16:42:08
0.3
Python
vyperlang/vyper
4,178
vyperlang__vyper-4178
[ 4169 ]
85269b0d9618ef7d2b95e3260b21bf4a9acf2784
diff --git a/vyper/semantics/analysis/module.py b/vyper/semantics/analysis/module.py index d6bbea1b48..d3de219c03 100644 --- a/vyper/semantics/analysis/module.py +++ b/vyper/semantics/analysis/module.py @@ -193,7 +193,7 @@ def __init__( self._imported_modules: dict[PurePath, vy_ast.VyperNode] = {} #...
diff --git a/tests/functional/codegen/test_interfaces.py b/tests/functional/codegen/test_interfaces.py index 9442362696..9ea0b58d89 100644 --- a/tests/functional/codegen/test_interfaces.py +++ b/tests/functional/codegen/test_interfaces.py @@ -695,3 +695,34 @@ def test_call(a: address, b: {type_str}) -> {type_str}: ...
Panic on expected interface method implemented as internal. ### Version Information * vyper Version: 0.4.1+commit.f92ef414a ### What's your issue about? Given an interface file `foo.vyi` ```vyper @external def bar(): ... ``` if the interface is imported and implemented in a module: ```vyper impor...
we should really not require any visibility modifier in `.vyi` files (everything is external)
we should really not require any visibility modifier in `.vyi` files (everything is external)
[ "https://github.com/vyperlang/vyper/commit/2b04b9e55b799ad0b9bf7c533cd0390c1b35881f", "https://github.com/vyperlang/vyper/commit/f5c1ce052101d1253845fd4bfc3a622a85867ba3", "https://github.com/vyperlang/vyper/commit/35abbb4a895f1267f30e0e37e08cbe7af6e5619b", "https://github.com/vyperlang/vyper/commit/278688c90...
2024-07-24T13:50:04
0.4
Python
isaac-sim/IsaacLab
385
isaac-sim__IsaacLab-385
[ 364 ]
440c57b4b8109c085e6a8799b7ae15dae60b8717
diff --git a/source/extensions/omni.isaac.orbit/config/extension.toml b/source/extensions/omni.isaac.orbit/config/extension.toml index c54650f8f8c..cbac53220b0 100644 --- a/source/extensions/omni.isaac.orbit/config/extension.toml +++ b/source/extensions/omni.isaac.orbit/config/extension.toml @@ -1,7 +1,7 @@ [package] ...
diff --git a/source/extensions/omni.isaac.orbit/test/sensors/test_contact_sensor.py b/source/extensions/omni.isaac.orbit/test/sensors/test_contact_sensor.py index 64bfced8899..6061f8c55ae 100644 --- a/source/extensions/omni.isaac.orbit/test/sensors/test_contact_sensor.py +++ b/source/extensions/omni.isaac.orbit/test/se...
[Question] Filtering contacts between bodies ### Question Currently, the contact sensor works well for checking the contact forces on various links using a prim path expression in the form of regex. For example, `ContactSensorCfg(prim_path="{ENV_REGEX_NS}/Robot/.*", history_length=3, track_air_time=True) ` I...
Unfortunately, the filtering reports work properly between one rigid body prim to many filter prim paths. So instead of providing: `"{ENV_REGEX_NS}/Robot/.*"`, you'll need to provide a specific body. For instance, `"{ENV_REGEX_NS}/Robot/RH_FOOT"`. I think the same holds for the filter prim paths (where you'd need to...
Unfortunately, the filtering reports work properly between one rigid body prim to many filter prim paths. So instead of providing: `"{ENV_REGEX_NS}/Robot/.*"`, you'll need to provide a specific body. For instance, `"{ENV_REGEX_NS}/Robot/RH_FOOT"`. I think the same holds for the filter prim paths (where you'd need to...
[ "https://github.com/isaac-sim/IsaacLab/commit/523f450b90ea371450070608413337e383681968", "https://github.com/isaac-sim/IsaacLab/commit/fca9eef4cb59d5a8141e4cc0453aef106edd387c", "https://github.com/isaac-sim/IsaacLab/commit/d283ad2f9ba7df1f911bc273549dcf1b5d22b182", "https://github.com/isaac-sim/IsaacLab/comm...
2024-04-26T14:53:53
0.3
Python
isaac-sim/IsaacLab
3,318
isaac-sim__IsaacLab-3318
[ 3266 ]
90dda53f7c08354b8c9ab3e509eae5b864a4040d
diff --git a/source/isaaclab/config/extension.toml b/source/isaaclab/config/extension.toml index fde6cb9bf91..731d14c2941 100644 --- a/source/isaaclab/config/extension.toml +++ b/source/isaaclab/config/extension.toml @@ -1,7 +1,7 @@ [package] # Note: Semantic Versioning is used: https://semver.org/ -version = "0.46...
diff --git a/source/isaaclab/test/assets/test_articulation.py b/source/isaaclab/test/assets/test_articulation.py index 46eb63762fd..dfacff5d2ec 100644 --- a/source/isaaclab/test/assets/test_articulation.py +++ b/source/isaaclab/test/assets/test_articulation.py @@ -1997,10 +1997,16 @@ def test_write_joint_frictions_to_s...
[Bug Report] randomize_joint_parameters only updates static friction and may violate PhysX constraint (static < dynamic friction) ### Describe the bug The function `randomize_joint_parameters` can be used to randomize joint friction. Starting from Isaac Sim **5.0.0**, it is possible to set **static**, **dynamic (Coulo...
Looking at the code, I noticed a potential issue when calling `write_joint_friction_coefficient_to_sim` and `write_joint_dynamic_friction_coefficient_to_sim` one after the other. Nothing prevents the randomization event from setting a **dynamic friction** value lower than the previously set **static friction**. This ...
Looking at the code, I noticed a potential issue when calling `write_joint_friction_coefficient_to_sim` and `write_joint_dynamic_friction_coefficient_to_sim` one after the other. Nothing prevents the randomization event from setting a **dynamic friction** value lower than the previously set **static friction**. This ...
[ "https://github.com/isaac-sim/IsaacLab/commit/5aed0b507f1b242dd8fb12a37a6a955286b812ff", "https://github.com/isaac-sim/IsaacLab/commit/e9499b1ab57df704465a9f39fd3aba50069c6d6f", "https://github.com/isaac-sim/IsaacLab/commit/4f325b0f623fccd4e92bc116e906653b0e104dd8", "https://github.com/isaac-sim/IsaacLab/comm...
2025-09-01T15:40:58
2.2
Python
isaac-sim/IsaacLab
3,163
isaac-sim__IsaacLab-3163
[ 3155 ]
b81673267943e0faafa9de4312cc291543344c3b
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 3c683ebe4f0..38fcfc8032b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -90,6 +90,7 @@ Guidelines for modifications: * Lukas Fröhlich * Manuel Schweiger * Masoud Moghani +* Maurice Rahme * Michael Gussert * Michael Noseworthy * Miguel Alonso Jr diff --gi...
diff --git a/source/isaaclab/test/assets/test_articulation.py b/source/isaaclab/test/assets/test_articulation.py index 11bcbf01243..ecc0ac4db34 100644 --- a/source/isaaclab/test/assets/test_articulation.py +++ b/source/isaaclab/test/assets/test_articulation.py @@ -29,6 +29,8 @@ import isaaclab.utils.string as string_u...
[Bug Report] `joint_effort_out_of_limit` flags non-violations ### Describe the bug `isaaclab/envs/mdp/terminations.py::joint_effort_out_of_limit` uses: ```python out_of_limits = torch.isclose( asset.data.computed_torque[:, asset_cfg.joint_ids], asset.data.applied_torque[:, asset_cfg.joint_ids], ) return torch....
Thank you for posting this. The team will review it. Thanks! I can also add a PR during my lunch break today, I think it just needs an inversion.
Thank you for posting this. The team will review it. Thanks! I can also add a PR during my lunch break today, I think it just needs an inversion.
[ "https://github.com/isaac-sim/IsaacLab/commit/1058097cb0e0c64a08580afc440061584af6baf2", "https://github.com/isaac-sim/IsaacLab/commit/c608f8f032c4a77fadc63762023fb470852113de", "https://github.com/isaac-sim/IsaacLab/commit/c1793cf97fdd6c5585a6792cd9fe1975d7b03ca6", "https://github.com/isaac-sim/IsaacLab/comm...
2025-08-13T03:59:34
2.3
Python
isaac-sim/IsaacLab
1,660
isaac-sim__IsaacLab-1660
[ 1659 ]
8b5fd065741baf3ae96ec0ba00960732d5d32ceb
diff --git a/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/articulation/articulation.py b/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/articulation/articulation.py index 444a2ad4db4..593a8c88a60 100644 --- a/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/articulation/articulation.py +++ b/sou...
diff --git a/source/extensions/omni.isaac.lab/test/assets/test_articulation.py b/source/extensions/omni.isaac.lab/test/assets/test_articulation.py index 5f5c4b380c7..c845a6eb743 100644 --- a/source/extensions/omni.isaac.lab/test/assets/test_articulation.py +++ b/source/extensions/omni.isaac.lab/test/assets/test_articul...
[Bug Report] local_variable referenced before assignment in IsaacLab's articulation wrapper If you are submitting a bug report, please fill in the following details and use the tag [bug]. ### Describe the bug When using the articulation object from omni.isaac.lab, the functions `write_root_com_pose_to_sim` and `w...
Thanks for submitting this. We will review.
Thanks for submitting this. We will review. A fix has been merged. Thank you.
[ "https://github.com/isaac-sim/IsaacLab/commit/694b297020092ca6b186888270878418378edeb4", "https://github.com/isaac-sim/IsaacLab/commit/b8170872009dd740613eadf13a96108deca8dc2e", "https://github.com/isaac-sim/IsaacLab/commit/a11a1d6169500405d2792244e85073dad64c1e9f", "https://github.com/isaac-sim/IsaacLab/comm...
2025-01-10T16:54:20
1.4
Python
isaac-sim/IsaacLab
1,947
isaac-sim__IsaacLab-1947
[ 1946 ]
5235c2781dc1194d25534ba36fd7ab3cec8429c5
diff --git a/source/isaaclab/config/extension.toml b/source/isaaclab/config/extension.toml index 55fdfc31f0c..56419d47a59 100644 --- a/source/isaaclab/config/extension.toml +++ b/source/isaaclab/config/extension.toml @@ -1,7 +1,7 @@ [package] # Note: Semantic Versioning is used: https://semver.org/ -version = "0.34...
diff --git a/source/isaaclab/test/sensors/test_tiled_camera.py b/source/isaaclab/test/sensors/test_tiled_camera.py index b96be93a765..dad4ba99e48 100644 --- a/source/isaaclab/test/sensors/test_tiled_camera.py +++ b/source/isaaclab/test/sensors/test_tiled_camera.py @@ -26,10 +26,11 @@ import isaacsim.core.utils.stage a...
[Bug Report] Semantic and Instance segmentation not working when using TiledCamera ### Describe the bug When using `TiledCamera` with instanceable assets, semantic and instance segmentation output only show correct rendered image for the first tile. All other tiles will render a black image with no segmentation output...
[ "https://github.com/isaac-sim/IsaacLab/commit/760b51597c91e11d11a9ce5ea56f3b9b4f2be8cf", "https://github.com/isaac-sim/IsaacLab/commit/e6f3fbe326117c4e6a1c846c1afc903979b02555", "https://github.com/isaac-sim/IsaacLab/commit/8e809f874504e966824846d2f1041bb98f23946d", "https://github.com/isaac-sim/IsaacLab/comm...
2025-02-26T05:41:53
2.0
Python
nautobot/nautobot
3,700
nautobot__nautobot-3700
[ 3617 ]
828d453d0bd05f699e064ee809be7d1acea1a06f
diff --git a/changes/3617.changed b/changes/3617.changed new file mode 100644 index 00000000000..0c218c5d0cd --- /dev/null +++ b/changes/3617.changed @@ -0,0 +1,1 @@ +SearchForms on Nautobot homepage now redirect users to login page when they are not authenticated. diff --git a/nautobot/core/views/__init__.py b/nautobo...
diff --git a/nautobot/core/tests/test_views.py b/nautobot/core/tests/test_views.py index bd91805dfba..6f31a13fa6f 100644 --- a/nautobot/core/tests/test_views.py +++ b/nautobot/core/tests/test_views.py @@ -98,6 +98,13 @@ def test_footer_version_visible_authenticated_users_only(self): @override_settings(BRANDING_TITLE...
search widget does not verify if user is logged in ### Environment * Nautobot version (Docker tag too if applicable): 1.5.9 * Python version: 3.10 * Database platform, version: * Middleware(s): <!-- If user has two or more Nautobot windows opened and is logged out after some time of inactivity or user log o...
[ "https://github.com/nautobot/nautobot/commit/ff446ffc0b5ddf8d92e095fcb20d35a96b8c4329" ]
2023-05-04T16:50:58
1.5
Python
nautobot/nautobot
5,931
nautobot__nautobot-5931
[ 5906 ]
86237894aac30ee58f26eded5b2edc81542ff9cc
diff --git a/changes/5906.fixed b/changes/5906.fixed new file mode 100644 index 00000000000..191da1d70e7 --- /dev/null +++ b/changes/5906.fixed @@ -0,0 +1,1 @@ +Added support for filtering in GraphQL of objects identified by a many-to-many relation (`Location.prefixes`, `Prefix.locations`, etc.) diff --git a/nautobot/c...
diff --git a/nautobot/core/tests/test_graphql.py b/nautobot/core/tests/test_graphql.py index 7134bc7e5b9..051c9de8a38 100644 --- a/nautobot/core/tests/test_graphql.py +++ b/nautobot/core/tests/test_graphql.py @@ -729,8 +729,8 @@ def setUpTestData(cls): cls.location_type = LocationType.objects.get(name="Campus"...
GraphQL queries do not support filtering on M2M relationships ### Environment * Nautobot version: v2.2 for the locations/prefixes issue described below, probably all versions for the M2M in general * Python version: N/A * Database platform, version: N/A * Middleware(s): N/A ### Steps to Reproduce 1. Craft a Gra...
Should be pretty similar to what we implmented in #799 for `ManyToOneRel`, see specifically `nautobot/core/graphql/schema.py` Please target the 7/22 patch release for 2.2
Should be pretty similar to what we implmented in #799 for `ManyToOneRel`, see specifically `nautobot/core/graphql/schema.py` Please target the 7/22 patch release for 2.2
[ "https://github.com/nautobot/nautobot/commit/9229999cf1da44ae20325d7176953514ed131c36" ]
2024-07-15T15:34:25
1.6
Python
nautobot/nautobot
3,070
nautobot__nautobot-3070
[ 3065 ]
863448f802ccfb3a1d354d20788564d9ca05fbd0
diff --git a/changes/2951.added b/changes/2951.added deleted file mode 100644 index de048fe58aa..00000000000 --- a/changes/2951.added +++ /dev/null @@ -1,1 +0,0 @@ -Added change logging when relationships are changed. diff --git a/changes/3065.fixed b/changes/3065.fixed new file mode 100644 index 00000000000..964f078ff...
diff --git a/nautobot/extras/tests/test_relationships.py b/nautobot/extras/tests/test_relationships.py index fa12c9cd060..4162dab20c1 100644 --- a/nautobot/extras/tests/test_relationships.py +++ b/nautobot/extras/tests/test_relationships.py @@ -1,4 +1,3 @@ -import copy import logging import uuid @@ -11,22 +10,16 @@...
Unable to Edit/Delete/Add Objects in v1.5.6 <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reporting reproducible bugs. If you need assistance with Nautobot installation, or if you have a general question, please start a discussion instead: https:/...
Update: I added "testserver" to NAUTOBOT_ALLOWED_HOSTS and the problem seems to be gone. Did I miss something during the upgrade process? _http://testserver_ was defined in the following unit tests: https://github.com/nautobot/nautobot/blob/3aa950a2a84cdcc1a4655882489f900c20d64d3f/nautobot/extras/tests/test_api....
Update: I added "testserver" to NAUTOBOT_ALLOWED_HOSTS and the problem seems to be gone. Did I miss something during the upgrade process? _http://testserver_ was defined in the following unit tests: https://github.com/nautobot/nautobot/blob/3aa950a2a84cdcc1a4655882489f900c20d64d3f/nautobot/extras/tests/test_api....
[ "https://github.com/nautobot/nautobot/commit/3783d8cf485ad6af214e582d1b98578f1309db6b", "https://github.com/nautobot/nautobot/commit/ae227bbefb345a40eced71aba30388da66e22f91", "https://github.com/nautobot/nautobot/commit/d305592965e8bff7f06f55f223cfbafec274bf2d", "https://github.com/nautobot/nautobot/commit/2...
2023-01-03T23:23:39
1.5
Python
nautobot/nautobot
6,213
nautobot__nautobot-6213
[ 5859 ]
3381b1714163b0417cfbd3e2c3ed3a4700cc7695
diff --git a/.github/workflows/ci_integration.yml b/.github/workflows/ci_integration.yml index c8516e5ae56..9aef21ad2ca 100644 --- a/.github/workflows/ci_integration.yml +++ b/.github/workflows/ci_integration.yml @@ -72,7 +72,7 @@ jobs: poetry-version: "1.8.2" python-version: "3.12" - name:...
diff --git a/nautobot/dcim/tests/test_filters.py b/nautobot/dcim/tests/test_filters.py index d53f569a264..a18bd5547b0 100644 --- a/nautobot/dcim/tests/test_filters.py +++ b/nautobot/dcim/tests/test_filters.py @@ -3349,7 +3349,7 @@ def test_length_unit(self): def test_device(self): """Test that the devic...
Make unittest `--cache-test-fixtures` and `--keepdb` arguments default-true <!-- NOTE: This template is for use by maintainers only. Please do not submit an issue using this template unless you have been specifically asked to do so. --> ### Proposed Changes Change the `invoke unittest` arguments `--...
[ "https://github.com/nautobot/nautobot/commit/442999cf47ad0e9bba19f60669543d8b156ab762", "https://github.com/nautobot/nautobot/commit/0f88df372a491d08251b12c7d6475c7d0748eccf", "https://github.com/nautobot/nautobot/commit/96c57af46094491771255ab7606bc1d6525b3bb7", "https://github.com/nautobot/nautobot/commit/a...
2024-09-13T15:15:29
1.6
Python
nautobot/nautobot
3,628
nautobot__nautobot-3628
[ 1526 ]
90f96e4f2986e14b6825d2a9e41debc720ecb496
diff --git a/changes/1526.added b/changes/1526.added new file mode 100644 index 00000000000..7f8a634abd1 --- /dev/null +++ b/changes/1526.added @@ -0,0 +1,1 @@ +Added UI button and REST API to validate a `Secret` can be retrieved. diff --git a/nautobot/extras/api/views.py b/nautobot/extras/api/views.py index b99d2ffd68...
diff --git a/nautobot/extras/tests/test_api.py b/nautobot/extras/tests/test_api.py index 1ec392169fa..40c5a6d3317 100644 --- a/nautobot/extras/tests/test_api.py +++ b/nautobot/extras/tests/test_api.py @@ -1,5 +1,6 @@ from datetime import datetime, timedelta import uuid +import tempfile from unittest import mock f...
Add new secret - 'Validate' Button ### As ... Nelly - Network Engineer ### I want ... To confirm that the values entered in "Add new Secret" dialog are correct. ### So that ... Data quality can be ensured without having to trigger some functionality that uses the newly created secret for validation. #...
@bryanculver Is it possible to add the output of the following script on Advanced tab of a secret? So no call to the secret.provider is executed as long as someone clicks on the Advanced tab ```python try: secret.get_value() is_secret_valid = True except SecError: is_secret_valid = False ``` I've ad...
@bryanculver Is it possible to add the output of the following script on Advanced tab of a secret? So no call to the secret.provider is executed as long as someone clicks on the Advanced tab ```python try: secret.get_value() is_secret_valid = True except SecError: is_secret_valid = False ``` I've ad...
[ "https://github.com/nautobot/nautobot/commit/87695f0a5a7ba92f7be01610f0fa713829b8d180", "https://github.com/nautobot/nautobot/commit/fd7b9793113cc641253692666b451db500717ec9", "https://github.com/nautobot/nautobot/commit/070029991a77e36ea21981ebab5fb2a2c5e1c57e", "https://github.com/nautobot/nautobot/commit/e...
2023-04-20T16:42:29
1.5
Python
pdm-project/pdm
2,263
pdm-project__pdm-2263
[ 2261 ]
67e78942a01449d11d3b0486f1907caeb8caaf1c
diff --git a/news/2261.bugfix.md b/news/2261.bugfix.md new file mode 100644 index 0000000000..53a05c30a4 --- /dev/null +++ b/news/2261.bugfix.md @@ -0,0 +1,1 @@ +Reject the candidate if it contains invalid metadata, to avoid a crash in the process of resolution. diff --git a/src/pdm/resolver/providers.py b/src/pdm/reso...
diff --git a/tests/resolver/test_resolve.py b/tests/resolver/test_resolve.py index 0b338c7a7b..1ac8e8f57d 100644 --- a/tests/resolver/test_resolve.py +++ b/tests/resolver/test_resolve.py @@ -320,3 +320,10 @@ def test_resolve_extra_and_underlying_to_the_same_version(resolve, repository): repository.add_dependencies...
PDM crashes in case of invalid package metadata - [x] I have searched the issue tracker and believe that this is not a duplicate. ## Steps to reproduce Not simple but the error is pretty telling ## Actual behavior PDM (probably actually unearth) crashes if a package has invalid metadata ``` pdm.termui...
Thank you so much 🙏
Thank you so much 🙏
[ "https://github.com/pdm-project/pdm/commit/00d4a400b93b38b40a39415e3c46a7fd485c91a2", "https://github.com/pdm-project/pdm/commit/6c37b990c06f7813b603469069b9b4ea64b3c639", "https://github.com/pdm-project/pdm/commit/bdb20c038eb0f6326217194251ee604509b81d4d" ]
2023-09-15T02:37:10
0.0
Python
pdm-project/pdm
2,854
pdm-project__pdm-2854
[ 2760 ]
a86a6562c6e1452e4c46aea7933841dfe3ff7842
diff --git a/docs/usage/config.md b/docs/usage/config.md index 31bf5f504d..e7fecdbd13 100644 --- a/docs/usage/config.md +++ b/docs/usage/config.md @@ -300,6 +300,18 @@ Alternatively, if you have installed a copy of keyring globally, make sure the C export PATH=$PATH:path/to/keyring/bin ``` +### Password management ...
diff --git a/tests/cli/test_venv.py b/tests/cli/test_venv.py index 8b04977aa1..a7d3fa876c 100644 --- a/tests/cli/test_venv.py +++ b/tests/cli/test_venv.py @@ -1,4 +1,5 @@ import os +import platform import re import shutil import sys @@ -133,7 +134,10 @@ def test_venv_activate(pdm, mocker, project): assert ...
Fail to authenticate for Azure Artifacts ## Steps to reproduce To add a private pypi from Azure Artifacts, I added a section in the `pyproject.toml` as follows: ``` [[tool.pdm.source]] name = "datahub" url = "https://pkgs.dev.azure.com/xxx/Datahub/_packaging/Datahub/pypi/simple/" verify_ssl = true ``` I try...
There seems to be some issue with the keyring that can't be fixed on PDM side, you can check it by running keyring directly: ```python import keyring keyring.get_credential(url, username) keyring.get_password(url, username) ``` > However, when I pass personal login information via the `pyproject.toml` in the ...
There seems to be some issue with the keyring that can't be fixed on PDM side, you can check it by running keyring directly: ```python import keyring keyring.get_credential(url, username) keyring.get_password(url, username) ``` > However, when I pass personal login information via the `pyproject.toml` in the ...
[ "https://github.com/pdm-project/pdm/commit/b5235e553fbc76d0d7441af16cddc27968c681b1", "https://github.com/pdm-project/pdm/commit/694813e9ab580c9290aab52eef8349c618dc327b", "https://github.com/pdm-project/pdm/commit/6eb1fdd6061ca8d7d09e07e7fd5bb532bb9ef900", "https://github.com/pdm-project/pdm/commit/4509a35c7...
2024-04-26T13:49:10
0.0
Python
pdm-project/pdm
2,886
pdm-project__pdm-2886
[ 2885 ]
e50476895fc7b7f6578be30b40a1226b6957dcb2
diff --git a/news/2885.bugfix.md b/news/2885.bugfix.md new file mode 100644 index 0000000000..27ccb2b9fe --- /dev/null +++ b/news/2885.bugfix.md @@ -0,0 +1,1 @@ +Raise an error if the package given by `pdm update` does not exist in the select dependency group but in other groups. diff --git a/src/pdm/cli/commands/updat...
diff --git a/tests/cli/test_update.py b/tests/cli/test_update.py index 1b111aa931..0a5dbfa586 100644 --- a/tests/cli/test_update.py +++ b/tests/cli/test_update.py @@ -184,13 +184,21 @@ def test_update_transitive(project, repository, pdm): @pytest.mark.usefixtures("working_set") -def test_update_transitive_nonexist...
Inconsistent behavior between `pdm remove` and `pdm update` ## Is your feature/enhancement proposal related to a problem? Please describe. I don't know if it's intentional or something that needs to be improved. When you delete a dev package, you will need to select the dependency group correctly: ``` $ pdm remo...
[ "https://github.com/pdm-project/pdm/commit/8c1c49b35e2a1f7b65bdf4b62ca62a78fa700e9e", "https://github.com/pdm-project/pdm/commit/dffdf7dbbcf7d58c97bdc61ae9a6f633e6823c89" ]
2024-05-16T03:27:35
0.0
Python
pdm-project/pdm
3,393
pdm-project__pdm-3393
[ 3392 ]
c582a94ce4c21d1099790b0ea4f785a8769be654
diff --git a/news/3392.bugfix.md b/news/3392.bugfix.md new file mode 100644 index 0000000000..c230c15655 --- /dev/null +++ b/news/3392.bugfix.md @@ -0,0 +1,1 @@ +Ensure dev-dependencies are added to the correct group when the `tool.pdm.dev-dependencies` table has groups. diff --git a/src/pdm/project/core.py b/src/pdm/p...
diff --git a/tests/cli/test_add.py b/tests/cli/test_add.py index 051c591b15..707065e4e9 100644 --- a/tests/cli/test_add.py +++ b/tests/cli/test_add.py @@ -108,6 +108,25 @@ def test_add_editable_normal_dev_dependency(project, pdm): assert pep735_group == ["urllib3>=1.22", "idna>=2.7"] +@pytest.mark.usefixtures(...
`pdm add` uses wrong dependency group name if `tool.pdm.dev-dependencies` table exists ### Describe the bug When using `pdm add` in a project that has dependencies in the `tool.pdm.dev-dependencies` table (for example, editable dependencies since these can't be added to the new `dependency-groups` table [according to ...
I just noticed that editable dependencies are allowed in the `dependency-groups` table, although they have to be manually written in the `pyproject.toml` since using `pdm add` defaults to adding them to `tool.pdm.dev-dependencies`. I don't know if allowing editable dependencies in `dependency-groups` is intended behav...
I just noticed that editable dependencies are allowed in the `dependency-groups` table, although they have to be manually written in the `pyproject.toml` since using `pdm add` defaults to adding them to `tool.pdm.dev-dependencies`. I don't know if allowing editable dependencies in `dependency-groups` is intended behav...
[ "https://github.com/pdm-project/pdm/commit/531714c83d55c21aa059489b2b2f435f58e9c4c0", "https://github.com/pdm-project/pdm/commit/bb25231059363325d0426bdb65080b97e11d9019", "https://github.com/pdm-project/pdm/commit/2b38a461d775385bda878ccb3b3e63d911438edb", "https://github.com/pdm-project/pdm/commit/ad5508440...
2025-02-12T01:08:00
0.0
Python
pdm-project/pdm
2,909
pdm-project__pdm-2909
[ 2908 ]
89886b861bb3241fe09ac52b76992e32682cdc09
diff --git a/news/2908.bugfix.md b/news/2908.bugfix.md new file mode 100644 index 0000000000..5f1da2d6f4 --- /dev/null +++ b/news/2908.bugfix.md @@ -0,0 +1,1 @@ +Fix a bug that VCS dependencies and `--self` don't work in the exported requirements.txt with hashes. diff --git a/src/pdm/cli/commands/add.py b/src/pdm/cli/c...
diff --git a/tests/cli/test_others.py b/tests/cli/test_others.py index 90541ce0ec..7a5123dc21 100644 --- a/tests/cli/test_others.py +++ b/tests/cli/test_others.py @@ -176,10 +176,16 @@ def test_export_to_requirements_txt(pdm, fixture_project): assert result.output.strip() == requirements_txt.read_text().strip() ...
`pdm export --self` is incompatible with hashes (no `--without-hashes`) - [x] I have searched the issue tracker and believe that this is not a duplicate. ## Steps to reproduce ```sh pdm add requests pdm export --self -o requirements.txt ``` The command creates this file ``` # This file is @generated by PD...
[ "https://github.com/pdm-project/pdm/commit/17ddd13857f14d73ee03010034614efe417fda74", "https://github.com/pdm-project/pdm/commit/f9065aa2ebe25f89f3df145a3c0bcf382d3f46ef" ]
2024-05-29T08:21:56
0.0
Python
dbt-labs/dbt-core
818
dbt-labs__dbt-core-818
[ 8864 ]
d13d85681f3b605681f2c68523a3c10b3242fdbd
diff --git a/dbt/adapters/postgres/impl.py b/dbt/adapters/postgres/impl.py index 50c05b0f199..f9a69ad386c 100644 --- a/dbt/adapters/postgres/impl.py +++ b/dbt/adapters/postgres/impl.py @@ -53,6 +53,10 @@ def date_function(cls): def get_status(cls, cursor): return cursor.statusmessage + @classmethod +...
diff --git a/test/unit/test_redshift_adapter.py b/test/unit/test_redshift_adapter.py new file mode 100644 index 00000000000..505ae4b536d --- /dev/null +++ b/test/unit/test_redshift_adapter.py @@ -0,0 +1,98 @@ +import unittest +import mock + +import dbt.flags as flags +import dbt.utils + +from dbt.adapters.redshift impo...
[ADAP-974][CT-3230] [Bug] `type` should not be set to `null` for dynamic tables and materialized view ### Is this a new bug in dbt-core? - [X] I believe this is a new bug in dbt-core - [X] I have searched the existing issues, and I could not find an existing issue for this bug ### Summary A succinct summary b...
Question from refinement: Which adapters are affected by this? Can we fix this in dbt-core, or is this something that we need to fix in the adapter repos? If/when we have a fix for this @eddowh and @amychen1776 requested if this could be backported for >=1.6. This is most pressing on Snowflake, but we should review th...
[ "https://github.com/dbt-labs/dbt-core/commit/bc432f95844c986cba2713dc3af08c51f1a4900b", "https://github.com/dbt-labs/dbt-core/commit/688fa467b22a5669f04ae18ae9e86b30ed107d38", "https://github.com/dbt-labs/dbt-core/commit/f65b3d677a647160d1d5dc609c32ef2f41207857", "https://github.com/dbt-labs/dbt-core/commit/e...
2018-07-02T21:00:42
0.10
Python
dbt-labs/dbt-core
11,156
dbt-labs__dbt-core-11156
[ 11110 ]
6c61cb7f7adbdce8edec35a887d6c766a401e403
diff --git a/.changes/unreleased/Fixes-20241216-134645.yaml b/.changes/unreleased/Fixes-20241216-134645.yaml new file mode 100644 index 00000000000..2ef41dc0d2d --- /dev/null +++ b/.changes/unreleased/Fixes-20241216-134645.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Error writing generic test at run time +time: 2024-12-16...
diff --git a/tests/functional/snapshots/fixtures.py b/tests/functional/snapshots/fixtures.py index 562fcb4b10f..df0c29b8fa5 100644 --- a/tests/functional/snapshots/fixtures.py +++ b/tests/functional/snapshots/fixtures.py @@ -301,6 +301,10 @@ updated_at: updated_at meta: owner: 'a_owner' + colu...
[Bug] Conflicting file and directory names cause “Not a directory” errors when a YAML snapshot has data tests ### Is this a new bug in dbt-core? - [X] I believe this is a new bug in dbt-core - [X] I have searched the existing issues, and I could not find an existing issue for this bug ### Current Behavior Whe...
Thanks for reporting this @michael-domotz ! I was able to reproduce the issue you reported using `dbt=1.9.0-rc2`. See "reprex" below for details. Note: I got this error if I just did `dbt build` (which runs snapshots + tests in DAG order). Here's where it happens in the source code: - https://github.com/dbt-l...
Thanks for reporting this @michael-domotz ! I was able to reproduce the issue you reported using `dbt=1.9.0-rc2`. See "reprex" below for details. Note: I got this error if I just did `dbt build` (which runs snapshots + tests in DAG order). Here's where it happens in the source code: - https://github.com/dbt-l...
[ "https://github.com/dbt-labs/dbt-core/commit/8fe649f373ba962fda2bcfaf06a6283cefcc05bb", "https://github.com/dbt-labs/dbt-core/commit/59ddd2f627bdb69ca3c1fff2edc392eed422c25f", "https://github.com/dbt-labs/dbt-core/commit/2b1e4c17c7ea2ef506d2cd6f07a22ff91bd2d32a" ]
2024-12-16T20:30:55
0.21
Python
dbt-labs/dbt-core
236
dbt-labs__dbt-core-236
[ 5273 ]
7c7dd3fe0dda381b7ad632a1b3aba4e76b6da8e8
diff --git a/dbt/main.py b/dbt/main.py index f7984a2a77e..a1af0bfb53c 100644 --- a/dbt/main.py +++ b/dbt/main.py @@ -20,8 +20,8 @@ import dbt.tracking -def is_opted_out(): - profiles = project.read_profiles() +def is_opted_out(profiles_dir): + profiles = project.read_profiles(profiles_dir) if profiles...
diff --git a/test/integration/015_cli_invocation_tests/models/subdir1/subdir2/model.sql b/test/integration/015_cli_invocation_tests/models/subdir1/subdir2/model.sql new file mode 100644 index 00000000000..1c8ae4dabf3 --- /dev/null +++ b/test/integration/015_cli_invocation_tests/models/subdir1/subdir2/model.sql @@ -0,0 ...
[CT-665] [Feature] Allow control over the outer CTE identifier generated in ephemeral materialization ### Is this your first time opening an issue? - [X] I have read the [expectations for open source contributors](https://docs.getdbt.com/docs/contributing/oss-expectations) ### Describe the Feature We use a dot notat...
@miro-ur Thanks for opening! This is something that's defined in Python today, but within the "adapter" interface, to accommodate the fact that different databases support different naming conventions: https://github.com/dbt-labs/dbt-core/blob/2c42fb436cb5024c691fcd42c3b3004b598dcc9d/core/dbt/adapters/base/relati...
[ "https://github.com/dbt-labs/dbt-core/commit/a16937f8dc2e9a3651c9090223d8ead6133eef30", "https://github.com/dbt-labs/dbt-core/commit/20dcdf0dea1c2fdf1354ae1a2720e7cf35fcc72c", "https://github.com/dbt-labs/dbt-core/commit/1cc9e2f03b8718b2e3e142f1a9b9f59bbefd459f", "https://github.com/dbt-labs/dbt-core/commit/6...
2016-12-05T00:58:03
0.5
Python
dbt-labs/dbt-core
9,508
dbt-labs__dbt-core-9508
[ 9507 ]
2411f93240a346961e6a965ad9cb5c766db275a0
diff --git a/.changes/unreleased/Fixes-20240201-164407.yaml b/.changes/unreleased/Fixes-20240201-164407.yaml new file mode 100644 index 00000000000..a156a2a7dd5 --- /dev/null +++ b/.changes/unreleased/Fixes-20240201-164407.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Fix bug where Semantic Layer filter strings are parsed i...
diff --git a/tests/functional/metrics/fixtures.py b/tests/functional/metrics/fixtures.py index 5a8373fbe5d..76049165e86 100644 --- a/tests/functional/metrics/fixtures.py +++ b/tests/functional/metrics/fixtures.py @@ -664,3 +664,38 @@ conversion_measure: num_orders entity: purchase """ + +filtered...
[Bug] Semantic Layer where filter strings are parsed into lists ### Is this a new bug in dbt-core? - [X] I believe this is a new bug in dbt-core - [X] I have searched the existing issues, and I could not find an existing issue for this bug ### Current Behavior Currently, if you pass a string into a filter YAML param...
[ "https://github.com/dbt-labs/dbt-core/commit/68f03a8482a65ee2f9f6c2bcee9aa2954042a52e", "https://github.com/dbt-labs/dbt-core/commit/d66e48d12a665124649a7a3541426f23517af9c6", "https://github.com/dbt-labs/dbt-core/commit/b59f4d6aa4cae7c3abcecbb6d86c2ab8d50f6ce1", "https://github.com/dbt-labs/dbt-core/commit/3...
2024-02-02T00:42:23
0.21
Python
dbt-labs/dbt-core
10,767
dbt-labs__dbt-core-10767
[ 10484 ]
f6cdacc61e005016bfb439380bedfbc899c8ad95
diff --git a/.changes/unreleased/Fixes-20240925-154514.yaml b/.changes/unreleased/Fixes-20240925-154514.yaml new file mode 100644 index 00000000000..8db05cc6a0e --- /dev/null +++ b/.changes/unreleased/Fixes-20240925-154514.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Pass test user config to adapter pre_hook by explicitly ...
diff --git a/core/dbt/parser/schema_generic_tests.py b/core/dbt/parser/schema_generic_tests.py index 14e2dbc862a..9f2538f06f0 100644 --- a/core/dbt/parser/schema_generic_tests.py +++ b/core/dbt/parser/schema_generic_tests.py @@ -200,7 +200,9 @@ def parse_generic_test( # this is the ContextConfig that is used...
[Bug] generic tests to accept arbitrary configs does not appear to be pulling in config options for certain tests ### Is this a new bug in dbt-core? - [X] I believe this is a new bug in dbt-core - [X] I have searched the existing issues, and I could not find an existing issue for this bug ### Current Behavior ...
Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/6274
[ "https://github.com/dbt-labs/dbt-core/commit/ed5d07f970dc91282ad629a615eb6a15256e817e", "https://github.com/dbt-labs/dbt-core/commit/33d8aef328d613064490d0518b8d72d66e5282af", "https://github.com/dbt-labs/dbt-core/commit/fa5876088b9bdf130f2e41bda5e037b8c71747e1", "https://github.com/dbt-labs/dbt-core/commit/9...
2024-09-24T00:22:53
0.21
Python
napari/napari
7,879
napari__napari-7879
[ 7878 ]
b8f881407465173cf9a2048354f51274c99cad27
diff --git a/napari/layers/shapes/_shape_list.py b/napari/layers/shapes/_shape_list.py index 772d099b13d..25c66e95491 100644 --- a/napari/layers/shapes/_shape_list.py +++ b/napari/layers/shapes/_shape_list.py @@ -1365,7 +1365,10 @@ def _visible_shapes(self): return [ (i, s) ...
diff --git a/napari/layers/shapes/_tests/test_shape_list.py b/napari/layers/shapes/_tests/test_shape_list.py index 256aec460cb..00d9f3aee5e 100644 --- a/napari/layers/shapes/_tests/test_shape_list.py +++ b/napari/layers/shapes/_tests/test_shape_list.py @@ -173,3 +173,58 @@ def test_inside(): shape_list.add([shape1...
[Shapes] ValueError spam on mouseover if 4D. ### 🐛 Bug Report If you have a 4D image layer and create a shapes layer, then draw a shape you get a spam of ValueErrors when mousing the layer: ``` ValueError Traceback (most recent call last) File ~/micromamba/envs/napari-omero-060/lib/pyth...
As noted by the bisect, this was released in 0.5.6, but it's pretty bad 😬 Suprised I hadn't hit this before, but I checked and my main omero env is 0.5.5. We should endeavor to fix this and push a release asap.
As noted by the bisect, this was released in 0.5.6, but it's pretty bad 😬 Suprised I hadn't hit this before, but I checked and my main omero env is 0.5.5. We should endeavor to fix this and push a release asap. @psobolewskiPhD seriously thank you for posting this. I ran into this error all the time and became immune...
[ "https://github.com/napari/napari/commit/3925e22e5ce522e85f844e069e4f1709a542850c", "https://github.com/napari/napari/commit/b27b0930302518d0e4e20e53de6ce688527899b2", "https://github.com/napari/napari/commit/953a80577c1fb207da9755dc74fdcdca05d373a5", "https://github.com/napari/napari/commit/9d81277e38a236b42...
2025-04-30T21:04:01
0.4
Python
napari/napari
7,215
napari__napari-7215
[ 7279 ]
22a5018f9e8c7b8ecbe4df86786db45e6ecc1f2e
diff --git a/napari_builtins/io/_read.py b/napari_builtins/io/_read.py index 4d0e0fd022d..fe26a95be78 100644 --- a/napari_builtins/io/_read.py +++ b/napari_builtins/io/_read.py @@ -133,6 +133,18 @@ def read_zarr_dataset(path: str): ] assert image, 'No arrays found in zarr group' shape = image...
diff --git a/napari/_qt/dialogs/_tests/test_reader_dialog.py b/napari/_qt/dialogs/_tests/test_reader_dialog.py index 844527f5287..4585eafbb1a 100644 --- a/napari/_qt/dialogs/_tests/test_reader_dialog.py +++ b/napari/_qt/dialogs/_tests/test_reader_dialog.py @@ -192,7 +192,7 @@ def test_open_with_dialog_choices_persist(b...
[test-bot] pip install --pre is failing The --pre Test workflow failed on 2024-11-06 12:22 UTC The most recent failing test was on windows-latest py3.12 pyqt5 with commit: 2f6addc9454127143fe1236248ca82bc6d95dfad Full run: https://github.com/napari/napari/actions/runs/11703223331 (This post will be updated if...
[ "https://github.com/napari/napari/commit/7914efed09e8fb346057066fd0d25fbfdf19109b", "https://github.com/napari/napari/commit/a0ed38994490c2868219285200da57dde27b9247", "https://github.com/napari/napari/commit/a1301305ea7d69105755a195faa887aba9706544", "https://github.com/napari/napari/commit/81229a6051a10832c...
2024-08-26T13:42:41
0.4
Python
napari/napari
6,669
napari__napari-6669
[ 6637 ]
2a0cee2e3de9dd198abc2c86548c284c80fa5acf
diff --git a/napari/settings/_base.py b/napari/settings/_base.py index c4c4d22a4c5..603745cac23 100644 --- a/napari/settings/_base.py +++ b/napari/settings/_base.py @@ -320,31 +320,33 @@ def _inner(settings: BaseSettings) -> dict[str, Any]: # otherwise, look for the standard nested env var ...
diff --git a/napari/settings/_tests/test_settings.py b/napari/settings/_tests/test_settings.py index 3cab36595fe..30737330b1f 100644 --- a/napari/settings/_tests/test_settings.py +++ b/napari/settings/_tests/test_settings.py @@ -218,6 +218,20 @@ def test_settings_env_variables(monkeypatch): monkeypatch.setenv('NAP...
environmental vars are ignored if an experimental setting is set (e.g. async is enabled) ### 🐛 Bug Report If I have async (or autoswap) set (enabled) in Preferences > Experimental (box is checked, settings.yaml: `async_: true` ) then trying to *disable* via environmental variable doesn't work. The opposite does wo...
I *think* I may have spotted a problem with the logic of `nested_env_settings` that might be responsible for this. Need to do some more debugging--really should learn how to use a debugger properly I think... 👀 I will make a PR once I think I'm on the right track. Happy to review when you have a solution. I haven't ...
I *think* I may have spotted a problem with the logic of `nested_env_settings` that might be responsible for this. Need to do some more debugging--really should learn how to use a debugger properly I think... 👀 I will make a PR once I think I'm on the right track. Happy to review when you have a solution. I haven't ...
[ "https://github.com/napari/napari/commit/76b2bf2ac5fe6fe8bc2d9e0323f1bde943e7628a", "https://github.com/napari/napari/commit/040e1f58a94158290650089997a242b430783d9c", "https://github.com/napari/napari/commit/b58e08ef28d37c5e6f144e4ccf6e4a516b0c7300", "https://github.com/napari/napari/commit/9cc0702926a5f5b8b...
2024-02-18T22:34:51
0.4
Python
napari/napari
8,031
napari__napari-8031
[ 7964 ]
fd7a743fdf6b6834ca166c7eff87d79921c25fee
diff --git a/src/napari/layers/points/points.py b/src/napari/layers/points/points.py index 863c7689b62..35c9885e844 100644 --- a/src/napari/layers/points/points.py +++ b/src/napari/layers/points/points.py @@ -1996,52 +1996,78 @@ def add(self, coords): self.selected_data = set(np.arange(cur_points, len(self.dat...
diff --git a/src/napari/layers/points/_tests/test_points.py b/src/napari/layers/points/_tests/test_points.py index fa68d330e93..9b5add7d909 100644 --- a/src/napari/layers/points/_tests/test_points.py +++ b/src/napari/layers/points/_tests/test_points.py @@ -434,8 +434,27 @@ def test_adding_points_to_empty(): assert...
Consider a `remove` method for Shapes and Points ## 🧰 Task See discussion here, for Shapes, but Points work the same way. https://napari.zulipchat.com/#narrow/channel/212875-general/topic/Embarrassing.3A.20how.20do.20you.20remove.20a.20shape.20or.20point.20via.20API.3F/with/435063537 To remove a Shape (or Point) pro...
Do we need to re-implement `remove_selected()` . Can't we do following ? ```python def remove(self, indices=None): """ Remove shape(s) from the layer. Parameters ---------- indices : int | list[int] | None - If `None`, removes the last visible shape. ...
Do we need to re-implement `remove_selected()` . Can't we do following ? ```python def remove(self, indices=None): """ Remove shape(s) from the layer. Parameters ---------- indices : int | list[int] | None - If `None`, removes the last visible shape. ...
[ "https://github.com/napari/napari/commit/3b6115dc30a2bb73a8f3f3ad8c5198d3732dda57", "https://github.com/napari/napari/commit/c9199e1f6f4aa74ad3b64defa41db8a11c9e681c", "https://github.com/napari/napari/commit/a45445721d4aaa6bb104ccb6b5faef04e52c98c2", "https://github.com/napari/napari/commit/61bad3d1d41a1ca26...
2025-06-16T10:43:52
0.4
Python
napari/napari
6,616
napari__napari-6616
[ 6615 ]
6ea5950008a63e97d87924fa0f1dd7173f99e63e
diff --git a/napari/layers/labels/labels.py b/napari/layers/labels/labels.py index 9b2c7e7c86f..6895799d740 100644 --- a/napari/layers/labels/labels.py +++ b/napari/layers/labels/labels.py @@ -1593,7 +1593,9 @@ def data_setitem(self, indices, value, refresh=True): self.data[indices] = value pt_not_d...
diff --git a/napari/layers/labels/_tests/test_labels.py b/napari/layers/labels/_tests/test_labels.py index 69dbb97239d..6febea0dbb9 100644 --- a/napari/layers/labels/_tests/test_labels.py +++ b/napari/layers/labels/_tests/test_labels.py @@ -705,6 +705,15 @@ def test_data_setitem_multi_dim(): ) +def test_data_s...
[0.4.19rc4, main] IndexError when painting in a 3D labels array that has had dims rolled twice ### 🐛 Bug Report If you have a 3D labels layer that is not a cube (z different from x/y) and roll dims twice to have dims.order (1, 2, 0) then when you paint from the top down you will get IndexError, e.g. `IndexError: inde...
This issue has been mentioned on **Image.sc Forum**. There might be relevant details there: https://forum.image.sc/t/request-for-testing-napari-0-4-19-release-candidate/87972/22 To reproduce his bug, it is enough to double rotate and then paint.
This issue has been mentioned on **Image.sc Forum**. There might be relevant details there: https://forum.image.sc/t/request-for-testing-napari-0-4-19-release-candidate/87972/22 To reproduce his bug, it is enough to double rotate and then paint.
[ "https://github.com/napari/napari/commit/ca8e6794afa5945214a2103c57a89e5bbdea8120", "https://github.com/napari/napari/commit/5d79e3729f9ac5ede57f4b622b193e7cf0ead262" ]
2024-01-23T22:39:13
0.4
Python
jazzband/pip-tools
2,087
jazzband__pip-tools-2087
[ 204 ]
6209efdad6464b275d93279ccb190c7a7c320c52
diff --git a/piptools/_compat/pip_compat.py b/piptools/_compat/pip_compat.py index 6409fbc2a..a5f843ad9 100644 --- a/piptools/_compat/pip_compat.py +++ b/piptools/_compat/pip_compat.py @@ -10,6 +10,7 @@ from pip._internal.metadata import BaseDistribution from pip._internal.metadata.pkg_resources import Distribution a...
diff --git a/tests/constants.py b/tests/constants.py index 0a33a278a..3bbfa0bf8 100644 --- a/tests/constants.py +++ b/tests/constants.py @@ -5,3 +5,6 @@ TEST_DATA_PATH = os.path.join(os.path.dirname(__file__), "test_data") MINIMAL_WHEELS_PATH = os.path.join(TEST_DATA_PATH, "minimal_wheels") PACKAGES_PATH = os.path.j...
pip-compile absolute links when given relative path requirements.in: ``` -e . -e ./sqlalchemy_jsonapi ``` compiles to: ``` -e file:///Users/coltonprovias/MyProject -e file:///Users/coltonprovias/MyProject/sqlalchemy_jsonapi ``` It should compile to ``` -e . -e ./sqlalchemy_jsonapi ``` It's not really useful for m...
I ran into the same issue today. Why are relative paths are expanded? This has affected me too as I'm trying to install packages which are submodules of my project. It seems the issues arises here: https://github.com/pypa/pip/blob/develop/pip/req/req_install.py#L1131 I suspect it is hard to avoid as `pip-tools` uses...
I ran into the same issue today. Why are relative paths are expanded? This has affected me too as I'm trying to install packages which are submodules of my project. It seems the issues arises here: https://github.com/pypa/pip/blob/develop/pip/req/req_install.py#L1131 I suspect it is hard to avoid as `pip-tools` uses...
[ "https://github.com/jazzband/pip-tools/commit/4e440723cdf904a590e5f12e6d00c9da3f2ab54a", "https://github.com/jazzband/pip-tools/commit/0215a8432761153047b7c8ddf4f1c7d4c529adb5", "https://github.com/jazzband/pip-tools/commit/16a4a600a7ccfea278a4806e26abacf7fae7764b", "https://github.com/jazzband/pip-tools/comm...
2024-05-07T05:50:54
6.3
Python
jazzband/pip-tools
1,791
jazzband__pip-tools-1791
[ 1685 ]
09d481635b080264545a4b22406962e407a550fd
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 652e30f46..023a043d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,6 +32,7 @@ repos: - pep517==0.10.0 - toml==0.10.2 - pip==20.3.4 + - build==0.9.0 - repo: https://github.com/PyC...
diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index 4c162adbf..2e48e5f06 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -2868,3 +2868,39 @@ def test_pass_pip_cache_to_pip_args(tmpdir, runner, current_resolver): ) assert out.exit_code == 0 assert os.listdir(...
Recursive extra dependencies don't work for a private package Installing private package (=package not published on pypi) is possible with pip using `pip install -e .[dev]`. It respects extra dependencies and the extra dependencies can even reference themselves (see the example bellow). However compiling such a project...
It seems pip-tools compile does not source the dependencies from the current `pyproject.toml` being processed but from the last published package version on pypi - if so, that could be a problem also for public packages. Please add the `[build-system]` part that you used too. The above pyproject.toml file was used to g...
It seems pip-tools compile does not source the dependencies from the current `pyproject.toml` being processed but from the last published package version on pypi - if so, that could be a problem also for public packages. Please add the `[build-system]` part that you used too. The above pyproject.toml file was used to g...
[ "https://github.com/jazzband/pip-tools/commit/a2df198d0783fb40b72b8f62c54dda88861e2540", "https://github.com/jazzband/pip-tools/commit/6801da6e8f00a6383c125783868dc4eaded4b99e", "https://github.com/jazzband/pip-tools/commit/6f6210eb48c6c73a93ac322fb2c2cb346f1567c4", "https://github.com/jazzband/pip-tools/comm...
2022-12-28T23:18:02
6.3
Python
jazzband/pip-tools
1,827
jazzband__pip-tools-1827
[ 1795 ]
33128f515392a950b8cc45c8d3f51ff615499c5f
diff --git a/piptools/scripts/compile.py b/piptools/scripts/compile.py index f578140d1..4afcc20e0 100755 --- a/piptools/scripts/compile.py +++ b/piptools/scripts/compile.py @@ -424,6 +424,8 @@ def cli( pip_args.append("--no-build-isolation") if resolver_name == "legacy": pip_args.extend(["--use-d...
diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index 693cff130..4c162adbf 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -2853,3 +2853,18 @@ def test_raise_error_when_input_and_output_filenames_are_matched( f"Error: input and output filenames must not be matched: ...
"--cache-dir" flag is ignored when specifying "--resolver=backtracking" When using the backtracking resolver, the custom cache dir flag appears to be ignored. #### Environment Versions 1. Ubuntu 22.04 1. Python version: 3.11.1 1. pip version: 22.3.1 1. pip-tools version: 6.12.1 #### Steps to replicate Ex...
New resolver uses the pip cache so you can override cache-dir by using pip-args ``` --pip-args "--cache-dir=/tmp/pip-cache" ``` > New resolver uses the pip cache so you can override cache-dir by using pip-args > > ``` > --pip-args "--cache-dir=/tmp/pip-cache" > ``` That worked, thank you! I suggest maybe sho...
New resolver uses the pip cache so you can override cache-dir by using pip-args ``` --pip-args "--cache-dir=/tmp/pip-cache" ``` > New resolver uses the pip cache so you can override cache-dir by using pip-args > > ``` > --pip-args "--cache-dir=/tmp/pip-cache" > ``` That worked, thank you! I suggest maybe sho...
[ "https://github.com/jazzband/pip-tools/commit/22eb817e8cd7aa5a8a4f9645f6475dfb4db7ae90", "https://github.com/jazzband/pip-tools/commit/ac5d557c8a074eb79428cb1e0b07209200bcbb0e", "https://github.com/jazzband/pip-tools/commit/80a96052bc9dfa5e5d8f8705c9eb366f2526e7d5", "https://github.com/jazzband/pip-tools/comm...
2023-03-23T22:37:37
6.3
Python
jazzband/pip-tools
2,082
jazzband__pip-tools-2082
[ 2081 ]
f83aed38ea139768973392e87b3f6f8b9bde2fd1
diff --git a/piptools/writer.py b/piptools/writer.py index bcb70f02f..da603f1f7 100644 --- a/piptools/writer.py +++ b/piptools/writer.py @@ -148,9 +148,27 @@ def write_trusted_hosts(self) -> Iterator[str]: yield f"--trusted-host {trusted_host}" def write_format_controls(self) -> Iterator[str]: -...
diff --git a/tests/test_writer.py b/tests/test_writer.py index 8a59269c7..dd4354485 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -301,6 +301,41 @@ def test_write_format_controls(writer): assert lines == expected_lines +@pytest.mark.parametrize( + ("no_binary", "only_binary", "expected_lin...
Output --no-binary and --only-binary options to preserve pip behavior <!-- Describe the issue briefly here. --> #### Environment Versions 1. OS Type: Linux 1. Python version: 3.12.3 1. pip version: 24.0 1. pip-tools version: 7.4.1 #### Steps to replicate 1. Compile using `--pip-args='--only-binary=:all: ...
Are you talking about the comment headers in the resulting constraint files? I'm talking about a [file like this one](https://github.com/python/release-tools/blob/master/requirements.txt), I discovered this while using `--only-binary=:all:` for python/release-tools: ``` # # This file is autogenerated by pip-compil...
Are you talking about the comment headers in the resulting constraint files? I'm talking about a [file like this one](https://github.com/python/release-tools/blob/master/requirements.txt), I discovered this while using `--only-binary=:all:` for python/release-tools: ``` # # This file is autogenerated by pip-compil...
[ "https://github.com/jazzband/pip-tools/commit/a105469fc660627db18a7704724946f02b2a479b", "https://github.com/jazzband/pip-tools/commit/19d3cc7672682b56defc75348b5dc09cd8415fe0", "https://github.com/jazzband/pip-tools/commit/8e6dd76af89cc3081e4522d8de1095379f6f3e8c", "https://github.com/jazzband/pip-tools/comm...
2024-04-30T15:26:49
6.3
Python
jazzband/pip-tools
1,981
jazzband__pip-tools-1981
[ 1980 ]
e0afb7918c3a3d4b92de2efbff5a95aa0ea5c1a8
diff --git a/piptools/scripts/compile.py b/piptools/scripts/compile.py index 5b14bc437..d16222595 100755 --- a/piptools/scripts/compile.py +++ b/piptools/scripts/compile.py @@ -205,6 +205,10 @@ def cli( ).format(", ".join(DEFAULT_REQUIREMENTS_FILES)) ) + if all_extras and extras: + ...
diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index c65d1ed86..eba8cb05c 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -3002,6 +3002,40 @@ def test_cli_compile_strip_extras(runner, make_package, make_sdist, tmpdir): assert "[more]" not in out.stderr +def test_cl...
Running pip-tools compile on multiple sources fails with --all-extras Running pip-tools compile with `--all-extras` on multiple sources containing extras always fails with the following error: > ```console > Error: Invalid value: --extra has no effect when used with --all-extras > ``` #### Environment Versions ...
[ "https://github.com/jazzband/pip-tools/commit/fefa8e900947eafb342f149c4f9b97a1a24c1812", "https://github.com/jazzband/pip-tools/commit/05c91bbf510b58989d22d2be6bc851c99e144d3e", "https://github.com/jazzband/pip-tools/commit/9508eaddd5e9240a585237c60e50273348bfa72e", "https://github.com/jazzband/pip-tools/comm...
2023-09-04T17:58:02
6.3
Python
unionai-oss/pandera
1,426
unionai-oss__pandera-1426
[ 1371 ]
af0e5c02571495f69aec468dc2c501aa9b4af6b4
diff --git a/pandera/strategies/pandas_strategies.py b/pandera/strategies/pandas_strategies.py index 6a1361893..3167fe5b5 100644 --- a/pandera/strategies/pandas_strategies.py +++ b/pandera/strategies/pandas_strategies.py @@ -259,11 +259,8 @@ def convert_dtype(array: Union[pd.Series, pd.Index], col_dtype: Any): ret...
diff --git a/tests/strategies/test_strategies.py b/tests/strategies/test_strategies.py index c4518ec96..47abb5d9e 100644 --- a/tests/strategies/test_strategies.py +++ b/tests/strategies/test_strategies.py @@ -485,6 +485,15 @@ def test_dataframe_strategy(data_type, size, data): ) +def test_dataframe_strateg...
Timezone-aware bug with Multi-Index **Describe the bug** Timezone aware field in a multi-index fails. Passing a timezone aware field in as an `Index` works, but if it is part of a multi-index it does not. I saw that this was an old bug that was fixed when the timestamp was a single index level [here](https://github...
[ "https://github.com/unionai-oss/pandera/commit/d554e938ffd023be83d91ea7e68ff0c65b1ee1bc" ]
2023-11-16T17:30:35
0.3
Python
unionai-oss/pandera
1,268
unionai-oss__pandera-1268
[ 1267 ]
7eba3a0adcba24586ba7122ecd5541100cc7c341
diff --git a/pandera/api/checks.py b/pandera/api/checks.py index 51f7d11e6..1f2659c64 100644 --- a/pandera/api/checks.py +++ b/pandera/api/checks.py @@ -12,8 +12,6 @@ Union, ) -import pandas as pd - from pandera import errors from pandera.api.base.checks import BaseCheck, CheckResult from pandera.strategies ...
diff --git a/tests/core/test_extension_modules.py b/tests/core/test_extension_modules.py index 00f67c151..212feba8e 100644 --- a/tests/core/test_extension_modules.py +++ b/tests/core/test_extension_modules.py @@ -2,16 +2,23 @@ import pytest +import pandas as pd + from pandera.api.hypotheses import Hypothesis fro...
Pandera 16.0 can't be imported without installing pyspark **Describe the bug** - Create a fresh venv. - `pip install pandera` - `python -c 'import pandera'` ``` Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/smackesey/stm/tmp/panderavenv/.venv/lib/python3.10/site-pac...
To add to @smackesey - can also confirm this bug exists on the `main` branch, with a minimal Dockerfile example: ```Dockerfile FROM python:3.10 ENV PIP_ROOT_USER_ACTION=ignore RUN pip install --upgrade pip RUN pip install git+https://github.com/unionai-oss/pandera@main ENTRYPOINT python -c 'import pandera' ...
To add to @smackesey - can also confirm this bug exists on the `main` branch, with a minimal Dockerfile example: ```Dockerfile FROM python:3.10 ENV PIP_ROOT_USER_ACTION=ignore RUN pip install --upgrade pip RUN pip install git+https://github.com/unionai-oss/pandera@main ENTRYPOINT python -c 'import pandera' ...
[ "https://github.com/unionai-oss/pandera/commit/2263933c7dfe1f40622099ba3c1d4a1a64745b42" ]
2023-07-17T13:50:15
0.3
Python
unionai-oss/pandera
1,746
unionai-oss__pandera-1746
[ 1744 ]
50949b0b8d00c4ec614fa2f908a06367bc0acd06
diff --git a/pandera/api/polars/utils.py b/pandera/api/polars/utils.py index 21e9e62ff..27f56e0eb 100644 --- a/pandera/api/polars/utils.py +++ b/pandera/api/polars/utils.py @@ -1,8 +1,12 @@ +# pylint: disable=cyclic-import """Polars validation engine utilities.""" +from typing import Dict, List + import polars as p...
diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index e244a2f09..228191f66 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -17,8 +17,6 @@ on: env: DEFAULT_PYTHON: 3.8 CI: "true" - # Increase this value to reset cache if environment.yml has not cha...
[BUG]: use `LazyFrame.collect_schema().names()` over `LazyFrame.columns` **Describe the bug** There is a perfromance warning in Polars 1.1.0 that using `data.columns` unecessarily collects the dataframe. It is better to use `LazyFrame.collect_schema().names()` to get names of the DF/LF. - [x] I have checked that th...
This makes `pytest` tests fail if it is using a Pandera.BaseModel for validation ```python etf_data_samples = [<LazyFrame at 0x30C0D9BB0>, <LazyFrame at 0x30C27BD40>, <LazyFrame at 0x30C27BBC0>, <LazyFrame at 0x30C27B380>] @pytest.mark.asyncio() async def test_aget_asset_class_filter(etf_data_samples): ...
This makes `pytest` tests fail if it is using a Pandera.BaseModel for validation ```python etf_data_samples = [<LazyFrame at 0x30C0D9BB0>, <LazyFrame at 0x30C27BD40>, <LazyFrame at 0x30C27BBC0>, <LazyFrame at 0x30C27B380>] @pytest.mark.asyncio() async def test_aget_asset_class_filter(etf_data_samples): ...
[ "https://github.com/unionai-oss/pandera/commit/ad1aaec4bceb789c2453e0c8ed954fbc14064e63", "https://github.com/unionai-oss/pandera/commit/c5e8797a3614fc9fce40a7a170b64a9b268c0b4c", "https://github.com/unionai-oss/pandera/commit/4e076f3262fa5f135c76c13f62fdb5b08502e5b8" ]
2024-07-16T20:02:01
0.3
Python
unionai-oss/pandera
1,596
unionai-oss__pandera-1596
[ 1580 ]
b58bd36de378ae7fe88b9d7254b882ffa66e836c
diff --git a/pandera/api/polars/model.py b/pandera/api/polars/model.py index 48eeb482b..c51959ee1 100644 --- a/pandera/api/polars/model.py +++ b/pandera/api/polars/model.py @@ -1,7 +1,6 @@ """Class-based api for polars models.""" from typing import ( - Any, Dict, List, Tuple, @@ -19,6 +18,7 @@ fr...
diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index aaf9b1d87..387d1ba49 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -100,14 +100,20 @@ jobs: strategy: fail-fast: true matrix: - os: ["ubuntu-latest", "macos-latest", "window...
Parametrized type annotations are broken for polars DataFrameModels # Description Pandera DataFrameModels do not support parameterized types for polars, while DataFrameSchemas do. - [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of p...
Thanks for reporting this @r-bar FYI `Series[Type]` annotations is currently not supported in the polars API, see https://github.com/unionai-oss/pandera/pull/1588 and ongoing discussion here: https://github.com/unionai-oss/pandera/issues/1594. Looking into this, planning on supporting: ```python class Lists(pa.D...
[ "https://github.com/unionai-oss/pandera/commit/a2dae5ac543aa6681437dca507a6bf83cf83cd6b", "https://github.com/unionai-oss/pandera/commit/c60dbcdc4565256f4964f8569da4437a659ad792", "https://github.com/unionai-oss/pandera/commit/5afcb21d50521a11e89bbb942f6be89c527e6292", "https://github.com/unionai-oss/pandera/...
2024-04-23T02:34:47
0.3
Python
unionai-oss/pandera
1,978
unionai-oss__pandera-1978
[ 1865 ]
653606e4b06dc413db4913f8b2c21a66d1daa4c9
diff --git a/pandera/backends/pandas/array.py b/pandera/backends/pandas/array.py index f7a5c1cc8..968ea3444 100644 --- a/pandera/backends/pandas/array.py +++ b/pandera/backends/pandas/array.py @@ -54,10 +54,7 @@ def validate( check_obj = self.set_default(check_obj, schema) # run custom parsers -...
diff --git a/tests/pandas/test_parsers.py b/tests/pandas/test_parsers.py index c022c24d1..d9e3e8478 100644 --- a/tests/pandas/test_parsers.py +++ b/tests/pandas/test_parsers.py @@ -5,6 +5,7 @@ import numpy as np import pandas as pd import pytest +from pandas._testing import assert_frame_equal import pandera.panda...
Parser is executed after validation, not before I am using this class: ```python import pandas as pd import pandera as pa from pandera.typing import Index from pandera.errors import SchemaError class Schema(pa.DataFrameModel): """Schema.""" index: Index[int] class Config: """Schema...
Hello, I've checked and it seems like if the inner Config class is provided, then those checks (core parsers) will run before the custom parsers. When it tries to add column 'C' to the dataframe due to `add_missing_columns = True`, it fails, because there are no default values provided, therefore it never gets t...
Hello, I've checked and it seems like if the inner Config class is provided, then those checks (core parsers) will run before the custom parsers. When it tries to add column 'C' to the dataframe due to `add_missing_columns = True`, it fails, because there are no default values provided, therefore it never gets t...
[ "https://github.com/unionai-oss/pandera/commit/399ce6e741cfe327d41dd250d3d6138a52da4657" ]
2025-04-22T13:23:59
0.3
Python
faust-streaming/faust
412
faust-streaming__faust-412
[ 195 ]
ed85356874680727695b8c0ccc8130789906a1dc
diff --git a/faust/tables/base.py b/faust/tables/base.py index e3574ee21..ca26c0f11 100644 --- a/faust/tables/base.py +++ b/faust/tables/base.py @@ -382,13 +382,40 @@ async def _del_old_keys(self) -> None: for partition, timestamps in self._partition_timestamps.items(): while timestamps and window...
diff --git a/tests/unit/tables/test_base.py b/tests/unit/tables/test_base.py index 84e800083..bcd6e5fd1 100644 --- a/tests/unit/tables/test_base.py +++ b/tests/unit/tables/test_base.py @@ -191,6 +191,45 @@ async def test_last_closed_window(self, *, table): assert table.last_closed_window == 0.0 tabl...
HoppingWindow with the hopping window example, when I setting window=10, step=5, the result shows the window size can never reach 10. I knew that the hopping function is always creating a new window when a step is equal to 5. But how can I correctly have a 10 size window? The code below is my attempt to implemen...
I try to make hopping windows works, check out robinhood/faust#514 and my fork https://github.com/doncat99/faust for more detail.
I try to make hopping windows works, check out robinhood/faust#514 and my fork https://github.com/doncat99/faust for more detail. Can I ask why your Fork has never been merged? Is there any reason to keep this weird behavior? @thomas-chauvet I think OP lost interest in the project. I pulled in OP's changes via thes...
[ "https://github.com/faust-streaming/faust/commit/cb999e9e80c32c32dc073293406970e9af7b9bd5", "https://github.com/faust-streaming/faust/commit/086814387535f7c4dc9f465d3d64d4f77f809f25", "https://github.com/faust-streaming/faust/commit/4259492027827e7cc51f891e019170d816bd76f6", "https://github.com/faust-streamin...
2022-11-18T15:00:48
0.11
Python
faust-streaming/faust
437
faust-streaming__faust-437
[ 307 ]
2b8ef5abb8559d90a98eaf21d70cdaa00ffe29c5
diff --git a/faust/web/views.py b/faust/web/views.py index 7430f900e..cad55413d 100644 --- a/faust/web/views.py +++ b/faust/web/views.py @@ -299,9 +299,11 @@ def notfound(self, reason: str = "Not Found", **kwargs: Any) -> Response: """ return self.error(404, reason, **kwargs) - def error(self, st...
diff --git a/tests/unit/web/test_views.py b/tests/unit/web/test_views.py index 4cd5d5938..ca473c0d1 100644 --- a/tests/unit/web/test_views.py +++ b/tests/unit/web/test_views.py @@ -204,13 +204,13 @@ def test_route(self, *, view, web): assert res is handler def test_error(self, *, view, web): - re...
Custom headers are not handled properly when self.error is used in web views ## Checklist - [x] I have included information about relevant versions - [x] I have verified that the issue persists when using the `master` branch of Faust. ## Steps to reproduce If you have a view and you return an error using `self....
Note that a simple solution would be to have ``` def error(self, status: int, reason: str, **kwargs: Any) -> Response: """Create error JSON response.""" headers = kwargs.pop('headers', {}) return self.json({"error": reason, **kwargs}, status=status, headers=headers) ``` please open a P...
Note that a simple solution would be to have ``` def error(self, status: int, reason: str, **kwargs: Any) -> Response: """Create error JSON response.""" headers = kwargs.pop('headers', {}) return self.json({"error": reason, **kwargs}, status=status, headers=headers) ``` please open a P...
[ "https://github.com/faust-streaming/faust/commit/453957e2276bb1dc4643f5e0778a810b378fc9ef" ]
2023-01-23T19:32:53
0.10
Python
faust-streaming/faust
645
faust-streaming__faust-645
[ 601 ]
f5cc1a17aa04b217c19bdb7c12aab439cb4e3152
diff --git a/faust/tables/sets.py b/faust/tables/sets.py index 7876b5da8..1e3f9929c 100644 --- a/faust/tables/sets.py +++ b/faust/tables/sets.py @@ -84,6 +84,11 @@ def on_discard(self, value: VT) -> None: def on_change(self, added: Set[VT], removed: Set[VT]) -> None: self.manager.send_changelog_event(self...
diff --git a/tests/unit/tables/test_sets.py b/tests/unit/tables/test_sets.py index 164e7f16b..79345b02f 100644 --- a/tests/unit/tables/test_sets.py +++ b/tests/unit/tables/test_sets.py @@ -105,6 +105,15 @@ def test_on_discard(self, *, cset, manager, key): "value", ) + def test_on_clear(self, ...
`SetTable`s are missing `on_clear` `mode` has a method to clear all the elements in a set (https://github.com/faust-streaming/mode/blob/c0aa58181432402dca30aa5978179383863a185a/mode/utils/collections.py#L546-L548) which calls an `.on_clear` callback. This `.on_clear` callback method is empty by default (https://github...
@cristianmatache @wbarnha , Since `on_key_del` is implemented for `Table` (https://github.com/faust-streaming/faust/blob/master/faust/tables/table.py#L86-L94) Could we simply (naively) implement this in terms of `__delitem__`?, e.g. something like, in `Table` define ```python def on_clear(self): for k ...
@cristianmatache @wbarnha , Since `on_key_del` is implemented for `Table` (https://github.com/faust-streaming/faust/blob/master/faust/tables/table.py#L86-L94) Could we simply (naively) implement this in terms of `__delitem__`?, e.g. something like, in `Table` define ```python def on_clear(self): for k ...
[ "https://github.com/faust-streaming/faust/commit/3b7e82c59de7138e9a53d2e74945c4280cae897e", "https://github.com/faust-streaming/faust/commit/f5520017dd670ddcf63d87d798b02e98c81a640b", "https://github.com/faust-streaming/faust/commit/69991a804a174e0183411ebae0f1d0f680fca67e" ]
2024-09-23T22:38:12
0.11
Python
faust-streaming/faust
541
faust-streaming__faust-541
[ 539 ]
87a80a968f73220d5ac6190fb7df70b85427bdae
diff --git a/faust/transport/drivers/aiokafka.py b/faust/transport/drivers/aiokafka.py index 032e79f8e..4a0c9ebb2 100644 --- a/faust/transport/drivers/aiokafka.py +++ b/faust/transport/drivers/aiokafka.py @@ -711,13 +711,15 @@ async def commit(self, offsets: Mapping[TP, int]) -> bool: async def _commit(self, offse...
diff --git a/tests/unit/transport/drivers/test_aiokafka.py b/tests/unit/transport/drivers/test_aiokafka.py index 76f28c2df..1130f2cb8 100644 --- a/tests/unit/transport/drivers/test_aiokafka.py +++ b/tests/unit/transport/drivers/test_aiokafka.py @@ -34,6 +34,7 @@ ThreadedProducer, Transport, credentials_t...
Commit structure validation failure: TP != TopicPartition I found a puzzling issue. Both aiokafka and faust define named tuples for `(topic, partition)`, namely `TopicPartition` and `TP` respectively. The faust one doesn't satisfy the `isinstance` check in aiokafka's `commit_structure_validate` and so the stack trac...
If I change this https://github.com/faust-streaming/faust/blob/4a234204ee26bb28472a6640ccab286b807a3681/faust/transport/drivers/aiokafka.py#L715 from ```python aiokafka_offsets = { tp: OffsetAndMetadata(offset, "") for tp, offset in offsets.items() if tp ...
If I change this https://github.com/faust-streaming/faust/blob/4a234204ee26bb28472a6640ccab286b807a3681/faust/transport/drivers/aiokafka.py#L715 from ```python aiokafka_offsets = { tp: OffsetAndMetadata(offset, "") for tp, offset in offsets.items() if tp ...
[ "https://github.com/faust-streaming/faust/commit/1c0102b0e167c9bd568b5f84399057f2a7fec44d" ]
2023-08-14T06:07:58
0.10
Python
faust-streaming/faust
436
faust-streaming__faust-436
[ 435 ]
c0fde841b9bafe2ccea0a31076888326bdfb90ed
diff --git a/faust/app/base.py b/faust/app/base.py index 0a5bb310c..bdf4cc529 100644 --- a/faust/app/base.py +++ b/faust/app/base.py @@ -466,7 +466,7 @@ def __init__( self._default_options = (id, options) # The agent manager manages all agents. - self.agents = AgentManager(self) + self...
diff --git a/tests/unit/app/test_base.py b/tests/unit/app/test_base.py index b2af88e3b..fa4ffd3ba 100644 --- a/tests/unit/app/test_base.py +++ b/tests/unit/app/test_base.py @@ -119,7 +119,7 @@ def test_new_producer(self, *, app): autospec=Transport, ) assert app._new_producer() is transpo...
ValueError: The future belongs to a different loop than the one specified as the loop argument ## Checklist - [x] I have included information about relevant versions - [ ] I have verified that the issue persists when using the `master` branch of Faust. ## Steps to reproduce Create a fastapi service and run fa...
[ "https://github.com/faust-streaming/faust/commit/5bdea4a8dc31f87192bce65a5190bc7958d8b469" ]
2023-01-23T16:21:44
0.10
Python