instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
XD-embedded__xd-docker-47
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.container_remove" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
e402ad039360902a341fc7b77f369a885f7cbce8
client.container_remove() Client API command to remove a container.
diff --git a/CHANGELOG b/CHANGELOG index 8b6bf1b..7fdaf1f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ -0.1.0 (in development) +0.2.0 (in development) ---------------------- -Initial release +* Add container_remove() method. + +0.1.0 (2016-08-13) +------------------ +First development release diff --git a/xd...
XD-embedded__xd-docker-48
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.container_start" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
ae237d02e27ae5cecdf3f766574865e7081abb02
client.container_start() Client API command to start a container.
diff --git a/CHANGELOG b/CHANGELOG index 7fdaf1f..6051fc5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ 0.2.0 (in development) ---------------------- * Add container_remove() method. +* Add container_start() method. 0.1.0 (2016-08-13) ------------------ diff --git a/xd/docker/client.py b/xd/docker/clien...
XD-embedded__xd-docker-52
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.container_wait" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
00db236f2385d476cd3f32e3fd4bf68fd1dd8a35
client.container_wait() Client API command to wait for a container to stop.
diff --git a/xd/docker/client.py b/xd/docker/client.py index 3d2fe2e..ec42404 100644 --- a/xd/docker/client.py +++ b/xd/docker/client.py @@ -484,3 +484,27 @@ class DockerClient(object): return False raise e return True + + def container_wait(self, + contai...
XD-embedded__xd-docker-53
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.container_stop" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
4a5dc455d476da11c4b6ed4632c63e7932e99f97
client.container_stop() Client API command to stop a container.
diff --git a/xd/docker/client.py b/xd/docker/client.py index ec42404..382c1ec 100644 --- a/xd/docker/client.py +++ b/xd/docker/client.py @@ -508,3 +508,35 @@ class DockerClient(object): r = self._post('/containers/{}/wait'.format(id_or_name)) return r.json()['StatusCode'] + + def container_stop(s...
XD-embedded__xd-docker-54
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.container_restart" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
1f7353342a8eda120d4fddb87a14e63f5da799b3
client.container_restart() Client API command to restart a container.
diff --git a/xd/docker/client.py b/xd/docker/client.py index 382c1ec..a0c7398 100644 --- a/xd/docker/client.py +++ b/xd/docker/client.py @@ -519,6 +519,10 @@ class DockerClient(object): Arguments: container: The container to remove (id or name). timeout: Number of seconds to wait before k...
XD-embedded__xd-docker-57
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.container_kill" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
03179f60c8e6d5fa7d2a2a20ec429da132ff7e8f
client.container_kill() Client API command to kill a container.
diff --git a/xd/docker/client.py b/xd/docker/client.py index a0c7398..fdff2db 100644 --- a/xd/docker/client.py +++ b/xd/docker/client.py @@ -17,7 +17,7 @@ from typing import Optional, Union, Sequence, Dict, Tuple, List from xd.docker.container import Container from xd.docker.image import Image from xd.docker.paramet...
XD-embedded__xd-docker-60
[ { "changes": { "added_entities": [ "xd/docker/client.py:DockerClient.commit" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xd/docker/client.py:DockerClient" ] }, "file": "xd/docker/client.py" } ]
XD-embedded/xd-docker
2b82bcc8ca4ebdcfdc719865c4910de092052be1
client.commit() Client API command to create an image from a container.
diff --git a/CHANGELOG b/CHANGELOG index 2d7da75..238dbfc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,10 @@ -0.2.0 (2016-08-28) +0.3.0 (in development) ---------------------- +* Add container_upload() method. +* Add commit() method. + +0.2.0 (2016-08-28) +------------------ * Add container_remove() method. * A...
XKNX__xknx-1008
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/dpt/dpt_2byte_float.py:DPT2ByteFloat.to_knx" ], "edited_modules": [ "xknx/dpt/dpt_2byte_float.py:DPT2ByteFloat" ] }, "file": "xknx/dpt/dpt_2byte_float.py" }, {...
XKNX/xknx
180ec53481c40f8bebf4b9fcaad2b450857d7109
AttributeError: 'Keyring' object has no attribute 'backbone' Hi. My ETS generates a .knxkeys file that doesn't have a "backbone" parameter: ``` <?xml version="1.0" encoding="utf-8"?> <Keyring Project="Apartment" CreatedBy="ETS 5.7.4 (Build 1093)" Created="2022-08-09T15:53:32" Signature="yaIT..." xmlns="http://k...
diff --git a/docs/changelog.md b/docs/changelog.md index 98a4c42b..9a9e0700 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,12 @@ nav_order: 2 # Changelog +## Unreleased changes + +### Internal + +- Fix DPT2ByteFloat numeric range issues + ## 0.22.1 Wrong delivery 2022-07-29 ### Management di...
XKNX__xknx-1066
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/io/connection.py:ConnectionConfig.__init__" ], "edited_modules": [ "xknx/io/connection.py:ConnectionConfig" ] }, "file": "xknx/io/connection.py" }, { "chan...
XKNX/xknx
7ac58206d90ae2e11a3b5638fa7f2a1e5d80925a
Separate discovery multicast group from routing group Discovery shall always happen on `224.0.23.12:3671` - even if routing communication is set to use a different multicast group. Tested with Weinzierl 752 and Enertex Secure Router both set to use `224.0.23.13`. `SearchRequest`s to ...13 are ignored. Requests to th...
diff --git a/docs/changelog.md b/docs/changelog.md index d99e2dd1..64064b73 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -8,6 +8,10 @@ nav_order: 2 # Unreleased changes +### Connection + +- GatewayScanFilter now also matches secure enabled gateways by default. The `secure` argument as been replaced by...
XKNX__xknx-1074
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "xknx/exceptions/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited...
XKNX/xknx
642be66d505dfffba27b791f827cc3217cedae32
Get correct password from keyfile with multiple interfaces https://github.com/XKNX/xknx/blob/87851342fe46534316ee9ea79d638c7a39e9d13e/xknx/secure/keyring.py#L250 This assumes we have only one secure tunnelling interface in the keyring. If there are multiple we'd always get the first found element. Here are some c...
diff --git a/docs/changelog.md b/docs/changelog.md index ad369c23..a46847b5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -11,17 +11,24 @@ nav_order: 2 ### Interface changes - Removed `own_address` from `XKNX` class. `ConnectionConfig` `individual_address` can be used to set a source address for routing...
XKNX__xknx-1114
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/io/tunnel.py:UDPTunnel._tunnelling_request_received" ], "edited_modules": [ "xknx/io/tunnel.py:UDPTunnel" ] }, "file": "xknx/io/tunnel.py" } ]
XKNX/xknx
d1d6085102331fe9430004e55085612fd993b2f7
'TunnellingRequest with sequence number not equal to expected' error every few hours Every few hours 'Received TunnellingRequest with sequence number not equal to expected' error is stuck while the sequence finally loops around. During that time messages are sent but not read. - [ ] using xknx standalone - [x] usin...
diff --git a/docs/changelog.md b/docs/changelog.md index 2cc605ca..b056f7de 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -12,6 +12,10 @@ nav_order: 2 - ExposeSensor: Add `cooldown` option to allow rate-limiting of sent telegrams. +### Connection + +- Disconnect when tunnelling sequence number (UDP) ge...
XKNX__xknx-1190
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/devices/cover.py:Cover.process_group_write" ], "edited_modules": [ "xknx/devices/cover.py:Cover" ] }, "file": "xknx/devices/cover.py" } ]
XKNX/xknx
88fc1ead4cdb10bdacee6824905540365588bf9d
Cover update callback stops in some special case Hello! My intention is to use `device_updated_cb` callback for Cover to process some logic during its movement etc.. I faced the problem when callback stops working in some special case, for example: Pretend the blind initial position is 0% and we need to move it...
diff --git a/docs/changelog.md b/docs/changelog.md index 03b50890..5834d7d3 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -17,6 +17,7 @@ nav_order: 2 - Parse Data Secure credentials form Keyring from non-IP-Secure interfaces. - Parse Data Secure credentials from Keyrings exported for specific interfaces...
XKNX__xknx-1199
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/io/request_response/connect.py:Connect.__init__", "xknx/io/request_response/connect.py:Connect.create_knxipframe", "xknx/io/request_response/connect.py:Connect.on_success_hook" ...
XKNX/xknx
fc4371546195f7d1e5213f42f3fbe3e36cf47fbc
Support for KNXnet/IP Device Management Connection Currently `ConnectRequest` only supports tunnelling (basic or extended tunnel CRI), would it be possible to add support for opening device management connections?
diff --git a/xknx/io/request_response/connect.py b/xknx/io/request_response/connect.py index 355d41d1..bbe1a4e8 100644 --- a/xknx/io/request_response/connect.py +++ b/xknx/io/request_response/connect.py @@ -8,9 +8,9 @@ from xknx.knxip import ( ConnectRequest, ConnectRequestInformation, ConnectResponse, +...
XKNX__xknx-1204
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/cemi/cemi_frame.py:CEMIFrame.from_knx_data_link_layer" ], "edited_modules": [ "xknx/cemi/cemi_frame.py:CEMIFrame" ] }, "file": "xknx/cemi/cemi_frame.py" }, { ...
XKNX/xknx
641e5962f03d47d3fbad50abd683f0c340078b81
Unhandled management telegram warnings in HA log **Description of problem:** When programming a device from ETS and using the "Physikalische Adresse & Applikationsprogram" button, I receive these warnings in my HA log: ```plain 2023-02-21 13:27:30.393 WARNING (MainThread) [xknx.management] Unhandled management t...
diff --git a/docs/changelog.md b/docs/changelog.md index 1277fa0c..5ba70d87 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -12,6 +12,10 @@ nav_order: 2 - When `ConnectionConfig.individual_address` is set and a Keyring is given `ConnectionType.AUTOMATIC` will try to connect to the host of this address. If ...
XKNX__xknx-1227
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/cemi/cemi_handler.py:CEMIHandler.handle_cemi_frame" ], "edited_modules": [ "xknx/cemi/cemi_handler.py:CEMIHandler" ] }, "file": "xknx/cemi/cemi_handler.py" } ]
XKNX/xknx
792864c5c8e6c9cd316af44012f8e261b5df9308
2.6.0 filters telegrams from KNX gateway/tunnel device itself **Description of problem:** Since xknx 2.6.0, xknx no longer recieves/processes telegrams originating from the KNX gateway itself. A RTU modbus device is connected directly to the gateway, which is why the packets originates from the gateway itself (addr...
diff --git a/docs/changelog.md b/docs/changelog.md index 88516e9f..7d8f4ec3 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -12,6 +12,7 @@ nav_order: 2 - Add support for Device Management Configuration service. - Support CEMI M_Prop messages. +- Don't ignore CEMIFrames with source address equal to `xknx.c...
XKNX__xknx-1277
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/devices/light.py:Light._xyy_color_from_rv" ], "edited_modules": [ "xknx/devices/light.py:Light" ] }, "file": "xknx/devices/light.py" }, { "changes": { ...
XKNX/xknx
6234e32c2a5448786bcd06f9c7a47c692a4eeac5
Feature Request: Improve generic DPT handling Part 1: It seems that some DPT parsing is implemented in remote values (e.g. [DPT 251.600](https://github.com/XKNX/xknx/blob/92b80c22827b5d5725d2f00118a40727b06dd187/xknx/remote_value/remote_value_color_rgbw.py#L49)). This makes these DPTs unavailable for generic transco...
diff --git a/docs/changelog.md b/docs/changelog.md index c79c94f3..6623333e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,12 @@ nav_order: 2 # Changelog +# Unreleased changes + +### DPT + +- DPTComplex: Common interface for DPT transcoders with multi-value data. Resulting dataclasses can be con...
XKNX__xknx-1502
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/dpt/dpt_7.py:DPT2ByteUnsigned.from_knx", "xknx/dpt/dpt_7.py:DPT2ByteUnsigned.to_knx" ], "edited_modules": [ "xknx/dpt/dpt_7.py:DPT2ByteUnsigned", "xknx/dpt/dpt_7...
XKNX/xknx
8a9312f0e3d63acdc8a18cfbd725a8da5639b338
DPT 7.* and 8.* should consider resolution **Description of problem:** For a number of less frequently used data point types, the numeric content is not displayed/converted correctly. I noticed this because my smart meter displays an unbalanced load (DPT 8.010) that is too high by a factor of 100. Specifically, the...
diff --git a/docs/changelog.md b/docs/changelog.md index 0693ffa5..52a2f0e3 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -21,6 +21,10 @@ nav_order: 2 - ValueReader: `.send_group_read` - Rename DPT transcoder modules for schema `xknx.dpt.dpt_<main-number>.py` +### Bugfixes + +- Fix value scaling for s...
XKNX__xknx-1551
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/dpt/dpt_20.py:DPTHVACStatus.from_knx", "xknx/dpt/dpt_20.py:DPTHVACStatus._to_knx" ], "edited_modules": [ "xknx/dpt/dpt_20.py:DPTHVACStatus" ] }, "file": "x...
XKNX/xknx
566e3a8e11f477bad1dae5af31baac4aa59d1b2e
Climate operation mode set to Sleep after HA restart **Description of problem:** - [ ] using xknx standalone - [X] using Home-Assistant knx integration **Version information:** - xknx / Home-Assistant release with the issue: 2024.8.2 - last working xknx / Home-Assistant release (if known): Unsure, perhaps 202...
diff --git a/docs/changelog.md b/docs/changelog.md index 329685b3..1c9cf927 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,10 @@ nav_order: 2 # Changelog +### DPT + +- Fix DPTHVACStatus inverted bit order + # 3.1.0 DPT 1 2024-08-13 ### DPT diff --git a/xknx/dpt/dpt_20.py b/xknx/dpt/dpt_20.py...
XKNX__xknx-1572
[ { "changes": { "added_entities": [ "xknx/devices/climate.py:Climate.set_fan_speed", "xknx/devices/climate.py:Climate.current_fan_speed" ], "added_modules": null, "edited_entities": [ "xknx/devices/climate.py:Climate.__init__", "xknx/devices/climate.py:Clim...
XKNX/xknx
fe974e3f2060c4bc248780ed8b4e1ff8c2375508
Feature request: Add Fan mode and Swing mode to climate KNX devices Hi All, Would it be possible to add Fan Mode and Swing Mode to KNX Climate devices? It is supported by Home Assistant in other Climate integrations (e.g. Sensibo Climate). If needed I can help with testing, I have a KNX modules for Mitsubishi A/C unit...
diff --git a/docs/changelog.md b/docs/changelog.md index 4dcb3022..36f4c2a7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,10 @@ nav_order: 2 # Changelog +### Features + +- Added fan speed support to climate + # 3.1.1 Fix Eberle status 2024-08-19 ### Bugfixes diff --git a/docs/climate.md b/d...
XKNX__xknx-1663
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/devices/datetime.py:_DateTimeBase.__init__", "xknx/devices/datetime.py:TimeDevice.broadcast_localtime", "xknx/devices/datetime.py:DateDevice.broadcast_localtime", "xknx/devi...
XKNX/xknx
12ad7c9c7e081d68a91005c8ea2e7f5aac6a7bde
Configurable timezone for `Datetime` device using `localtime` Some systems may be configured to UTC while wanting to send time of a specific timezone to the knx bus. For this it would be required to set a specific timezone for a `Datetime` device using `localtime=True`. `datetime.now(tz=timezone)` can be used instead o...
diff --git a/docs/changelog.md b/docs/changelog.md index abe4c1fc..4e4d814d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,10 @@ nav_order: 2 # Changelog +### Devices + +- Datetime: Accept `datetime.tzinfo` for `timezone` argument to send time information for specific timezone. Boolean works lik...
XKNX__xknx-182
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/devices/light.py:Light.from_config" ], "edited_modules": [ "xknx/devices/light.py:Light" ] }, "file": "xknx/devices/light.py" } ]
XKNX/xknx
fcbfe7f0ab1f0f4890de720bb58ae5a7ca77b50c
Exception within light when using current master "return math.floor(1000000 / kelvin_temperature)" ``` Traceback (most recent call last): File "/home/julius/home-assistant/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop) File "/usr/lib/python...
diff --git a/xknx/devices/light.py b/xknx/devices/light.py index 669a6190..541ecac3 100644 --- a/xknx/devices/light.py +++ b/xknx/devices/light.py @@ -21,6 +21,8 @@ class Light(Device): """Class for managing a light.""" # pylint: disable=too-many-locals + DEFAULT_MIN_KELVIN = 2700 # 370 mireds + DEFA...
XKNX__xknx-190
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "home-assistant-plugin/custom_components/xknx/climate.py:KNXClimate.target_temperature_step", "home-assistant-plugin/custom_components/xknx/climate.py:KNXClimate.operation_list" ], "e...
XKNX/xknx
31c60fe41d267850e20bd201363b37bc4aa4ee38
Climate devices with setpoint_shift While testing #175 @Julius2342 encountered below error which needs to be analysed and properly fixed. ``` 2019-02-19 09:51:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/home/julius/home...
diff --git a/home-assistant-plugin/custom_components/xknx/climate.py b/home-assistant-plugin/custom_components/xknx/climate.py index 71b9356f..938fab5b 100644 --- a/home-assistant-plugin/custom_components/xknx/climate.py +++ b/home-assistant-plugin/custom_components/xknx/climate.py @@ -56,11 +56,6 @@ OPERATION_MODES_IN...
XKNX__xknx-259
[ { "changes": { "added_entities": [ "home-assistant-plugin/custom_components/xknx/cover.py:KNXCover.is_opening", "home-assistant-plugin/custom_components/xknx/cover.py:KNXCover.is_closing" ], "added_modules": null, "edited_entities": [ "home-assistant-plugin/custom...
XKNX/xknx
f6d3131619eb4691cc659fc43cfaa99d31998173
is_open / is_closed not correctly reported if position is inverted **Description of problem:** The cover device directs the is_open and is_closed methods to the TravelCalculator. The problem is, that the TravelCalculator doesn't know about inverted position. So, is_open returns false if the position is 0. But with inv...
diff --git a/home-assistant-plugin/custom_components/xknx/cover.py b/home-assistant-plugin/custom_components/xknx/cover.py index 4c678b43..5177378f 100644 --- a/home-assistant-plugin/custom_components/xknx/cover.py +++ b/home-assistant-plugin/custom_components/xknx/cover.py @@ -143,14 +143,30 @@ class KNXCover(CoverDev...
XKNX__xknx-322
[ { "changes": { "added_entities": [ "home-assistant-plugin/custom_components/xknx/__init__.py:KNXModule.connection_config_auto" ], "added_modules": null, "edited_entities": [ "home-assistant-plugin/custom_components/xknx/__init__.py:KNXModule.connection_config" ], ...
XKNX/xknx
58aca2024624d92115594ea1751c93cf30c0296b
Rework is_open for covers **Description of problem:** I already created an issue in the HA repository (https://github.com/home-assistant/core/issues/34330), but I realized the problem lies in XKNX. Problem shortcut: My garage door can be controlled with knx. It just supports up/down and **cannot** report the curre...
diff --git a/changelog.md b/changelog.md index af3d0bbc..05721e89 100644 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,8 @@ ### New Features +- Cover: add optional `group_address_stop` for manual stopping +- Cover: start travel calculator when up/down telegram from bus is received - HA integration: `knx.send...
XKNX__xknx-397
[ { "changes": { "added_entities": null, "added_modules": [ "xknx/dpt/dpt_4byte_int.py:DPTVolumeLiquidLitre", "xknx/dpt/dpt_4byte_int.py:DPTVolumeM3" ], "edited_entities": null, "edited_modules": null }, "file": "xknx/dpt/dpt_4byte_int.py" } ]
XKNX/xknx
cfa66087ba48350c62b93dfcfa651020978f51ea
Missing DPT's for water meters **Description of problem:** Seems we are missing DPT types for water meters. - [ ] using xknx standalone - [X] using Home-Assistant knx plugin **Version information:** - xknx / Home-Assistant release with the issue: - last working xknx / Home-Assistant release (if known): *...
diff --git a/xknx/dpt/dpt_4byte_int.py b/xknx/dpt/dpt_4byte_int.py index f62dfa9b..ba1d2a38 100644 --- a/xknx/dpt/dpt_4byte_int.py +++ b/xknx/dpt/dpt_4byte_int.py @@ -76,6 +76,24 @@ class DPT4ByteSigned(DPT4ByteUnsigned): _struct_format = ">i" +class DPTVolumeLiquidLitre(DPT4ByteUnsigned): + """DPT 12.1200 ...
XKNX__xknx-406
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/devices/weather.py:Weather.__init__" ], "edited_modules": [ "xknx/devices/weather.py:Weather" ] }, "file": "xknx/devices/weather.py" } ]
XKNX/xknx
5a3bbc5c493fd18761b3d0b3b383d3a35b3efa54
KNX Weather entity payload error for air pressure **Description of problem:** I set up the new weather entity. For the air pressure the HA log shows an error due to an invalid payload. - [ ] using xknx standalone - [X] using Home-Assistant knx plugin **Version information:** - xknx / Home-Assistant release wi...
diff --git a/xknx/devices/weather.py b/xknx/devices/weather.py index 8b155818..48791d01 100644 --- a/xknx/devices/weather.py +++ b/xknx/devices/weather.py @@ -189,7 +189,7 @@ class Weather(Device): xknx, group_address_state=group_address_air_pressure, sync_state=sync_state, - ...
XKNX__xknx-454
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "home-assistant-plugin/custom_components/xknx/const.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_enti...
XKNX/xknx
5b6766ed6f83b863e53b6b6b7d608930ea80718f
Switch: add auto-off function Sometimes it is required to s always send a "OFF" right after sending a "ON" eg. for door openers. I suggest to add a `reset_after` option to Switch, just like BinarySensor, to send the "OFF" telegram after a timer is finished.
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f470c332..29b7fbe0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,33 +2,33 @@ You are awesome! Thanks for contributing to our project! Please, DO NOT DELETE ANY TEXT from this templat...
XKNX__xknx-469
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "home-assistant-plugin/custom_components/xknx/factory.py:_create_sensor" ], "edited_modules": [ "home-assistant-plugin/custom_components/xknx/factory.py:_create_sensor" ] },...
XKNX/xknx
715856fdb69deceba4d54afe4ccf3f7ad304c5ec
Feature request: add the "ignore_internal_state" property to "Sensors" the same way it works already for "Binary Sensors" Hi, In the last release the property "ignore_internal_state" was added to the knx "binary sensor", and it would be great to have this property for knx "sensors" as well. For example I am using...
diff --git a/changelog.md b/changelog.md index 97c850a5..7fdd1b95 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,7 @@ ### Devices +- Sensor: add `always_callback` option - ClimateMode: Refactor climate modes in operation_mode and controller_mode, also fixes a bug for binary operation modes where the mode...
XKNX__xknx-470
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "home-assistant-plugin/custom_components/xknx/factory.py:_create_sensor" ], "edited_modules": [ "home-assistant-plugin/custom_components/xknx/factory.py:_create_sensor" ] },...
XKNX/xknx
715856fdb69deceba4d54afe4ccf3f7ad304c5ec
Use Semaphores in StateUpdater In https://github.com/XKNX/xknx/pull/457 we adjusted the state updater to update each value one by one. However, we should leverage the power of semaphores to update more than one state concurrently as the bus can handle more than one telegram per second. A value between 3 and 5 should...
diff --git a/changelog.md b/changelog.md index 97c850a5..26bbe12a 100644 --- a/changelog.md +++ b/changelog.md @@ -4,11 +4,12 @@ ### Devices +- Sensor: add `always_callback` option - ClimateMode: Refactor climate modes in operation_mode and controller_mode, also fixes a bug for binary operation modes where the mo...
XKNX__xknx-482
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/devices/cover.py:Cover.process_group_write" ], "edited_modules": [ "xknx/devices/cover.py:Cover" ] }, "file": "xknx/devices/cover.py" } ]
XKNX/xknx
785d73b850a97a688a3b1a5e8baf34e82685d1b6
cover.set_cover_position not stopping with no position_address **Description of problem:** Dear xknx team, covers with **no position_address** do not longer stop when moving the slider in the ha frontpanel to a position e.g. 30%. I attached my according HA config as well as some debug log from HA. This was worki...
diff --git a/changelog.md b/changelog.md index b3ef0a15..5ed77445 100644 --- a/changelog.md +++ b/changelog.md @@ -12,6 +12,7 @@ ### Bugfixes - HA Switch entity: keep state without state_address +- Cover: fix `set_position` without writable position / auto_stop_if_necessary ## 0.15.2 Winter is coming diff --gi...
XKNX__xknx-485
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/io/knxip_interface.py:KNXIPInterface.start_routing" ], "edited_modules": [ "xknx/io/knxip_interface.py:KNXIPInterface" ] }, "file": "xknx/io/knxip_interface.py" ...
XKNX/xknx
4a6535c8b3af396ed09c33b4f6696e0dabcd6e54
Invalid date causes error / disconnect **Description of problem:** - [ ] using xknx standalone - [x] using Home-Assistant knx plugin I do see this error in my logfile exactly every 10 minutes: ``` 2020-09-20 18:22:52 WARNING (MainThread) [xknx.log] CEMI not supported: <UnsupportedCEMIMessage description="APCI ...
diff --git a/changelog.md b/changelog.md index 5ed77445..bf26e319 100644 --- a/changelog.md +++ b/changelog.md @@ -13,6 +13,7 @@ - HA Switch entity: keep state without state_address - Cover: fix `set_position` without writable position / auto_stop_if_necessary +- handle unsupported CEMI Messages without loosing tun...
XKNX__xknx-518
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/example_tunnel.py:main" ], "edited_modules": [ "examples/example_tunnel.py:main" ] }, "file": "examples/example_tunnel.py" }, { "changes": { "add...
XKNX/xknx
825ea6303687a8bb4b9f5cb9a371d259e6e4c2ab
Rename PhysicalAddress Should we rename "physical address" to "individual address" in our code as used in the specs? Please leave a reaction with 👍 or 👎
diff --git a/changelog.md b/changelog.md index e61724dd..43f43ced 100644 --- a/changelog.md +++ b/changelog.md @@ -8,6 +8,7 @@ ### Internals +- renamed "PhysicalAddress" to "IndividualAddress" - Telegram: `group_address` renamed to `destination_address`, to prepare support for other APCI services and add `source_...
XKNX__xknx-544
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/example_tunnel.py:main" ], "edited_modules": [ "examples/example_tunnel.py:main" ] }, "file": "examples/example_tunnel.py" }, { "changes": { "add...
XKNX/xknx
4f8ae493f64d944a30672ce64397df4a743f297a
Can't connect to Knx gateway behind NAT on VM I am trying to connect to a knx ip gateway from a homeassistant vm but get a connection error. The vm is behind a NAT on the host. KNX Gateway IP: 192.168.2.191 Host IP: 192.168.2.249 VM IP: 192.168.1.11 My homeassistant configuration <pre>Tunneling: Host: '1...
diff --git a/changelog.md b/changelog.md index b8648063..eefef6fa 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,11 @@ ## Unreleased changes +### New Features + +- Add new optional config `route_back` for connections to be able to work behind NAT. +- Read env vars after reading config file to allow dynami...
XKNX__xknx-572
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "home-assistant-plugin/custom_components/xknx/__init__.py:KNXModule.register_callback" ], "edited_modules": [ "home-assistant-plugin/custom_components/xknx/__init__.py:KNXModule" ...
XKNX/xknx
afa30c7e0acfa91ad68390eb89120e9f50e35b92
Enhance HA knx_event There are some requests about updating the HA knx_event. Eg. https://github.com/home-assistant/core/issues/43256 Currently we just fire the `knx_event` for incoming telegrams, as stated in the documentation. We could - [ ] fire on outgoing telegrams too, not only on incoming - [x] add a p...
diff --git a/changelog.md b/changelog.md index 8692b1d2..b8648063 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Unreleased changes +### HA integration + +- knx_event: fire also for outgoing telegrams + ### Devices - BinarySensor: return `None` for `BinarySensor.counter` when context timeout ...
XKNX__xknx-654
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "home-assistant-plugin/custom_components/xknx/const.py" }, { "changes": { "added_entities": [ "home-assistant-plugin/custom_components/xk...
XKNX/xknx
8f1d4485e31738d4113a8ddaf0d7e57a4aaf2cd5
Feature Request: lock and diagnostic attributes for XKNX devices Hi, would it be possible to extend light, cover, switch and climate (probably even more/all) entities with GAs for additional attributes to see in which actual state they are? As you know, in KNX most things can be locked, have a locked/alarm state and...
diff --git a/changelog.md b/changelog.md index 23cd52aa..1abf723f 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ ## Unreleased changes +- Add support for cover lock - Drop support for python 3.7 ### Internals diff --git a/docs/cover.md b/docs/cover.md index 1ef4700d..a89b88c8 100644 --- a/docs/co...
XKNX__xknx-660
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/core/telegram_queue.py:TelegramQueue.process_telegram_outgoing" ], "edited_modules": [ "xknx/core/telegram_queue.py:TelegramQueue" ] }, "file": "xknx/core/telegram...
XKNX/xknx
5ef5cb68bd894717e6aff8afa0ca3be7af6a66b1
ExposeSensor loopback Outgoing Telegrams are currently only processed in devices when they are of type GroupValueWrite. https://github.com/XKNX/xknx/blob/aa093838dea3db033a29137b5be59131d11eb3bb/xknx/core/telegram_queue.py#L166 This prevents xknx devices to read each other over the KNX bus. Eg. a temperature is s...
diff --git a/changelog.md b/changelog.md index c6b058f7..d8ed8803 100644 --- a/changelog.md +++ b/changelog.md @@ -2,20 +2,24 @@ ## Unreleased changes +## Devices + - Add support for cover lock +- ExposeSensor values can now be read from other xknx devices that share a group address - Add more information to sen...
XKNX__xknx-667
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/dpt/dpt_4byte_float.py:DPT4ByteFloat.from_knx" ], "edited_modules": [ "xknx/dpt/dpt_4byte_float.py:DPT4ByteFloat" ] }, "file": "xknx/dpt/dpt_4byte_float.py" } ]
XKNX/xknx
ceade7f658b411bbfe2de9fd35d4d740744227c9
Feature request: Rounding of sensor values according to KNX specification XKNX sensors are sometimes displayed with lots of decimals, which does not make sense. Example: power = 21.123123123W Sensors values should be rounded by XKNX according to the KNX standard. Example 0 decimals for DPT14.000 ![Unbenannt](https:/...
diff --git a/changelog.md b/changelog.md index c944afa2..5c01aff5 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Unreleased changes +### Internals + +- Round DPT 14 values to precision of 7 digits + ## 0.18.0 ## Devices diff --git a/xknx/dpt/dpt_4byte_float.py b/xknx/dpt/dpt_4byte_float.py in...
XKNX__xknx-822
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/io/tunnel.py:Tunnel.__init__", "xknx/io/tunnel.py:Tunnel.connect", "xknx/io/tunnel.py:Tunnel._tunnelling_request", "xknx/io/tunnel.py:Tunnel._tunnelling_request_received" ...
XKNX/xknx
222df9e954e86832567257e85a26bc8edce1c752
Tunneling: L_Data.con Frames are not awaited properly before sending next L_Data.req I have noticed that, for tunnelling connections, every sent frame is processed twice. Once as OUTGOING and once as INCOMING frame. When we send a TunnelingRequest the frame is sent as L_Data.req. Transmission shall be confirmed in L_...
diff --git a/changelog.md b/changelog.md index 2c7802de..575b7045 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased changes + +### Internals + +- Tunnel: Implement flow control according to KNX spec recommendations: wait for L_DATA.con frame before sending next L_DATA.req with ...
XKNX__xknx-832
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xknx/io/request_response/connect.py:Connect.__init__", "xknx/io/request_response/connect.py:Connect.on_success_hook" ], "edited_modules": [ "xknx/io/request_response/connect....
XKNX/xknx
e2f84405a5a62492c4cbf86de9e32abef043cecb
Handle different Tunneling data and control endpoints correctly KNX tunneling servers can have different data and control endpoints (eg. Calimero does). `DisconnectRequest`s should be sent to the other device’s control endpoint instead of to the data endpoint. (see KNX specification 03_08_04 Tunneling §2.6 Frame confi...
diff --git a/changelog.md b/changelog.md index e312e426..35e3c87c 100644 --- a/changelog.md +++ b/changelog.md @@ -4,7 +4,8 @@ ### Connection -- Fix rate limiter wait time. Don't add time waiting for ACK or L_DATA.con frames to the rate_limit. +- Handle separate Tunneling control and data endpoints +- Fix rate lim...
XKNX__xknx-951
[ { "changes": { "added_entities": [ "xknx/devices/cover.py:Cover._iter_tasks", "xknx/devices/cover.py:Cover._start_position_update", "xknx/devices/cover.py:Cover._start_auto_updater", "xknx/devices/cover.py:Cover._stop_position_update" ], "added_modules": null, ...
XKNX/xknx
7b63b2a1d77119ec9544af16eabb2b403521b554
Cover: Auto-stop Task For setting a specific position for a cover that has no position address https://github.com/XKNX/xknx/blob/785d73b850a97a688a3b1a5e8baf34e82685d1b6/xknx/devices/cover.py#L202 we currently use HA to create an updater hook to call `Cover.auto_stop_if_necessary()` periodically to stop the cover ag...
diff --git a/changelog.md b/changelog.md index b978f734..2883c136 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,7 @@ ### Devices +- Cover: call `device_updated_cb` periodically when cover is moving - Cover: add `invert_updown` option to decouple updown from position - Cover: fix travel time prediction ...
Y-oHr-N__OptGBM-44
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "optgbm/sklearn.py:_Objective.__init__", "optgbm/sklearn.py:_Objective.__call__", "optgbm/sklearn.py:_BaseOGBMModel.__init__", "optgbm/sklearn.py:_BaseOGBMModel._get_objective", ...
Y-oHr-N/OptGBM
f258eba11c9433ff1dc196e842010cc24d31547b
Allow objective to be a callable
diff --git a/optgbm/sklearn.py b/optgbm/sklearn.py index 21102e1..33b559f 100644 --- a/optgbm/sklearn.py +++ b/optgbm/sklearn.py @@ -23,8 +23,12 @@ from sklearn.utils.validation import check_is_fitted try: # lightgbm<=2.2.3 from lightgbm.sklearn import _eval_function_wrapper as _EvalFunctionWrapper + from l...
YatingMusic__miditoolkit-42
[ { "changes": { "added_entities": [ "miditoolkit/midi/containers.py:Instrument.remove_notes_with_no_duration", "miditoolkit/midi/containers.py:Instrument.num_notes" ], "added_modules": null, "edited_entities": [ "miditoolkit/midi/containers.py:Instrument.remove_inv...
YatingMusic/miditoolkit
c81dfe2b5fc87ad40b2d5e9a573a503cd7c95c1b
`remove_invalid_notes` never removes anything unless `verbose=False` See https://github.com/YatingMusic/miditoolkit/blob/38cfa38e7525e9ceb69720e64e2bd49b3eff644a/miditoolkit/midi/containers.py#L287-L305 especially line 300; if `verbose=True`, the code will never reach the actual removal loop.
diff --git a/miditoolkit/midi/containers.py b/miditoolkit/midi/containers.py index 4e0fe6b..bf78592 100755 --- a/miditoolkit/midi/containers.py +++ b/miditoolkit/midi/containers.py @@ -1,4 +1,5 @@ import re +import warnings from dataclasses import dataclass from typing import List, Optional, Union @@ -38,9 +39,9 @...
Yelp__bravado-410
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "bravado/http_future.py:HttpFuture.response" ], "edited_modules": [ "bravado/http_future.py:HttpFuture" ] }, "file": "bravado/http_future.py" }, { "changes": { ...
Yelp/bravado
e479b9286bcf5514e947d258acb1b870741b94ac
is_fallback_result no longer accurate `is_fallback_result` always returns `True` as of 10.3.0 due to #403. Specifically the change [here](https://github.com/Yelp/bravado/pull/403/files#diff-dfa77bc847cf31d43435498de902fe9bL146) which makes `exc_info` from an `Optional` to a non-optional `List`. I made the following ...
diff --git a/bravado/http_future.py b/bravado/http_future.py index a245359..8bfa65d 100644 --- a/bravado/http_future.py +++ b/bravado/http_future.py @@ -188,7 +188,7 @@ class HttpFuture(typing.Generic[T]): :return: A BravadoResponse instance containing the swagger result and response metadata. """ ...
Yelp__bravado-454
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "bravado/fido_client.py:FidoClient.prepare_request_for_twisted" ], "edited_modules": [ "bravado/fido_client.py:FidoClient" ] }, "file": "bravado/fido_client.py" }, {...
Yelp/bravado
2e4c1f9784cd6a7c3154a23524886f286234ac15
Bravado should not silently follow redirects In my API spec, I have an endpoint that returns a 301 redirect. This redirects to another URL on a different server that subsequently returns a 200. However, because bravado is using requests, this redirect never comes back to bravado which gets the 200 (which is not a speci...
diff --git a/bravado/fido_client.py b/bravado/fido_client.py index 81743b9..ba3164c 100644 --- a/bravado/fido_client.py +++ b/bravado/fido_client.py @@ -226,6 +226,7 @@ class FidoClient(HttpClient): 'url': string, 'timeout': float, # optional 'connect_timeout': float,...
Yelp__py_zipkin-107
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "py_zipkin/logging_helper.py:ZipkinBatchSender.add_span" ], "edited_modules": [ "py_zipkin/logging_helper.py:ZipkinBatchSender" ] }, "file": "py_zipkin/logging_helper.py...
Yelp/py_zipkin
2f18c3f2bdbce87d929bead1c555f3404e9371af
Error while encoding Json (_BaseJSONEncoder) I'm trying to use Encoding.V2_JSON \ Encoding.V1_JSON but I'm receiving an exception: ```Traceback (most recent call last): File "/home/dmytro/anaconda3/lib/python3.6/site-packages/py_zipkin/logging_helper.py", line 129, in _emit_spans_with_span_sender report_ti...
diff --git a/py_zipkin/logging_helper.py b/py_zipkin/logging_helper.py index 029fd8f..8fb8b64 100644 --- a/py_zipkin/logging_helper.py +++ b/py_zipkin/logging_helper.py @@ -174,10 +174,10 @@ class ZipkinBatchSender(object): is_over_size_limit = ( self.max_payload_bytes is not None and ...
Yelp__py_zipkin-153
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "py_zipkin/encoding/_helpers.py:Span.build_v1_span" ], "edited_modules": [ "py_zipkin/encoding/_helpers.py:Span" ] }, "file": "py_zipkin/encoding/_helpers.py" }, { ...
Yelp/py_zipkin
8e733506c399967ea74c56b99a9a421e1bb1736a
One-way tracing Hi, I am trying to enable tracing over rabbitmq messages. We have a few services that communicate over http and also send/receive events to rmq channels which then start further actions. The goal is to connect these requests and messages in the unified trace to better see causality behind certain act...
diff --git a/py_zipkin/encoding/_helpers.py b/py_zipkin/encoding/_helpers.py index 4650d89..656891a 100644 --- a/py_zipkin/encoding/_helpers.py +++ b/py_zipkin/encoding/_helpers.py @@ -27,12 +27,6 @@ _V1Span = namedtuple( ) -_DROP_ANNOTATIONS_BY_KIND = { - Kind.CLIENT: {"ss", "sr"}, - Kind.SERVER: {"cs", "cr...
Yelp__pyramid-hypernova-15
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyramid_hypernova/batch.py:BatchRequest.process_responses" ], "edited_modules": [ "pyramid_hypernova/batch.py:BatchRequest" ] }, "file": "pyramid_hypernova/batch.py" ...
Yelp/pyramid-hypernova
573e13042412461fa31bf046473c0033f9dc3fec
"stack" property on HypernovaError is formatted inconsistently When the error is a Python traceback, each element in the list has a trailing newline: ```python [' File "/nail/home/ckuehl/pg/yelp-main/virtualenv_run/lib/python2.7/site-packages/pyramid_hypernova/batch.py", line 116, in process_responses\n response_...
diff --git a/pyramid_hypernova/batch.py b/pyramid_hypernova/batch.py index e4592f1..869b5ea 100644 --- a/pyramid_hypernova/batch.py +++ b/pyramid_hypernova/batch.py @@ -131,9 +131,9 @@ class BatchRequest(object): __, __, exc_traceback = sys.exc_info() error = HypernovaError( - ...
Yelp__pyramid-hypernova-18
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyramid_hypernova/batch.py:BatchRequest.submit" ], "edited_modules": [ "pyramid_hypernova/batch.py:BatchRequest" ] }, "file": "pyramid_hypernova/batch.py" }, { ...
Yelp/pyramid-hypernova
21be2f082e5698fd1c331112d378eac763bb869d
create plugin lifecycle event that allows injecting headers for batch requests We have a use-case where it would be nice to be able to pass some HTTP headers down from the inbound request to the batch endpoint. Let's add a new plugin lifecycle method that can be used to modify the request headers that are sent to the b...
diff --git a/pyramid_hypernova/batch.py b/pyramid_hypernova/batch.py index 0b98a5b..9f19682 100644 --- a/pyramid_hypernova/batch.py +++ b/pyramid_hypernova/batch.py @@ -146,12 +146,14 @@ class BatchRequest(object): job_groups = create_job_groups(self.jobs, self.max_batch_size) queries = [] +...
Yelp__swagger_spec_validator-113
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "swagger_spec_validator/validator20.py:validate_references" ], "edited_modules": [ "swagger_spec_validator/validator20.py:validate_references" ] }, "file": "swagger_spec...
Yelp/swagger_spec_validator
7bdb9507f5df9ed22cabf6474cac0864ff386d09
Identified regression on version 2.4.2 swagger_spec_validator==2.4.2 introduced a regression while validating swagger spec split in multiple files. The regression is caused by dereferencing references without keeping into account the scope (in which file was the reference defined)
diff --git a/swagger_spec_validator/validator20.py b/swagger_spec_validator/validator20.py index 381e9e4..8048241 100644 --- a/swagger_spec_validator/validator20.py +++ b/swagger_spec_validator/validator20.py @@ -85,9 +85,15 @@ def validate_references(raw_spec, deref, path=None, visited_spec_ids=None): # Due t...
Yelp__swagger_spec_validator-138
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "swagger_spec_validator/validator20.py:validate_definition" ], "edited_modules": [ "swagger_spec_validator/validator20.py:validate_definition" ] }, "file": "swagger_spec...
Yelp/swagger_spec_validator
fcc76043ada7bef905e3b01d55fea830347fa6e0
validator errors when `additionalProperties: false` #134 introduces a new code path that validates `additionalProperties`. However, it assumes that additionalProperties, if exists, is an object jsonschema allows for boolean values: https://json-schema.org/understanding-json-schema/reference/object.html > The addit...
diff --git a/swagger_spec_validator/validator20.py b/swagger_spec_validator/validator20.py index 69f9be5..118b676 100644 --- a/swagger_spec_validator/validator20.py +++ b/swagger_spec_validator/validator20.py @@ -512,12 +512,13 @@ def validate_definition(definition, deref, def_name=None, visited_definitions_id ...
Yelp__swagger_spec_validator-145
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "swagger_spec_validator/validator20.py:validate_apis" ], "edited_modules": [ "swagger_spec_validator/validator20.py:validate_apis" ] }, "file": "swagger_spec_validator/v...
Yelp/swagger_spec_validator
dbe08862bc72eb5cf9114405e3ea7c6c35ab2b00
Validator does not check uniqueness of operation ids According to the Swagger spec, the `operationId` of an operation object is: > Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operati...
diff --git a/swagger_spec_validator/validator20.py b/swagger_spec_validator/validator20.py index 339bbba..83fe9c0 100644 --- a/swagger_spec_validator/validator20.py +++ b/swagger_spec_validator/validator20.py @@ -331,7 +331,7 @@ def validate_apis(apis, deref): :raises: :py:class:`swagger_spec_validator.SwaggerVali...
Yelp__swagger_spec_validator-36
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "swagger_spec_validator/__about__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "...
Yelp/swagger_spec_validator
0d6a8a94a5ce2ea1a5b19bd9a07cad85192b038c
Make use of spec_url being passed to `validate_spec` `spec_url` [here](https://github.com/Yelp/swagger_spec_validator/blob/master/swagger_spec_validator/validator20.py#L27) is not getting used as of now. Use it to resolve `$ref`s.
diff --git a/CHANGELOG b/CHANGELOG index 1624c2b..c55f47a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +Version 1.1.0 (2015-08-24) +------------- + * Validate crossrefs - #33, #34 + Version 1.0.12 (2015-07-02) ------------- * Handle API level parameters - #29 diff --git a/swagger_spec_validator/__about__....
Yelp__swagger_spec_validator-93
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "swagger_spec_validator/validator20.py:validate_apis" ], "edited_modules": [ "swagger_spec_validator/validator20.py:validate_apis" ] }, "file": "swagger_spec_validator/v...
Yelp/swagger_spec_validator
40e1cc926775777ff2d56e271fd61697c6235579
Validator does not check uniqueness of operation ids According to the Swagger spec, the `operationId` of an operation object is: > Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operati...
diff --git a/swagger_spec_validator/validator20.py b/swagger_spec_validator/validator20.py index fe17ded..77920c1 100644 --- a/swagger_spec_validator/validator20.py +++ b/swagger_spec_validator/validator20.py @@ -7,6 +7,7 @@ from __future__ import unicode_literals import functools import logging import string +from ...
Yelp__swagger_spec_validator-95
[ { "changes": { "added_entities": [ "swagger_spec_validator/validator20.py:validate_arrays_in_definition" ], "added_modules": [ "swagger_spec_validator/validator20.py:validate_arrays_in_definition" ], "edited_entities": [ "swagger_spec_validator/validator20.p...
Yelp/swagger_spec_validator
40e1cc926775777ff2d56e271fd61697c6235579
Spec validation will not fail if items is not present and type is array The following specs are not valid according to [Swagger 2.0 Specs](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameter-object), editor.swagger.io and according to `swagger-tools` npm package. ```yaml swagger: '2.0' ...
diff --git a/swagger_spec_validator/validator20.py b/swagger_spec_validator/validator20.py index fe17ded..002eb44 100644 --- a/swagger_spec_validator/validator20.py +++ b/swagger_spec_validator/validator20.py @@ -268,6 +268,15 @@ def validate_defaults_in_definition(definition_spec, deref): validate_property_de...
Yelp__venv-update-239
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "setup.py:main" ], "edited_modules": [ "setup.py:main" ] }, "file": "setup.py" }, { "changes": { "added_entities": null, "added_modules": null, ...
Yelp/venv-update
8fb7630dcf0abac99980af5deece9110da0a0a57
incompatibility with virtualenv 20 `virtualenv` version 20 waas released three days ago. Since then, using venv-update unmodified results in this error: ``` OSError: [Errno 39] Directory not empty: '$HOME/.cache/venv-update/3.1.1/src.tmp' -> '$HOME/.cache/venv-update/3.1.1/src' ``` This is due to a ch...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05940cc..ded0df3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,16 +2,8 @@ name: venv-update-ci on: push jobs: - tox: + lint: runs-on: ubuntu-18.04 - strategy: - fail-fast: false - matrix: - ...
YosefLab__Hotspot-14
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "hotspot/hotspot.py:Hotspot.create_knn_graph" ], "edited_modules": [ "hotspot/hotspot.py:Hotspot" ] }, "file": "hotspot/hotspot.py" }, { "changes": { "adde...
YosefLab/Hotspot
f571277fb669880ba593fd53834618a57f2abf82
import knn graph? Would it be useful to have a function to import and use the neighbor graph computed in scanpy (fast for big datasests) the function `hs.create_knn_graph` seems a bit slow on very big datasets, and if the nn graph is already being computed for other analyses in scanpy makes sense to reuse this? Ge...
diff --git a/hotspot/hotspot.py b/hotspot/hotspot.py index a858f66..459f24b 100644 --- a/hotspot/hotspot.py +++ b/hotspot/hotspot.py @@ -126,7 +126,7 @@ class Hotspot: self.module_scores = None def create_knn_graph( - self, weighted_graph=False, n_neighbors=30, neighborhood_factor=3): + ...
Yu-Group__veridical-flow-43
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "vflow/helpers.py:build_vset" ], "edited_modules": [ "vflow/helpers.py:build_vset" ] }, "file": "vflow/helpers.py" } ]
Yu-Group/veridical-flow
6dd7a498fe2ab4753632467a06e28b48ac69fea0
Build_vset not building vfuncs properly Call to `build_vset` is failing to set the `vfuncs` attribute of `Vset` correctly. It is not combining the parameters in `param_dict` accurately. ``` param_dict = { 'n_estimators': [100, 200, 300], 'min_samples_split': [2, 10], # default value comes first 'max...
diff --git a/docs/helpers.html b/docs/helpers.html index d6db935..9b6ff64 100644 --- a/docs/helpers.html +++ b/docs/helpers.html @@ -62,48 +62,53 @@ def init_args(args_tuple: Union[tuple, list], names=None): return output_dicts -def build_vset(name: str, obj, *args, param_dict=None, reps: int = 1, +def build_v...
ZeroTwentyFifty__pact_methodology-51
[ { "changes": { "added_entities": [ "pact_methodology/assurance/assurance.py:Coverage.__str__", "pact_methodology/assurance/assurance.py:Level.__str__", "pact_methodology/assurance/assurance.py:Boundary.__str__", "pact_methodology/assurance/assurance.py:Assurance.__str__" ...
ZeroTwentyFifty/pact_methodology
122fd07a0c956b4f9ba3a14a6cce32ea46b0e4fa
Expand CarbonFootprint object data model. The `CarbonFootprint` class does not implement a full python data model, making interactions with the instance a bit of an annoyance, naturally there are automatically defined dunder methods but a more explicit approach is preferable. This tickets does not need to implement ev...
diff --git a/pact_methodology/assurance/assurance.py b/pact_methodology/assurance/assurance.py index aecf469..8aa4921 100644 --- a/pact_methodology/assurance/assurance.py +++ b/pact_methodology/assurance/assurance.py @@ -9,23 +9,32 @@ class Coverage(str, Enum): PRODUCT_LINE = "product line" PRODUCT_LEVEL = "p...
Zulko__moviepy-1144
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/VideoClip.py:VideoClip.write_videofile" ], "edited_modules": [ "moviepy/video/VideoClip.py:VideoClip" ] }, "file": "moviepy/video/VideoClip.py" } ]
Zulko/moviepy
9cc52c27031b82e098e953f93b2b695247baa780
RFE: Ability to chose path for temp file on write_videofile I'm trying to use moviepy on a Google Cloud Function (similar do AWS Lambda) and can't get around this problem. Even though I can download the original movie and save the resized movie, in an specified directory, the operation fails because write_videofile cre...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e789d1..b272ce2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,10 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - If you were previously setting custom locations for FFmpeg or ImageMagick in ``config_defaults.py`` and Mov...
Zulko__moviepy-1176
[ { "changes": { "added_entities": [ "moviepy/video/VideoClip.py:VideoClip.set_layer" ], "added_modules": null, "edited_entities": [ "moviepy/video/VideoClip.py:VideoClip.__init__", "moviepy/video/VideoClip.py:BitmapClip.__init__" ], "edited_modules": [ ...
Zulko/moviepy
3b25a768ba7f68ed8b8fdd266e93f3ac6a89e9a0
CompositeVideoClip - Different rules for clip appereance I have stumbled upon this problem while coding a feature involving clips being sorted in a different manner than the one intended by the CompositeVideoClip. What i mean by that is that usually while working with any video (outside of Python). You imagine the v...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4010da4..65103a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Optional `encoding` parameter in `SubtitlesClip` [#1043] - Added new `ffmpeg_stabilize_video()` function in ...
Zulko__moviepy-1195
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/Clip.py:Clip.iter_frames" ], "edited_modules": [ "moviepy/Clip.py:Clip" ] }, "file": "moviepy/Clip.py" } ]
Zulko/moviepy
b2ed1f6514cfbc5620ef0ad6460b6feffc37b85a
Floating point precision errors lead to blank frames at end of composite clips Example: ``` clip duration = 0.56 fps = 12.5 ``` When this gets written out to frames, we use (in Clip.py's iterframes): ``` for t in np.arange(0, self.duration, 1.0/fps): ``` But numpy gives: ``` (Pdb) np.arange(0, ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 65103a9..99c6deb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `IndexError` in `vfx.freeze`, `vfx.time_mirror` and `vfx.time_symmetrize` [#1124] - Using `rotate()` with a ...
Zulko__moviepy-1237
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/VideoClip.py:VideoClip.write_videofile", "moviepy/video/VideoClip.py:VideoClip.write_gif" ], "edited_modules": [ "moviepy/video/VideoClip.py:VideoClip" ] ...
Zulko/moviepy
74f08ea4df03e36247b78e2d4743c5aad6901611
Ability to set BGR of VideoFileClip Currently the pix_fmt for ffmpeg is set in VideoFileClip.py via ``` pix_fmt = "rgba" if has_mask else "rgb24" ``` It would be great if VideoFileClip could accept an optional "pix_fmt" arg so that "bgr24" could be used to be consistent with OpenCV.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 83e9504..ba8ac03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Important Announcements ### Added <!-- for new features --> +- New `pix_fmt` parameter in `VideoFileClip...
Zulko__moviepy-1329
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/Clip.py:Clip.set_fps" ], "edited_modules": [ "moviepy/Clip.py:Clip" ] }, "file": "moviepy/Clip.py" } ]
Zulko/moviepy
3a6f0148a2c064899451c5d883a89db80634435e
Ability to set fps of VideoFileClip FFMPEG supports a "video file name" of `image-%04d.png`, and moviepy accepts this in `VideoFileClip()` which is great. But unfortunately it assumes 25 fps, and I don't see any way to change that. I can call `clip=clip.set_fps(24)` but that doesn't change the duration - I think it jus...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fa5c43..95cc727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added <!-- for new features --> - New `pix_fmt` parameter in `VideoFileClip`, `VideoClip.write_videofile...
Zulko__moviepy-1332
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/VideoClip.py:BitmapClip.__init__" ], "edited_modules": [ "moviepy/video/VideoClip.py:BitmapClip" ] }, "file": "moviepy/video/VideoClip.py" }, { "c...
Zulko/moviepy
0e4bf6d1c1b448a477c9be49e49c97b104ba1830
'VideoFileClip' object has no attribute 'coreader' <!-- when i run the examples: "moviepy/examples/example_with_sound.py" I got an error : 'VideoFileClip' object has no attribute 'coreader' --> ### Expected Behavior run the example in moviepy/examples/example_with_sound.py ### Actual Behavior Only "moviepy/au...
diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index a785b01..3a8c491 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -7,12 +7,11 @@ jobs: black: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/ch...
Zulko__moviepy-1333
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/VideoClip.py:BitmapClip.__init__" ], "edited_modules": [ "moviepy/video/VideoClip.py:BitmapClip" ] }, "file": "moviepy/video/VideoClip.py" } ]
Zulko/moviepy
0e4bf6d1c1b448a477c9be49e49c97b104ba1830
BitmapClip produces wrong output with fps != 1 BitmapClip only produces the correct output when `fps=1`. When `fps>1`, frames are duplicated and later frames cut off. Works fine for `fps=1`: ```python from moviepy.video.VideoClip import BitmapClip clip=BitmapClip([["A"], ["B"], ["C"], ["D"]], fps=1) In [18]: c...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c6298e..4729aa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed <!-- for now removed features --> ### Fixed <!-- for any bug fixes --> +- Fixed BitmapClip with ...
Zulko__moviepy-1442
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/example_with_sound.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edi...
Zulko/moviepy
72e14189efc9a0b5ff95834153364ccb3e24900c
'coreader' methods of 'VideoFileClip' and 'AudioFileClip' are buggy These methods were created at #1332 and https://github.com/Zulko/moviepy/commit/fdc51d29b7ce2f3b2c4d0d907c1c62b5da168128, but IMHO I think that are a misunderstanding of how `copy.copy` and `copy.deepcopy` works in Python. - `coreader` methods curre...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ba00923..a3fa0f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Important Announcements ### Added <!-- for new features --> -- `VideoFileClip.coreader()` that creates a...
Zulko__moviepy-1461
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/audio/AudioClip.py:AudioClip.to_soundarray" ], "edited_modules": [ "moviepy/audio/AudioClip.py:AudioClip" ] }, "file": "moviepy/audio/AudioClip.py" }, { ...
Zulko/moviepy
646674c48017bca8bf1eaa576531a090d874a4ed
Freezing movie frame on last frame or end This code freezes the _first frame at the end_ but it should **freeze the last frame** at the end? ``` from moviepy.editor import * mainclip = (VideoFileClip("C:/Users/Admin/Videos/ukulele.mp4") .fx( vfx.freeze, t='end', freeze_duration=2)) final = Compos...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a3fa0f5..cddcdcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed positioning error generating frames in `CompositeVideoClip` [\#1420](https://github.com/Zulko/moviepy/p...
Zulko__moviepy-1462
[ { "changes": { "added_entities": [ "moviepy/audio/AudioClip.py:CompositeAudioClip.starts", "moviepy/audio/AudioClip.py:CompositeAudioClip.ends", "moviepy/audio/AudioClip.py:CompositeAudioClip.make_frame" ], "added_modules": null, "edited_entities": [ "movi...
Zulko/moviepy
7183eaa107b8436ab2277bc5470d2cb124b7d0ca
CompositeAudioClip fails on preview #### Expected Behavior `CompositeVideoClip.preview` should play video and audio. #### Actual Behavior Image is displayed but not audio. #### Steps to Reproduce the Problem ```python3 from moviepy.editor import * video = VideoFileClip("media/chaplin.mp4").with_fps(6...
diff --git a/CHANGELOG.md b/CHANGELOG.md index be6e7ac..df0c844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `AudioClip.max_volume(stereo=True)` now can return more than 2 channels [\#1464](https://github.com/Zulko/mov...
Zulko__moviepy-1471
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/audio/io/readers.py:FFMPEG_AudioReader.__init__", "moviepy/audio/io/readers.py:FFMPEG_AudioReader.get_frame" ], "edited_modules": [ "moviepy/audio/io/readers.py:FFMPE...
Zulko/moviepy
22e207ee745b258651ef61e03125b3f9cbde2d71
how to get the frames number of the whole video ? hi, Just wanna get the frames number directly, do not want to use **duration*fps**, any help ? thx
diff --git a/CHANGELOG.md b/CHANGELOG.md index df0c844..b10d312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,12 +14,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added <!-- for new features --> - Support for `copy.copy(clip)` and `copy.deepcopy(clip)` with same beha...
Zulko__moviepy-1492
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/io/ffmpeg_reader.py:FFmpegInfosParser._reset_state", "moviepy/video/io/ffmpeg_reader.py:FFmpegInfosParser.parse" ], "edited_modules": [ "moviepy/video/io/ffmpeg...
Zulko/moviepy
6e996533c75ca12f5b8debd072baf657f750016e
Support multiline metadata values parsing in 'ffmpeg_parse_infos' From #207, the output reported by the user can't be parsed correctly by `FFMpegInfosParser`: ``` Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2015-09-14 14:57:32 xmp...
diff --git a/moviepy/video/io/ffmpeg_reader.py b/moviepy/video/io/ffmpeg_reader.py index 9846160..5413ed0 100644 --- a/moviepy/video/io/ffmpeg_reader.py +++ b/moviepy/video/io/ffmpeg_reader.py @@ -335,7 +335,7 @@ class FFmpegInfosParser: # this state is neeeded if `duration_tag_separator == "time="` because ...
Zulko__moviepy-1572
[ { "changes": { "added_entities": [ "moviepy/audio/fx/multiply_volume.py:_multiply_volume_in_range" ], "added_modules": [ "moviepy/audio/fx/multiply_volume.py:_multiply_volume_in_range" ], "edited_entities": [ "moviepy/audio/fx/multiply_volume.py:multiply_vol...
Zulko/moviepy
978c3284dc0fe1c9fe779f097beaa760fa992605
Allow to specify time range in multiply_volume effect Currently, if you want to create a silence in a clip, you must do something like: ```python import numpy as np from moviepy.editor import * def make_frame(t): # create stereo A note return np.array( [np.sin(440 * 2 * np.pi * t), np.sin(160...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cf091f..21f62a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `video.io.ffmpeg_reader.ffmpeg_parse_infos` returns metadata of the container in attribute `metadata` [\#1466...
Zulko__moviepy-1768
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/io/ffmpeg_reader.py:FFmpegInfosParser.parse" ], "edited_modules": [ "moviepy/video/io/ffmpeg_reader.py:FFmpegInfosParser" ] }, "file": "moviepy/video/io/f...
Zulko/moviepy
551e265f8bc47b1b952eac5a3bee388930a958bf
Changes in FFmpeg libavformat break FFmpegInfosParser #### Expected Behavior `FFmpegInfosParser.parse` can parse FFmpeg output. #### Actual Behavior `FFmpegInfosParser.parse` fails to parse FFmpeg output starting with commit [b7251ae](https://github.com/FFmpeg/FFmpeg/commit/b7251aed46f5ac96fe65c1c68ddac44b07429467...
diff --git a/moviepy/video/io/ffmpeg_reader.py b/moviepy/video/io/ffmpeg_reader.py index 3e24557..e961017 100644 --- a/moviepy/video/io/ffmpeg_reader.py +++ b/moviepy/video/io/ffmpeg_reader.py @@ -415,14 +415,14 @@ class FFmpegInfosParser: else: self._last_metadata_field_added = fi...
Zulko__moviepy-1788
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "examples/moving_letters.py:moveLetters" ], "edited_modules": [ "examples/moving_letters.py:moveLetters" ] }, "file": "examples/moving_letters.py" }, { "changes"...
Zulko/moviepy
18e9f57d1abbae8051b9aef75de3f19b4d1f0630
Providing filename instead of txt to TextClip results in filename being written instead of the actual content of the file #### Expected Behavior Providing a filename to TextClip instead of txt parameter should produce an image with the text in the provided file being set on the image, for example the following two sni...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 995d3e6..423c2ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed scroll FX not being scrolling [\#1591](https://github.com/Zulko/moviepy/pull/1591) - Fixed parsing FFM...
Zulko__moviepy-890
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "moviepy/video/io/ffmpeg_writer.py:FFMPEG_VideoWriter.__init__", "moviepy/video/io/ffmpeg_writer.py:FFMPEG_VideoWriter.write_frame" ], "edited_modules": [ "moviepy/video/io/ff...
Zulko/moviepy
30bd852b1c4100a6d41eb0fe467265fcbfcdcbe9
FFMPEG VideoWriter throws TypeError on error when logged. First of all, thanks for a great project! It's really useful :+1: Here's a small bug that was actually already raised in #593. Seems that the error checking assumes the output is still in the subprocess stream even when it's been redirected elsewhere. ###...
diff --git a/README.rst b/README.rst index b1f79ef..62003b4 100644 --- a/README.rst +++ b/README.rst @@ -125,7 +125,7 @@ Running `build_docs` has additional dependencies that require installation. .. code:: bash - $ (sudo) pip install moviepy[docs] + $ (sudo) pip install moviepy[doc] The documentation can...
a2i2__surround-106
[ { "changes": { "added_entities": [ "surround/cli.py:allowed_to_access_dir" ], "added_modules": [ "surround/cli.py:allowed_to_access_dir" ], "edited_entities": [ "surround/cli.py:parse_init_args", "surround/cli.py:main" ], "edited_modules"...
a2i2/surround
6e5a32dafc6ba858edc1b21cf6644fb2c6b77815
`surround tutorial` doesn't work if destination directory doesn't exist `surround tutorial <path>` doesn't work if the path doesn't exist. Not sure if this is intended behaviour, but it might be nice to follow what Git does, i.e. * Create the directory if it doesn't exist * Print error if the directory exists but i...
diff --git a/surround/cli.py b/surround/cli.py index e8922cb..f57dc50 100644 --- a/surround/cli.py +++ b/surround/cli.py @@ -93,6 +93,16 @@ def is_valid_dir(aparser, arg): else: return arg +def allowed_to_access_dir(path): + try: + os.makedirs(path, exist_ok=True) + except OSError: + ...
a2i2__surround-107
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "surround/cli.py:parse_run_args", "surround/cli.py:run_locally", "surround/cli.py:run_as_web", "surround/cli.py:get_project_root", "surround/cli.py:main" ], "e...
a2i2/surround
4f4e408b23f8c821b4ce0c621023e5c70d12eaea
Should be able to use surround from any subdir of a project (like git) ``` $ cd tests $ surround list remotename error: project name not present in config ``` It should be able to walk toward the root of the drive looking for the .surround folder before executing the command
diff --git a/surround/cli.py b/surround/cli.py index 62996a6..5090537 100644 --- a/surround/cli.py +++ b/surround/cli.py @@ -175,30 +175,16 @@ def parse_lint_args(args): def parse_run_args(args): logging.getLogger().setLevel(logging.INFO) - deploy = { - "new": { - "dirs": [ - ...
a2i2__surround-176
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "surround/assembler.py:Assembler.init_assembler", "surround/assembler.py:Assembler.run", "surround/assembler.py:Assembler.__run_pipeline", "surround/assembler.py:Assembler.__execu...
a2i2/surround
7cd0e7ec52bb2ae5dfb048a949fed137edcb2d31
Throwing an exception doesn't stop the pipeline
diff --git a/surround/assembler.py b/surround/assembler.py index c028198..b3bb053 100644 --- a/surround/assembler.py +++ b/surround/assembler.py @@ -105,6 +105,8 @@ class Assembler(ABC): :param batch_mode: Whether batch mode should be used :type batch_mode: bool + :returns: whether the initia...
aai-institute__nnbench-103
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/nnbench/runner.py:BenchmarkRunner.run" ], "edited_modules": [ "src/nnbench/runner.py:BenchmarkRunner" ] }, "file": "src/nnbench/runner.py" } ]
aai-institute/nnbench
36bafb95bfaffb4687d8803bb5eefcde29c30734
Benchmark results do not contain parameters Reported by @samuelburbulla (thanks!). Simply put: In the lightning demo, ```python import nnbench @nnbench.benchmark def product(a: int, b: int) -> int: return a * b @nnbench.benchmark def power(a: int, b: int) -> int: return a ** b runner =...
diff --git a/README.md b/README.md index 3b39b81..afcf421 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,11 @@ record = runner.run("__main__", params={"a": 2, "b": 10}) rep = nnbench.BenchmarkReporter() rep.display(record) # ...and print the results to the terminal. -# results in a table like the following: ...
aai-institute__nnbench-112
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/nnbench/context.py:GitEnvironmentInfo.__call__", "src/nnbench/context.py:Context.keys", "src/nnbench/context.py:Context.values", "src/nnbench/context.py:Context.add", ...
aai-institute/nnbench
44debd24e2707b18df4109fdfb0fc0c22fe3dc44
Improve ensure unique keys in `Contexts` upon merge. Follow up from #92 - [x] Define and add a behaviour for non-unique keys in `Context.add` and `Context.update` - [x] Remove the checks for duplicate keys from the `runner.run` method.
diff --git a/src/nnbench/context.py b/src/nnbench/context.py index b0ad493..4ea8f27 100644 --- a/src/nnbench/context.py +++ b/src/nnbench/context.py @@ -88,7 +88,10 @@ class GitEnvironmentInfo: git = "git" return subprocess.run( # nosec: B603 - [git, *args], stdout=subpro...
aai-institute__nnbench-171
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/nnbench/runner.py:iscontainer", "src/nnbench/runner.py:isdunder", "src/nnbench/runner.py:BenchmarkRunner.collect", "src/nnbench/runner.py:BenchmarkRunner.run" ], ...
aai-institute/nnbench
7b8c043e245b714815980d16671b445a1b9eb253
Add a run name to the BenchmarkRecord (and JSON representations) Benchmark records should get a name to identify them with. This doesn't have to be overengineered (something like a UUID or prefix + machine name should be fine), but it can be useful e.g. as a primary key for database streaming or an extra index for a ta...
diff --git a/src/nnbench/runner.py b/src/nnbench/runner.py index ace830a..ae37729 100644 --- a/src/nnbench/runner.py +++ b/src/nnbench/runner.py @@ -5,8 +5,10 @@ import contextlib import inspect import logging import os +import platform import sys import time +import uuid import warnings from collections.abc imp...
aarande__nexradaws-9
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "nexradaws/nexradawsinterface.py:NexradAwsInterface.get_avail_years", "nexradaws/nexradawsinterface.py:NexradAwsInterface.get_avail_months", "nexradaws/nexradawsinterface.py:NexradAwsInte...
aarande/nexradaws
f9a8a73b982f9392b9a7af30db4fb2572d37c1c1
Function get_avail_scans should check for existence of resp['Contents'] If no data at all is available for a given date, then resp['Contents'] does not exist in the function get_avail_scans. This raises an error, while more desired behaviour is to return an empty list I think. I found this issue because I wanted to...
diff --git a/nexradaws/nexradawsinterface.py b/nexradaws/nexradawsinterface.py index 63ceb75..8b4ba0f 100644 --- a/nexradaws/nexradawsinterface.py +++ b/nexradaws/nexradawsinterface.py @@ -47,7 +47,8 @@ class NexradAwsInterface(object): """ years = [] resp = self._bucket.meta.client.list_obje...
aau-network-security__richkit-120
[ { "changes": { "added_entities": [ "richkit/lookup/__init__.py:maxmindb_licence_key" ], "added_modules": [ "richkit/lookup/__init__.py:maxmindb_licence_key" ], "edited_entities": null, "edited_modules": null }, "file": "richkit/lookup/__init__.py" },...
aau-network-security/richkit
763780c9c9134df392ac616ba16878a57139143d
is_outdated function fails - in `test_util.py` file is_outdated function is failing, needs to be fixed.
diff --git a/richkit/lookup/__init__.py b/richkit/lookup/__init__.py index 6f246d7..b5b87b5 100644 --- a/richkit/lookup/__init__.py +++ b/richkit/lookup/__init__.py @@ -34,3 +34,13 @@ def registered_country(ip_address): :param ip_address: IP Address (string) """ return geo.get_registered_country(ip_addre...
aau-network-security__richkit-75
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "richkit/retrieve/symantec.py" } ]
aau-network-security/richkit
9848e909713e69cf37df774be1002b73fa880a1f
Fix example from README.md: retrieve.symantec.LocalCategoryDB ``` $ ipython Python 3.7.0 (default, Feb 4 2020, 14:16:38) Type 'copyright', 'credits' or 'license' for more information IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: >>> from richkit.retrieve.symantec import fetch_fro...
diff --git a/.gitignore b/.gitignore index 65f3e29..dc169e2 100644 --- a/.gitignore +++ b/.gitignore @@ -109,4 +109,7 @@ venv.bak/ # mypy .mypy_cache/ -.idea/* \ No newline at end of file +.idea/* + +# caches for of resources fetched from Internet, used in richkit +richkit/retrieve/data/categorized_urls.txt \ No ne...
abantos__bolt-88
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "bolt/about.py" }, { "changes": { "added_entities": null, "added_modules": [ "bolt/tasks/bolt_setup.py:BuildSetupError" ], ...
abantos/bolt
39a5db9fa29ec6c13dceb51480fb3e56574aa2a7
Setup Task Swallows Errors Building Distribution ### Description The current implementation of the Setup task does not evaluate the return object from `distutils.core.run_setup()` and it just assumes it works. Unfortunately, some environments will not have the right tools to build a distribution; therefore, the task w...
diff --git a/bolt/about.py b/bolt/about.py index 3c285ba..9b6ae95 100644 --- a/bolt/about.py +++ b/bolt/about.py @@ -8,4 +8,4 @@ A task runner written in Python copyright = u'2016 Abantos' author = u'Isaac Rodriguez' version = u'0.2' -release = u'0.2.2' +release = u'0.2.3' diff --git a/bolt/tasks/bolt_setup.py b/bol...
abdelrahman0w__ouro-43
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "ouro/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "ouro/__main__.py:pa...
abdelrahman0w/ouro
5667a7e6958346a092b070b240854b9e132407ea
refactor-get-module-path
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1495953..ff21a4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.2.0 (2024-02-13) + +### Features + +- Enhance performance by around %60 + ## 0.1.3 (2024-01-31) ### Fixed diff --git a/README.md b/README.md index 81d452f..2ba6e2f 10064...
abdullahselek__HerePy-25
[ { "changes": { "added_entities": [ "herepy/routing_api.py:RoutingApi._get_coordinates_for_location_name" ], "added_modules": null, "edited_entities": [ "herepy/routing_api.py:RoutingApi._route", "herepy/routing_api.py:RoutingApi.bicycle_route", "herepy/rou...
abdullahselek/HerePy
8691e147549141dc8287ba16a4396a63ed09b73b
Combine routing api and geocoder to allow routing to/from names Add a new function to the routing api that takes names for the origin and destination. Call the geocoder api to resolve these to coordinates. I would be happy to create a PR for this if you would welcome this feature.
diff --git a/README.rst b/README.rst index b6bd1b8..78d2e19 100644 --- a/README.rst +++ b/README.rst @@ -224,6 +224,14 @@ Calculate an MxN cost matrix for M start points and N destinations departure='2013-07-04T17:00:00+02', modes=[herepy.RouteMode.fastest, herepy.RouteMode.car]) +Calculate route pr...
abdullahselek__HerePy-84
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "herepy/routing_api.py:RoutingApi.route_v8" ], "edited_modules": [ "herepy/routing_api.py:RoutingApi" ] }, "file": "herepy/routing_api.py" }, { "changes": { ...
abdullahselek/HerePy
a8f1b580482fbd88d9e6660cf17cc4c63407f279
In `RoutingAPI.route_v8`, some parameters are ignored. When executing `route_v8`, `avoid`, `exclude` and `truck` parameters are ignored. 1. Only first key from argument dict is taken from those arguments [[1](https://github.com/abdullahselek/HerePy/blob/a8f1b580482fbd88d9e6660cf17cc4c63407f279/herepy/routing_api.py...
diff --git a/herepy/routing_api.py b/herepy/routing_api.py index c2e2df2..4068c3d 100644 --- a/herepy/routing_api.py +++ b/herepy/routing_api.py @@ -457,17 +457,9 @@ class RoutingApi(HEREApi): if alternatives: data["alternatives"] = alternatives if avoid: - key = list(avoid.key...
abe-winter__automigrate-4
[ { "changes": { "added_entities": [ "automig/lib/wrappers.py:iswhitespace" ], "added_modules": [ "automig/lib/wrappers.py:iswhitespace" ], "edited_entities": [ "automig/lib/wrappers.py:split_pun" ], "edited_modules": [ "automig/lib/wrapper...
abe-winter/automigrate
fb7c4aa328a1581e0638b95e08fd7d3ad0f4bf01
newlines not being treated as whitespace ## Traceback ```python ... File "/home/awinter/2019/automigrate/automig/lib/wrappers.py", line 64, in name assert isinstance(self.tokens[0], sqlparse.sql.Identifier) AssertionError ```
diff --git a/README.md b/README.md index da4efda..d9613bb 100644 --- a/README.md +++ b/README.md @@ -108,3 +108,5 @@ Happy to accept PRs to generate ORM defs from `create table` stmts (or vice vers pip install pytest pytest # in repo root ``` + +If you want to pitch in on the project, there are a bunch of `@pytest.m...
abey79__vpype-110
[ { "changes": { "added_entities": [ "vpype_cli/operations.py:snap" ], "added_modules": [ "vpype_cli/operations.py:snap" ], "edited_entities": null, "edited_modules": null }, "file": "vpype_cli/operations.py" } ]
abey79/vpype
11c9d61117a1a629075e966f08e58f04292885d1
Feature: add `snap` command Snap everything to an arbitrary grid with deduplication of line vertices: ```python @click.command() @click.argument( "pitch", type=Length(), default="1mm", help="Grid pitch", ) @layer_processor def snap(lines: LineCollection, pitch: float) -> LineCollection: ...
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 0c915be..de76b0d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,6 +8,8 @@ _to be completed_ - [ ] code formatting ok (`black` and `isort`) - [ ] `mypy vpype vpype_cli tests` returns no er...
abh1nav__gnippy-16
[ { "changes": { "added_entities": [ "gnippy/rules.py:_generate_delete_url" ], "added_modules": [ "gnippy/rules.py:_generate_delete_url" ], "edited_entities": [ "gnippy/rules.py:_delete" ], "edited_modules": [ "gnippy/rules.py:_delete" ...
abh1nav/gnippy
f9fc42bf37cb9f415df18fd7f72a238d1cbd69e0
Rules URL is incorrectly generated if endpoint URL has parameters This does not work if `conf['url']` has params. ``` rules_url = _generate_rules_url(conf['url']) + "?_method=delete" ``` Example generated URL: ``` https://api.gnip.com:443/accounts/XXX/publishers/twitter/streams/track/prod/rules.json?client=...
diff --git a/gnippy/rules.py b/gnippy/rules.py index 0309b5d..f5f1d04 100644 --- a/gnippy/rules.py +++ b/gnippy/rules.py @@ -2,6 +2,11 @@ import json +try: + from urllib.parse import urlparse +except: + from urlparse import urlparse + import requests from six import string_types @@ -82,6 +87,17 @@ def _p...
abh1nav__gnippy-25
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "gnippy/rules.py:_check_rules_list" ], "edited_modules": [ "gnippy/rules.py:_check_rules_list" ] }, "file": "gnippy/rules.py" } ]
abh1nav/gnippy
ce2968934c3d25aabda033a544e3abcc0e80775e
New rule format breaks delete example The examples in the README for deleting rules are broken due to the addition of the id field in the rules returned by GNIP. from gnippy import rules from gnippy.errors import RuleDeleteFailedException, RulesGetFailedException try: rules_list = rules.get_...
diff --git a/gnippy/rules.py b/gnippy/rules.py index 37877f8..be59fcc 100644 --- a/gnippy/rules.py +++ b/gnippy/rules.py @@ -31,7 +31,7 @@ def _check_rules_list(rules_list): if not isinstance(rules_list, list): fail() - expected = ("value", "tag") + expected = ("value", "tag", "id") for r in ...
abhinavsingh__proxy.py-137
[ { "changes": { "added_entities": [ "benchmark.py:Benchmark.parse_pipeline_response" ], "added_modules": null, "edited_entities": [ "benchmark.py:Benchmark.recv", "benchmark.py:Benchmark.send" ], "edited_modules": [ "benchmark.py:Benchmark" ...
abhinavsingh/proxy.py
69445a8921ba82738bde1f64e0939a34d08aaae2
[HttpParser] Handle invalid/malformed request chunks from client **Describe the bug** Currently, `HttpParser` works well assuming incoming client is not notorious :) Handle cases when client can send invalid chunks in requests. **To Reproduce** Steps to reproduce the behavior: 1. Run `proxy.py` as `proxy.py --pa...
diff --git a/benchmark.py b/benchmark.py index 9c69ff0..5ce5414 100755 --- a/benchmark.py +++ b/benchmark.py @@ -56,27 +56,46 @@ class Benchmark: writer.write(proxy.build_http_request( proxy.httpMethods.GET, b'/' )) - # await asyncio.sleep(0.1) + ...
abhinavsingh__proxy.py-277
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "proxy/common/version.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "proxy/http/p...
abhinavsingh/proxy.py
f75e21c4b159f2ef7ecb421768fbf3a15bf2bee3
Broken tests on Python 3.7+ (urllib.parse behavior has changed) **Describe the bug** Broken TLS interception tests, which were working fine up until Jan 7th. <img width="983" alt="Screen Shot 2020-01-20 at 8 10 19 AM" src="https://user-images.githubusercontent.com/126065/72741064-bef4d300-3b5b-11ea-8680-983ad8ea8c91....
diff --git a/proxy/common/version.py b/proxy/common/version.py index 1a23f79..170fcbc 100644 --- a/proxy/common/version.py +++ b/proxy/common/version.py @@ -8,5 +8,5 @@ :copyright: (c) 2013-present by Abhinav Singh and contributors. :license: BSD, see LICENSE for more details. """ -VERSION = (2, 1, 0) +VERSI...
abhinavsingh__proxy.py-362
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "proxy/common/version.py" }, { "changes": { "added_entities": [ "proxy/http/proxy/server.py:HttpProxyPlugin.gen_ca_signed_certificate" ...
abhinavsingh/proxy.py
ab089012395f94ab8e502c44a985bbf7d088c1b4
[Ubuntu] Cannot use TLS interception **Describe the bug** Iam not able to use the TLS interception feature, as provided in the readme section. Even the basic **To Reproduce** Steps to reproduce the behavior: 1. [Host machine] Install proxy==2.1.2 ```pip install proxy.py``` 2. [Host machine] create ssl files ``...
diff --git a/README.md b/README.md index 9140f9d..1ce5e21 100644 --- a/README.md +++ b/README.md @@ -795,8 +795,7 @@ response from the server. Start `proxy.py` as: ``` -> :note: **MacOS users** also need to pass explicit CA file path -> needed for validation of peer certificates. See --ca-file flag. +[![NOTE](htt...
abhinavsingh__proxy.py-688
[ { "changes": { "added_entities": [ "proxy/http/parser.py:HttpParser.content_expected", "proxy/http/parser.py:HttpParser._process_body", "proxy/http/parser.py:HttpParser._process_line_and_headers", "proxy/http/parser.py:HttpParser._process_line", "proxy/http/parser.p...
abhinavsingh/proxy.py
9e9ca90087243cfccc1de3fb5f29b1fb8371d748
[build_response] Empty origin responses trigger an AssertionError in build_response **Check FAQs** Please check [Frequently Asked Questions](https://github.com/abhinavsingh/proxy.py#frequently-asked-questions) before opening a bug report. **Describe the bug** I'm building a plugin that has to modify the headers/bo...
diff --git a/proxy/http/parser.py b/proxy/http/parser.py index 927ca44..f51ec8e 100644 --- a/proxy/http/parser.py +++ b/proxy/http/parser.py @@ -43,35 +43,59 @@ T = TypeVar('T', bound='HttpParser') class HttpParser: - """HTTP request/response parser.""" + """HTTP request/response parser. + + TODO: Make me...
abhinavsingh__proxy.py-740
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "proxy/http/parser/parser.py:HttpParser._process_line" ], "edited_modules": [ "proxy/http/parser/parser.py:HttpParser" ] }, "file": "proxy/http/parser/parser.py" } ]
abhinavsingh/proxy.py
8052c907e8ed7bd889a13c8029a657675d6fd13a
[HttpParser] Handle invalid/malformed request chunks from client **Describe the bug** Currently, `HttpParser` works well assuming incoming client is not notorious :) Handle cases when client can send invalid chunks in requests. **To Reproduce** Steps to reproduce the behavior: 1. Run `proxy.py` as `proxy.py --pa...
diff --git a/proxy/http/parser/parser.py b/proxy/http/parser/parser.py index f81a100..151e037 100644 --- a/proxy/http/parser/parser.py +++ b/proxy/http/parser/parser.py @@ -27,7 +27,6 @@ from .protocol import ProxyProtocol from .chunk import ChunkParser, chunkParserStates from .types import httpParserTypes, httpParse...
abhinavsingh__proxy.py-76
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "proxy.py:TcpServer.__init__", "proxy.py:TcpServer.run", "proxy.py:HttpParser.parse", "proxy.py:HttpParser.process_header", "proxy.py:HttpParser.add_header", "prox...
abhinavsingh/proxy.py
5d4f73541537282c3dcea6b7c26972a3254cee49
Auto-detect IPv4 / IPv6 listen based upon --hostname arg For brief background see https://github.com/abhinavsingh/proxy.py/issues/68#issuecomment-532799345
diff --git a/Makefile b/Makefile index 9089024..369c875 100644 --- a/Makefile +++ b/Makefile @@ -36,10 +36,10 @@ coverage: open htmlcov/index.html lint: - flake8 --ignore=E501,W504 --builtins="unicode" proxy.py - flake8 --ignore=E501,W504 tests.py autopep8 --recursive --in-place --aggressive --aggressive proxy.p...
ably__ably-python-161
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "ably/http/http.py:Http.make_request" ], "edited_modules": [ "ably/http/http.py:Http" ] }, "file": "ably/http/http.py" } ]
ably/ably-python
2914db9ede5ef08ad28b6c0699cd0aac765a184a
Channel.publish sometimes returns None after exhausting retries When trying to figure out the failure cases for `Channel.publish`, I found that if the method receives a series of 500 requests greater than the retry count, the method won't raise an error and will instead return `None`. This means that to check for al...
diff --git a/ably/http/http.py b/ably/http/http.py index 6e7bbbb..8cccd47 100644 --- a/ably/http/http.py +++ b/ably/http/http.py @@ -200,8 +200,7 @@ class Http: # if last try or cumulative timeout is done, throw exception up time_passed = time.time() - requested_at - i...
abs-tudelft__vhdeps-21
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "vhdeps/targets/ghdl.py:_run_test_case" ], "edited_modules": [ "vhdeps/targets/ghdl.py:_run_test_case" ] }, "file": "vhdeps/targets/ghdl.py" }, { "changes": { ...
abs-tudelft/vhdeps
85fb3cccacdfa99132170c6ba8ae58d300b3ebfd
GHDL and vsim backends cannot handle multiple test cases in one file See title. Individual test cases are represented as `VhdFile` objects everywhere in these backends, making use of the `VhdFile.unit` attribute, which can be `None` when multiple are defined per file. This may be fixable by representing the test cases ...
diff --git a/vhdeps/targets/ghdl.py b/vhdeps/targets/ghdl.py index a354670..3e0e2b8 100644 --- a/vhdeps/targets/ghdl.py +++ b/vhdeps/targets/ghdl.py @@ -140,7 +140,7 @@ def _run_test_case(output_file, test_case, vcd_dir, ghdl_elaborate, ghdl_run): exit_code, *_ = run_cmd( output_file, ghdl_elabor...
abs-tudelft__vhdeps-22
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "vhdeps/targets/ghdl.py:_get_ghdl_cmds", "vhdeps/targets/ghdl.py:add_arguments" ], "edited_modules": [ "vhdeps/targets/ghdl.py:_get_ghdl_cmds", "vhdeps/targets/ghdl.py...
abs-tudelft/vhdeps
f2b55a77340e99d13e1adea753c63d10f2b06d79
Passing arbitrary arguments to GHDL Sometimes one might want to pass some extra arguments to GHDL, especially with the GCC backend to pass additional compiler flags. There is currently no command-line syntax for this.
diff --git a/vhdeps/targets/ghdl.py b/vhdeps/targets/ghdl.py index 3e0e2b8..ff426a1 100644 --- a/vhdeps/targets/ghdl.py +++ b/vhdeps/targets/ghdl.py @@ -81,7 +81,22 @@ def add_arguments(parser): 'regardless of whether it passed or not. If there are multiple test ' 'cases, gtkwave is launched for the f...