libusb1 3.3.0__tar.gz → 3.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libusb1-3.3.0/libusb1.egg-info → libusb1-3.3.1}/PKG-INFO +6 -1
- {libusb1-3.3.0 → libusb1-3.3.1}/README.rst +5 -0
- {libusb1-3.3.0 → libusb1-3.3.1/libusb1.egg-info}/PKG-INFO +6 -1
- {libusb1-3.3.0 → libusb1-3.3.1}/setup.py +2 -2
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/__init__.py +1 -1
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/_libusb1.py +21 -1
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/_version.py +3 -3
- {libusb1-3.3.0 → libusb1-3.3.1}/.gitattributes +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/.gitignore +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/.pylintrc +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/COPYING +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/COPYING.LESSER +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/KEYS +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/MANIFEST.in +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/examples/README +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/examples/hotplug.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/examples/hotplug_advanced.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/examples/listdevs.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/examples/scan_device_tree.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/libusb1.egg-info/SOURCES.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/libusb1.egg-info/dependency_links.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/libusb1.egg-info/entry_points.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/libusb1.egg-info/top_level.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/libusb1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/runTestLibusb.sh +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/setup.cfg +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/setup.sh +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/stdeb.cfg +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/__pyinstaller/__init__.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/__pyinstaller/hook-usb1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/__pyinstaller/test_libusb1_packaging.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/libusb1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/usb1/testUSB1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.3.1}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: libusb1
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.1
|
|
4
4
|
Summary: Pure-python wrapper for libusb-1.0
|
|
5
5
|
Home-page: https://github.com/vpelletier/python-libusb1
|
|
6
6
|
Author: Vincent Pelletier
|
|
@@ -611,6 +611,11 @@ Fix finalizer registration errors on pypi by using a thread-safe sequential numb
|
|
|
611
611
|
|
|
612
612
|
Check in-dll version when creating Windows wheels. Should hopefully version mixups like what happened in 3.1.0 .
|
|
613
613
|
|
|
614
|
+
3.3.1
|
|
615
|
+
-----
|
|
616
|
+
|
|
617
|
+
Fix ``AttributeError`` in ``USBContext.setPollFDNotifiers`` introduced in 3.3.0 .
|
|
618
|
+
|
|
614
619
|
.. _CPython: http://www.python.org/
|
|
615
620
|
|
|
616
621
|
.. _pypy: http://pypy.org/
|
|
@@ -589,6 +589,11 @@ Fix finalizer registration errors on pypi by using a thread-safe sequential numb
|
|
|
589
589
|
|
|
590
590
|
Check in-dll version when creating Windows wheels. Should hopefully version mixups like what happened in 3.1.0 .
|
|
591
591
|
|
|
592
|
+
3.3.1
|
|
593
|
+
-----
|
|
594
|
+
|
|
595
|
+
Fix ``AttributeError`` in ``USBContext.setPollFDNotifiers`` introduced in 3.3.0 .
|
|
596
|
+
|
|
592
597
|
.. _CPython: http://www.python.org/
|
|
593
598
|
|
|
594
599
|
.. _pypy: http://pypy.org/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: libusb1
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.1
|
|
4
4
|
Summary: Pure-python wrapper for libusb-1.0
|
|
5
5
|
Home-page: https://github.com/vpelletier/python-libusb1
|
|
6
6
|
Author: Vincent Pelletier
|
|
@@ -611,6 +611,11 @@ Fix finalizer registration errors on pypi by using a thread-safe sequential numb
|
|
|
611
611
|
|
|
612
612
|
Check in-dll version when creating Windows wheels. Should hopefully version mixups like what happened in 3.1.0 .
|
|
613
613
|
|
|
614
|
+
3.3.1
|
|
615
|
+
-----
|
|
616
|
+
|
|
617
|
+
Fix ``AttributeError`` in ``USBContext.setPollFDNotifiers`` introduced in 3.3.0 .
|
|
618
|
+
|
|
614
619
|
.. _CPython: http://www.python.org/
|
|
615
620
|
|
|
616
621
|
.. _pypy: http://pypy.org/
|
|
@@ -34,9 +34,9 @@ if os.getenv('I_KNOW_HOW_TO_RELEASE_PYTHON_LIBUSB1') != '1' and any(
|
|
|
34
34
|
sys.exit(1)
|
|
35
35
|
|
|
36
36
|
CURRENT_WINDOWS_7Z_SHA256 = (
|
|
37
|
-
'
|
|
37
|
+
'ce633f98c3ce6aec82be3c0d273ab8bdd160642174faba4eb47d8dcd92af7f05'
|
|
38
38
|
)
|
|
39
|
-
CURRENT_DLL_VERSION = '1.0.
|
|
39
|
+
CURRENT_DLL_VERSION = '1.0.28.11946'
|
|
40
40
|
|
|
41
41
|
cmdclass = versioneer.get_cmdclass()
|
|
42
42
|
class upload(Command):
|
|
@@ -2603,7 +2603,7 @@ class USBContext(_LibUSB1Finalizer):
|
|
|
2603
2603
|
# race-condition) it is not a big deal, as __finalizePollFDNotifiers
|
|
2604
2604
|
# will do the right thing even if called multiple times in a row.
|
|
2605
2605
|
self.__has_pollfd_finalizer = True
|
|
2606
|
-
self.
|
|
2606
|
+
self._getFinalizer(
|
|
2607
2607
|
self,
|
|
2608
2608
|
self.__finalizePollFDNotifiers, # Note: staticmethod
|
|
2609
2609
|
context_p=self.__context_p,
|
|
@@ -841,6 +841,24 @@ LIBUSB_DT_INTERFACE_SIZE = 9
|
|
|
841
841
|
LIBUSB_DT_ENDPOINT_SIZE = 7
|
|
842
842
|
LIBUSB_DT_ENDPOINT_AUDIO_SIZE = 9 # Audio extension
|
|
843
843
|
LIBUSB_DT_HUB_NONVAR_SIZE = 7
|
|
844
|
+
LIBUSB_DT_SS_ENDPOINT_COMPANION_SIZE = 6
|
|
845
|
+
LIBUSB_DT_BOS_SIZE = 5
|
|
846
|
+
LIBUSB_DT_DEVICE_CAPABILITY_SIZE = 3
|
|
847
|
+
LIBUSB_DT_INTERFACE_ASSOCIATION_SIZE = 8
|
|
848
|
+
|
|
849
|
+
# BOS descriptor sizes
|
|
850
|
+
LIBUSB_BT_USB_2_0_EXTENSION_SIZE = 7
|
|
851
|
+
LIBUSB_BT_SS_USB_DEVICE_CAPABILITY_SIZE = 10
|
|
852
|
+
LIBUSB_BT_SSPLUS_USB_DEVICE_CAPABILITY_SIZE = 12
|
|
853
|
+
LIBUSB_BT_CONTAINER_ID_SIZE = 20
|
|
854
|
+
LIBUSB_BT_PLATFORM_DESCRIPTOR_MIN_SIZE = 20
|
|
855
|
+
|
|
856
|
+
LIBUSB_DT_BOS_MAX_SIZE = (
|
|
857
|
+
LIBUSB_DT_BOS_SIZE +
|
|
858
|
+
LIBUSB_BT_USB_2_0_EXTENSION_SIZE +
|
|
859
|
+
LIBUSB_BT_SS_USB_DEVICE_CAPABILITY_SIZE +
|
|
860
|
+
LIBUSB_BT_CONTAINER_ID_SIZE
|
|
861
|
+
)
|
|
844
862
|
|
|
845
863
|
LIBUSB_ENDPOINT_ADDRESS_MASK = 0x0f # in bEndpointAddress
|
|
846
864
|
LIBUSB_ENDPOINT_DIR_MASK = 0x80
|
|
@@ -1151,8 +1169,10 @@ libusb_speed = Enum({
|
|
|
1151
1169
|
'LIBUSB_SPEED_HIGH': 3,
|
|
1152
1170
|
# The device is operating at super speed (5000MBit/s).
|
|
1153
1171
|
'LIBUSB_SPEED_SUPER': 4,
|
|
1154
|
-
# The device is operating at super speed plus (10000MBit/s)
|
|
1172
|
+
# The device is operating at super speed plus (10000MBit/s).
|
|
1155
1173
|
'LIBUSB_SPEED_SUPER_PLUS': 5,
|
|
1174
|
+
# The device is operating at super speed plus x2 (20000MBit/s).
|
|
1175
|
+
'LIBUSB_SPEED_SUPER_PLUS_X2': 6,
|
|
1156
1176
|
})
|
|
1157
1177
|
|
|
1158
1178
|
libusb_supported_speed = Enum({
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-03-
|
|
11
|
+
"date": "2025-03-24T05:33:43+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.3.
|
|
14
|
+
"full-revisionid": "292143c8f4465fdcb2c35ed40cdd7e4dd8d031e1",
|
|
15
|
+
"version": "3.3.1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|