Nuitka-winsvc 2.3.11__cp311-cp311-win_amd64.whl → 2.4.5__cp311-cp311-win_amd64.whl

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.

Potentially problematic release.


This version of Nuitka-winsvc might be problematic. Click here for more details.

Files changed (213) hide show
  1. Nuitka_winsvc-2.3.11.data/scripts/nuitka-run.bat → Nuitka_winsvc-2.4.5.data/scripts/nuitka-run.cmd +1 -1
  2. {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.5.dist-info}/METADATA +1 -1
  3. {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.5.dist-info}/RECORD +213 -210
  4. {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.5.dist-info}/WHEEL +1 -1
  5. nuitka/CacheCleanup.py +6 -1
  6. nuitka/HardImportRegistry.py +30 -2
  7. nuitka/MainControl.py +62 -35
  8. nuitka/ModuleRegistry.py +11 -3
  9. nuitka/OptionParsing.py +78 -39
  10. nuitka/Options.py +142 -35
  11. nuitka/OutputDirectories.py +5 -0
  12. nuitka/PostProcessing.py +23 -14
  13. nuitka/Progress.py +2 -1
  14. nuitka/PythonFlavors.py +22 -4
  15. nuitka/PythonVersions.py +18 -0
  16. nuitka/Tracing.py +1 -0
  17. nuitka/TreeXML.py +6 -3
  18. nuitka/Version.py +1 -1
  19. nuitka/__main__.py +55 -10
  20. nuitka/__past__.py +5 -0
  21. nuitka/build/Backend.scons +6 -1
  22. nuitka/build/CCompilerVersion.scons +1 -0
  23. nuitka/build/Onefile.scons +4 -0
  24. nuitka/build/SconsCaching.py +2 -1
  25. nuitka/build/SconsCompilerSettings.py +1 -0
  26. nuitka/build/SconsHacks.py +5 -1
  27. nuitka/build/SconsInterface.py +2 -0
  28. nuitka/build/SconsUtils.py +4 -1
  29. nuitka/build/include/nuitka/allocator.h +27 -5
  30. nuitka/build/include/nuitka/calling.h +1 -1
  31. nuitka/build/include/nuitka/compiled_frame.h +23 -23
  32. nuitka/build/include/nuitka/compiled_method.h +1 -1
  33. nuitka/build/include/nuitka/exception_groups.h +0 -2
  34. nuitka/build/include/nuitka/helper/attributes.h +7 -1
  35. nuitka/build/include/nuitka/helper/subscripts.h +1 -1
  36. nuitka/build/include/nuitka/helpers.h +10 -3
  37. nuitka/build/include/nuitka/prelude.h +6 -15
  38. nuitka/build/include/nuitka/printing.h +2 -0
  39. nuitka/build/include/nuitka/unfreezing.h +11 -5
  40. nuitka/build/inline_copy/tqdm/tqdm/_monitor.py +4 -1
  41. nuitka/build/static_src/CompiledAsyncgenType.c +2 -4
  42. nuitka/build/static_src/CompiledCellType.c +7 -7
  43. nuitka/build/static_src/CompiledCodeHelpers.c +49 -36
  44. nuitka/build/static_src/CompiledCoroutineType.c +2 -4
  45. nuitka/build/static_src/CompiledFrameType.c +109 -82
  46. nuitka/build/static_src/CompiledFunctionType.c +36 -9
  47. nuitka/build/static_src/CompiledGeneratorType.c +12 -10
  48. nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c +2 -2
  49. nuitka/build/static_src/CompiledMethodType.c +14 -13
  50. nuitka/build/static_src/HelpersAttributes.c +13 -15
  51. nuitka/build/static_src/HelpersBuiltin.c +16 -7
  52. nuitka/build/static_src/HelpersCalling.c +13 -13
  53. nuitka/build/static_src/HelpersCallingGenerated.c +22 -22
  54. nuitka/build/static_src/HelpersComparisonEq.c +110 -110
  55. nuitka/build/static_src/HelpersComparisonEqUtils.c +1 -1
  56. nuitka/build/static_src/HelpersComparisonGe.c +110 -110
  57. nuitka/build/static_src/HelpersComparisonGt.c +110 -110
  58. nuitka/build/static_src/HelpersComparisonLe.c +110 -110
  59. nuitka/build/static_src/HelpersComparisonLt.c +110 -110
  60. nuitka/build/static_src/HelpersComparisonNe.c +110 -110
  61. nuitka/build/static_src/HelpersConstantsBlob.c +480 -481
  62. nuitka/build/static_src/HelpersDictionaries.c +9 -0
  63. nuitka/build/static_src/HelpersFilesystemPaths.c +28 -13
  64. nuitka/build/static_src/HelpersImport.c +1 -1
  65. nuitka/build/static_src/HelpersLists.c +5 -1
  66. nuitka/build/static_src/HelpersMatching.c +95 -35
  67. nuitka/build/static_src/HelpersOperationInplaceAdd.c +23 -23
  68. nuitka/build/static_src/HelpersOperationInplaceAddUtils.c +1 -0
  69. nuitka/build/static_src/HelpersOperationInplaceBitand.c +11 -11
  70. nuitka/build/static_src/HelpersOperationInplaceBitor.c +11 -11
  71. nuitka/build/static_src/HelpersOperationInplaceBitxor.c +11 -11
  72. nuitka/build/static_src/HelpersOperationInplaceFloordiv.c +17 -17
  73. nuitka/build/static_src/HelpersOperationInplaceLshift.c +9 -9
  74. nuitka/build/static_src/HelpersOperationInplaceMatmult.c +10 -10
  75. nuitka/build/static_src/HelpersOperationInplaceMod.c +47 -47
  76. nuitka/build/static_src/HelpersOperationInplaceMult.c +28 -28
  77. nuitka/build/static_src/HelpersOperationInplaceOlddiv.c +17 -17
  78. nuitka/build/static_src/HelpersOperationInplacePow.c +17 -17
  79. nuitka/build/static_src/HelpersOperationInplaceRshift.c +9 -9
  80. nuitka/build/static_src/HelpersOperationInplaceSub.c +17 -17
  81. nuitka/build/static_src/HelpersOperationInplaceTruediv.c +17 -17
  82. nuitka/build/static_src/HelpersSequences.c +1 -1
  83. nuitka/build/static_src/HelpersTypes.c +8 -4
  84. nuitka/build/static_src/InspectPatcher.c +14 -2
  85. nuitka/build/static_src/MainProgram.c +20 -1
  86. nuitka/build/static_src/MetaPathBasedLoader.c +163 -140
  87. nuitka/build/static_src/MetaPathBasedLoaderImportlibMetadataDistribution.c +13 -4
  88. nuitka/build/static_src/OnefileBootstrap.c +100 -6
  89. nuitka/code_generation/AttributeCodes.py +12 -10
  90. nuitka/code_generation/CodeGeneration.py +6 -7
  91. nuitka/code_generation/ConstantCodes.py +53 -10
  92. nuitka/code_generation/Emission.py +1 -1
  93. nuitka/code_generation/GlobalConstants.py +6 -6
  94. nuitka/code_generation/Indentation.py +4 -5
  95. nuitka/code_generation/LoaderCodes.py +3 -0
  96. nuitka/code_generation/LocalsDictCodes.py +36 -14
  97. nuitka/code_generation/MatchCodes.py +23 -4
  98. nuitka/code_generation/ModuleCodes.py +1 -8
  99. nuitka/code_generation/Namify.py +2 -0
  100. nuitka/code_generation/PackageResourceCodes.py +5 -1
  101. nuitka/code_generation/templates/CodeTemplatesConstants.py +22 -4
  102. nuitka/code_generation/templates/CodeTemplatesLoader.py +1 -1
  103. nuitka/code_generation/templates/CodeTemplatesModules.py +27 -9
  104. nuitka/code_generation/templates/CodeTemplatesVariables.py +16 -2
  105. nuitka/code_generation/templates_c/CodeTemplateCallsMethodPositional.c.j2 +2 -2
  106. nuitka/code_generation/templates_c/HelperOperationBinary.c.j2 +1 -1
  107. nuitka/code_generation/templates_c/HelperOperationInplace.c.j2 +1 -1
  108. nuitka/code_generation/templates_c/HelperSlotsBinary.c.j2 +7 -7
  109. nuitka/freezer/DependsExe.py +3 -1
  110. nuitka/freezer/DllDependenciesMacOS.py +5 -12
  111. nuitka/freezer/IncludedDataFiles.py +15 -4
  112. nuitka/freezer/IncludedEntryPoints.py +8 -2
  113. nuitka/freezer/Onefile.py +6 -1
  114. nuitka/freezer/Standalone.py +9 -2
  115. nuitka/importing/Importing.py +14 -5
  116. nuitka/importing/Recursion.py +3 -0
  117. nuitka/nodes/AttributeNodesGenerated.py +21 -12
  118. nuitka/nodes/BuiltinOpenNodes.py +5 -0
  119. nuitka/nodes/BuiltinOperationNodeBasesGenerated.py +11 -11
  120. nuitka/nodes/BuiltinRefNodes.py +41 -1
  121. nuitka/nodes/ChildrenHavingMixins.py +143 -355
  122. nuitka/nodes/ClassNodes.py +30 -12
  123. nuitka/nodes/CodeObjectSpecs.py +9 -0
  124. nuitka/nodes/ExpressionBasesGenerated.py +11 -11
  125. nuitka/nodes/FunctionNodes.py +7 -11
  126. nuitka/nodes/FutureSpecs.py +16 -3
  127. nuitka/nodes/GeneratorNodes.py +2 -2
  128. nuitka/nodes/HardImportNodesGenerated.py +11 -134
  129. nuitka/nodes/LocalsScopes.py +19 -23
  130. nuitka/nodes/MatchNodes.py +18 -7
  131. nuitka/nodes/ModuleAttributeNodes.py +1 -20
  132. nuitka/nodes/ModuleNodes.py +23 -6
  133. nuitka/nodes/NodeBases.py +3 -2
  134. nuitka/nodes/NodeMetaClasses.py +26 -10
  135. nuitka/nodes/ReturnNodes.py +1 -1
  136. nuitka/nodes/StatementBasesGenerated.py +11 -11
  137. nuitka/nodes/SubscriptNodes.py +4 -4
  138. nuitka/nodes/VariableAssignNodes.py +1 -1
  139. nuitka/nodes/VariableRefNodes.py +28 -2
  140. nuitka/optimizations/FunctionInlining.py +3 -6
  141. nuitka/optimizations/Optimization.py +13 -12
  142. nuitka/optimizations/TraceCollections.py +19 -4
  143. nuitka/plugins/PluginBase.py +121 -133
  144. nuitka/plugins/Plugins.py +92 -4
  145. nuitka/plugins/YamlPluginBase.py +121 -0
  146. nuitka/plugins/standard/AntiBloatPlugin.py +87 -28
  147. nuitka/plugins/standard/DataFilesPlugin.py +15 -6
  148. nuitka/plugins/standard/DelvewheelPlugin.py +7 -3
  149. nuitka/plugins/standard/DllFilesPlugin.py +5 -3
  150. nuitka/plugins/standard/ImplicitImports.py +34 -20
  151. nuitka/plugins/standard/MatplotlibPlugin.py +3 -1
  152. nuitka/plugins/standard/MultiprocessingPlugin.py +2 -2
  153. nuitka/plugins/standard/OptionsNannyPlugin.py +1 -1
  154. nuitka/plugins/standard/PySidePyQtPlugin.py +11 -12
  155. nuitka/plugins/standard/SpacyPlugin.py +136 -0
  156. nuitka/plugins/standard/standard.nuitka-package.config.yml +489 -182
  157. nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +6 -0
  158. nuitka/reports/Reports.py +53 -5
  159. nuitka/specs/BuiltinParameterSpecs.py +1 -1
  160. nuitka/specs/HardImportSpecs.py +0 -6
  161. nuitka/tools/data_composer/DataComposer.py +29 -27
  162. nuitka/tools/environments/CreateEnvironment.py +1 -0
  163. nuitka/tools/environments/Virtualenv.py +25 -11
  164. nuitka/tools/general/find_module/FindModuleCode.py +13 -3
  165. nuitka/tools/onefile_compressor/OnefileCompressor.py +21 -4
  166. nuitka/tools/scanning/DisplayPackageDLLs.py +17 -3
  167. nuitka/tools/specialize/CTypeDescriptions.py +13 -7
  168. nuitka/tools/specialize/SpecializePython.py +18 -1
  169. nuitka/tools/testing/Common.py +19 -6
  170. nuitka/tools/testing/check_reference_counts/__main__.py +1 -1
  171. nuitka/tools/testing/run_nuitka_tests/__main__.py +0 -20
  172. nuitka/tools/watch/AutoStage.py +144 -0
  173. nuitka/tools/watch/__main__.py +79 -32
  174. nuitka/tree/Building.py +105 -104
  175. nuitka/tree/ComplexCallHelperFunctions.py +16 -26
  176. nuitka/tree/InternalModule.py +8 -0
  177. nuitka/tree/ReformulationAssignmentStatements.py +29 -59
  178. nuitka/tree/ReformulationClasses.py +10 -17
  179. nuitka/tree/ReformulationClasses3.py +69 -43
  180. nuitka/tree/ReformulationComparisonExpressions.py +6 -16
  181. nuitka/tree/ReformulationContractionExpressions.py +14 -23
  182. nuitka/tree/ReformulationDictionaryCreation.py +6 -10
  183. nuitka/tree/ReformulationExecStatements.py +10 -10
  184. nuitka/tree/ReformulationForLoopStatements.py +6 -12
  185. nuitka/tree/ReformulationFunctionStatements.py +21 -28
  186. nuitka/tree/ReformulationImportStatements.py +8 -10
  187. nuitka/tree/ReformulationLambdaExpressions.py +3 -6
  188. nuitka/tree/ReformulationMatchStatements.py +166 -60
  189. nuitka/tree/ReformulationMultidist.py +3 -1
  190. nuitka/tree/ReformulationNamespacePackages.py +1 -1
  191. nuitka/tree/ReformulationPrintStatements.py +3 -6
  192. nuitka/tree/ReformulationSequenceCreation.py +13 -26
  193. nuitka/tree/ReformulationTryFinallyStatements.py +15 -0
  194. nuitka/tree/ReformulationWithStatements.py +12 -16
  195. nuitka/tree/SourceHandling.py +13 -8
  196. nuitka/tree/VariableClosure.py +5 -21
  197. nuitka/utils/Distributions.py +80 -11
  198. nuitka/utils/Download.py +38 -31
  199. nuitka/utils/Execution.py +13 -2
  200. nuitka/utils/FileOperations.py +55 -28
  201. nuitka/utils/Images.py +6 -1
  202. nuitka/utils/Importing.py +1 -1
  203. nuitka/utils/ModuleNames.py +11 -5
  204. nuitka/utils/ReExecute.py +17 -13
  205. nuitka/utils/SharedLibraries.py +32 -8
  206. nuitka/utils/Signing.py +3 -1
  207. nuitka/utils/StaticLibraries.py +51 -41
  208. nuitka/utils/Timing.py +1 -1
  209. nuitka/utils/Utils.py +29 -7
  210. /Nuitka_winsvc-2.3.11.data/scripts/nuitka.bat → /Nuitka_winsvc-2.4.5.data/scripts/nuitka.cmd +0 -0
  211. {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.5.dist-info}/LICENSE.txt +0 -0
  212. {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.5.dist-info}/entry_points.txt +0 -0
  213. {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.5.dist-info}/top_level.txt +0 -0
@@ -160,10 +160,14 @@
160
160
  - depends:
161
161
  - 'apt_pkg'
162
162
 
163
- - module-name: 'arcade' # checksum: 3f9f0b7d
163
+ - module-name: 'arcade' # checksum: 12848707
164
164
  data-files:
165
165
  dirs:
166
- - 'resources'
166
+ - 'resources/system'
167
+ anti-bloat:
168
+ - no-auto-follow:
169
+ 'examples': 'Arcade examples are not be available unless you do "--include-module=acade.examples"'
170
+ 'experimental': 'Experimental features of Arcade will not be available unless you do "--include-module=acade.experimental"'
167
171
 
168
172
  - module-name: 'aspose' # checksum: 9babf530
169
173
  data-files:
@@ -351,6 +355,12 @@
351
355
  - 'av.plane'
352
356
  - 'av.video.plane'
353
357
 
358
+ - module-name: 'azure.cognitiveservices.speech' # checksum: 571ec995
359
+ dlls:
360
+ - from_filenames:
361
+ prefixes:
362
+ - 'Microsoft.CognitiveServices.Speech'
363
+
354
364
  - module-name: 'babel' # checksum: 37b8fa6d
355
365
  data-files:
356
366
  dirs:
@@ -447,6 +457,18 @@
447
457
  'is_triton_available()': 'False'
448
458
  when: 'not use_setuptools'
449
459
 
460
+ - module-name: 'black' # checksum: 33fdf1ff
461
+ implicit-imports:
462
+ - depends:
463
+ - '30fcd23745efe32ce681__mypyc'
464
+
465
+ - module-name: 'black.handle_ipynb_magics' # checksum: 7d07a2d1
466
+ anti-bloat:
467
+ - description: 'remove IPython reference'
468
+ no-auto-follow:
469
+ 'IPython': 'ignore'
470
+ when: 'not use_ipython'
471
+
450
472
  - module-name: 'bokeh' # checksum: cd9c2e63
451
473
  data-files:
452
474
  dirs:
@@ -493,6 +515,19 @@
493
515
  patterns:
494
516
  - 'cacert.pem'
495
517
 
518
+ - module-name: 'bpy' # checksum: 210495b
519
+ data-files:
520
+ dirs:
521
+ - '.'
522
+ - 'materialx'
523
+ - 'usd'
524
+ raw_dirs:
525
+ - '4.1'
526
+ dlls:
527
+ - from_filenames:
528
+ prefixes:
529
+ - ''
530
+
496
531
  - module-name: 'branca' # checksum: 7c7e6a4e
497
532
  data-files:
498
533
  dirs:
@@ -857,6 +892,11 @@
857
892
  - depends:
858
893
  - 'cytoolz.utils'
859
894
 
895
+ - module-name: 'dash' # checksum: 3ebe1284
896
+ data-files:
897
+ dirs:
898
+ - '.'
899
+
860
900
  - module-name: 'dash._jupyter' # checksum: 681007fe
861
901
  anti-bloat:
862
902
  - description: 'remove IPython reference'
@@ -871,21 +911,6 @@
871
911
  '"_pytest" in sys.modules': 'False'
872
912
  when: 'not use_pytest'
873
913
 
874
- - module-name: 'dash.dash_table' # checksum: 73ba5443
875
- data-files:
876
- patterns:
877
- - 'package-info.json'
878
-
879
- - module-name: 'dash.dcc' # checksum: 73ba5443
880
- data-files:
881
- patterns:
882
- - 'package-info.json'
883
-
884
- - module-name: 'dash.html' # checksum: 73ba5443
885
- data-files:
886
- patterns:
887
- - 'package-info.json'
888
-
889
914
  - module-name: 'dask' # checksum: c72c99e9
890
915
  data-files:
891
916
  patterns:
@@ -902,11 +927,11 @@
902
927
  - depends:
903
928
  - 'pyarrow._*'
904
929
 
905
- - module-name: 'dask.dataframe._compat' # checksum: 78ecb250
930
+ - module-name: 'dask.dataframe._compat' # checksum: a10ec27c
906
931
  anti-bloat:
907
932
  - description: 'remove pandas.testing reference'
908
933
  replacements_plain:
909
- 'import pandas.testing as tm': ''
934
+ 'import pandas.testing as tm': 'tm=None'
910
935
 
911
936
  - module-name: 'dask.dataframe.utils' # checksum: 5af31dde
912
937
  anti-bloat:
@@ -1069,6 +1094,77 @@
1069
1094
  'is_kernel': "'(lambda : False)'"
1070
1095
  when: 'not use_ipython'
1071
1096
 
1097
+ - module-name: 'django' # checksum: 7652b420
1098
+ anti-bloat:
1099
+ - description: 'allow unittest inside django, too dependent to remove'
1100
+ bloat-mode-overrides:
1101
+ 'unittest': 'allow'
1102
+
1103
+ - module-name: 'django.conf' # checksum: 2d31f140
1104
+ data-files:
1105
+ dirs:
1106
+ - 'locale/en'
1107
+
1108
+ - module-name: 'django.core.management' # checksum: 261e0447
1109
+ parameters:
1110
+ - 'name': 'settings-module'
1111
+ 'values': 'checkModuleName(value)'
1112
+ variables:
1113
+ setup_code:
1114
+ - 'import os, importlib'
1115
+ - 'settings = importlib.import_module(os.getenv("PARAMETER_SETTINGS_MODULE"))'
1116
+ declarations:
1117
+ 'django_installed_apps': 'settings.INSTALLED_APPS'
1118
+ environment:
1119
+ 'PARAMETER_SETTINGS_MODULE': 'get_parameter("settings-module", None)'
1120
+ anti-bloat:
1121
+ # This makes exceptions to the "*" dependency in the
1122
+ # implicit-imports section below.
1123
+ - no-follow:
1124
+ 'django.core.management.commands.test': 'disable tests'
1125
+ when: 'not use_pytest'
1126
+ implicit-imports:
1127
+ - depends:
1128
+ - 'django.core.management.commands.*'
1129
+ - 'get_parameter("settings-module", ())'
1130
+ - '["%s.management.commands.*" % x for x in get_variable("django_installed_apps")]'
1131
+ - 'get_variable("django_installed_apps")'
1132
+
1133
+ options:
1134
+ checks:
1135
+ - description: "Django settings module must be specified with '--module-parameter=django-settings-module=<settings_module_name>'"
1136
+ support_info: 'parameter'
1137
+ when: 'standalone and get_parameter("settings-module", None) is None'
1138
+
1139
+ - module-name: 'django.core.management.commands.shell' # checksum: 7d07a2d1
1140
+ anti-bloat:
1141
+ - description: 'remove IPython reference'
1142
+ no-auto-follow:
1143
+ 'IPython': 'ignore'
1144
+ when: 'not use_ipython'
1145
+
1146
+ - module-name: 'django.db.backends' # checksum: 5a0c4e00
1147
+ implicit-imports:
1148
+ - depends:
1149
+ - 'django.db.backends.dummy.*'
1150
+
1151
+ - module-name: 'django.db.backends.base.creation' # checksum: f16012b0
1152
+ anti-bloat:
1153
+ - description: 'remove unittest reference'
1154
+ no-auto-follow:
1155
+ 'unittest': 'ignore'
1156
+ when: 'not use_unittest'
1157
+
1158
+ - module-name: 'django.template.engine' # checksum: 19e5edde
1159
+ implicit-imports:
1160
+ - depends:
1161
+ - 'django.templatetags.i18n'
1162
+
1163
+ - module-name: 'django.template.library' # checksum: 87fd23ca
1164
+ implicit-imports:
1165
+ - depends:
1166
+ - 'django.template.loader_tags'
1167
+
1072
1168
  - module-name: 'dns.rdtypes' # checksum: 119feab4
1073
1169
  implicit-imports:
1074
1170
  - depends:
@@ -1114,16 +1210,6 @@
1114
1210
  replacements_plain:
1115
1211
  'load_module(str("_traceback_no_io"), traceback)': '__import__("traceback")'
1116
1212
 
1117
- - module-name: 'en_core_web_sm' # checksum: 8ee8e024
1118
- data-files:
1119
- dirs:
1120
- - '.'
1121
- patterns:
1122
- - '**/*.bin'
1123
-
1124
- include-metadata:
1125
- - 'en_core_web_sm'
1126
-
1127
1213
  - module-name: 'enchant' # checksum: 810a705a
1128
1214
  data-files:
1129
1215
  dirs:
@@ -1225,17 +1311,17 @@
1225
1311
  - depends:
1226
1312
  - 'fastapi.routing'
1227
1313
 
1228
- - module-name: 'feedparser.html' # checksum: 65e0a1
1314
+ - module-name: 'feedparser.html' # checksum: 8b17e6bc
1229
1315
  anti-bloat:
1230
1316
  - description: 'use SGML code more naturally'
1231
1317
  context:
1232
1318
  - 'import inspect'
1233
1319
  - 'import textwrap'
1234
1320
  - 'import sgmllib'
1235
- replacements:
1236
- '__parse_starttag.__code__ = sgmllib.SGMLParser.parse_starttag.__code__': "'pass'"
1237
- 'def goahead(self, i):': "'def goahead(self, end):'"
1238
- 'goahead.__code__ = sgmllib.SGMLParser.goahead.__code__': "'pass'"
1321
+ replacements_plain:
1322
+ '__parse_starttag.__code__ = sgmllib.SGMLParser.parse_starttag.__code__': 'pass'
1323
+ 'def goahead(self, i):': 'def goahead(self, end):'
1324
+ 'goahead.__code__ = sgmllib.SGMLParser.goahead.__code__': 'pass'
1239
1325
  change_function:
1240
1326
  '__parse_starttag': 'textwrap.dedent(inspect.getsource(sgmllib.SGMLParser.parse_starttag))'
1241
1327
  'goahead': 'textwrap.dedent(inspect.getsource(sgmllib.SGMLParser.goahead))'
@@ -1293,6 +1379,28 @@
1293
1379
  dirs:
1294
1380
  - 'templates'
1295
1381
 
1382
+ - module-name: 'fontTools.cu2qu.cu2qu' # checksum: 5673e8a6
1383
+ implicit-imports:
1384
+ - depends:
1385
+ - 'fontTools.cu2qu.errors'
1386
+
1387
+ - module-name: 'fontTools.feaLib.lexer' # checksum: d92ed463
1388
+ implicit-imports:
1389
+ - depends:
1390
+ - 'fontTools.feaLib.error'
1391
+ - 'fontTools.feaLib.location'
1392
+
1393
+ - module-name: 'fontTools.misc.bezierTools' # checksum: 7bee054
1394
+ implicit-imports:
1395
+ - depends:
1396
+ - 'fontTools.misc.arrayTools'
1397
+ - 'fontTools.misc.transform'
1398
+
1399
+ - module-name: 'fontTools.qu2cu.qu2cu' # checksum: bdfe3a4f
1400
+ implicit-imports:
1401
+ - depends:
1402
+ - 'fontTools.misc.bezierTools'
1403
+
1296
1404
  - module-name: 'Foundation' # checksum: f269907b
1297
1405
  options:
1298
1406
  checks:
@@ -1602,6 +1710,22 @@
1602
1710
  - 'VERSION'
1603
1711
  - 'lexicon.db'
1604
1712
 
1713
+ - module-name: 'gsplat.cuda._backend' # checksum: d537c97a
1714
+ anti-bloat:
1715
+ - description: 'remove setuptools usage'
1716
+ replacements_plain:
1717
+ 'from rich.console import Console': ''
1718
+ 'from torch.utils.cpp_extension import _get_build_directory, load': ''
1719
+ when: 'not use_setuptools'
1720
+
1721
+ - module-name: 'gsplat.cuda_legacy._backend' # checksum: d537c97a
1722
+ anti-bloat:
1723
+ - description: 'remove setuptools usage'
1724
+ replacements_plain:
1725
+ 'from rich.console import Console': ''
1726
+ 'from torch.utils.cpp_extension import _get_build_directory, load': ''
1727
+ when: 'not use_setuptools'
1728
+
1605
1729
  - module-name: 'gtk._gtk' # checksum: 4fb4a03b
1606
1730
  implicit-imports:
1607
1731
  - depends:
@@ -1618,6 +1742,11 @@
1618
1742
  - 'cairo'
1619
1743
  - 'gtk'
1620
1744
 
1745
+ - module-name: 'gym_tetris' # checksum: b8aa0fea
1746
+ data-files:
1747
+ dirs:
1748
+ - '_roms'
1749
+
1621
1750
  - module-name: 'gymnasium.envs.registration' # checksum: 4f0b7bbb
1622
1751
  anti-bloat:
1623
1752
  - description: 'better error message for environment backends'
@@ -1785,6 +1914,37 @@
1785
1914
  - depends:
1786
1915
  - 'jarowinkler._initialize_cpp'
1787
1916
 
1917
+ - module-name: 'jaxtyping' # checksum: ee1c8e43
1918
+ data-files:
1919
+ include-metadata:
1920
+ - 'jaxtyping'
1921
+
1922
+ anti-bloat:
1923
+ - description: 'remove IPython reference'
1924
+ no-auto-follow:
1925
+ 'IPython': 'ignore'
1926
+ when: 'not use_ipython'
1927
+
1928
+ - module-name: 'jedi' # checksum: 6be45546
1929
+ anti-bloat:
1930
+ - description: 'allow pydoc inside jedi, too dependent to remove'
1931
+ bloat-mode-overrides:
1932
+ 'pydoc': 'allow'
1933
+
1934
+ - module-name: 'jinja2.environment' # checksum: c71498fb
1935
+ anti-bloat:
1936
+ - description: 'remove Python3.5 only code'
1937
+ no-auto-follow:
1938
+ 'jinja2.asyncsupport': 'ignore'
1939
+ when: 'before_python35'
1940
+
1941
+ - module-name: 'jinja2.lexer' # checksum: 1efd768a
1942
+ anti-bloat:
1943
+ - description: 'remove Python3 only code'
1944
+ no-auto-follow:
1945
+ 'jinja2._identifier': 'ignore'
1946
+ when: 'before_python3'
1947
+
1788
1948
  - module-name: 'joblib._dask' # checksum: e3ae7a22
1789
1949
  anti-bloat:
1790
1950
  - description: 'remove optional dask usage'
@@ -1835,6 +1995,13 @@
1835
1995
  replacements_plain:
1836
1996
  'warnings.warn': ''
1837
1997
 
1998
+ - module-name: 'joblib.memory' # checksum: 49583532
1999
+ anti-bloat:
2000
+ - description: 'remove pydoc'
2001
+ replacements_plain:
2002
+ 'import pydoc': ''
2003
+ 'if inspect.isfunction(func):': 'if False:'
2004
+
1838
2005
  - module-name: 'jpype' # checksum: f75160d3
1839
2006
  data-files:
1840
2007
  dest_path: 'jpype'
@@ -1897,10 +2064,13 @@
1897
2064
  - depends:
1898
2065
  - 'win32timezone'
1899
2066
 
1900
- - module-name: 'kivy' # checksum: aa55c3a4
2067
+ - module-name: 'kivy' # checksum: f6e12f66
1901
2068
  data-files:
1902
2069
  dirs:
1903
2070
  - 'data'
2071
+ implicit-imports:
2072
+ - depends:
2073
+ - 'kivy.uix.*'
1904
2074
 
1905
2075
  options:
1906
2076
  checks:
@@ -1970,6 +2140,11 @@
1970
2140
  prefixes:
1971
2141
  - 'libusb'
1972
2142
 
2143
+ - module-name: 'license-expression' # checksum: 810a705a
2144
+ data-files:
2145
+ dirs:
2146
+ - 'data'
2147
+
1973
2148
  - module-name: 'lightgbm' # checksum: 38422ad6
1974
2149
  data-files:
1975
2150
  dirs:
@@ -2087,11 +2262,11 @@
2087
2262
  - depends:
2088
2263
  - 'markdown.extensions.*'
2089
2264
 
2090
- - module-name: 'matplotlib' # checksum: 977975bb
2265
+ - module-name: 'matplotlib' # checksum: d5e66e6c
2091
2266
  anti-bloat:
2092
2267
  - description: 'remove setuptools and pytest testing framework reference'
2093
- replacements:
2094
- '(root / ".git").exists()"': "'None'"
2268
+ replacements_plain:
2269
+ '(root / ".git").exists()"': 'None'
2095
2270
  'test.__test__ = False': ''
2096
2271
  change_function:
2097
2272
  '_init_tests': "'None'"
@@ -2301,15 +2476,15 @@
2301
2476
  return result[:_MAX_LENGTH] + ' [truncated]...'
2302
2477
  when: 'not use_unittest'
2303
2478
 
2304
- - module-name: 'moto' # checksum: cd522fec
2479
+ - module-name: 'moto' # checksum: 8565eb96
2305
2480
  data-files:
2306
2481
  patterns:
2307
2482
  - 'ec2/resources/instance_types.json'
2308
2483
  - 'ec2/resources/amis.json'
2309
2484
  anti-bloat:
2310
2485
  - description: 'remove pytest testing framework'
2311
- replacements:
2312
- "imp.find_module('pytest')": "'None'"
2486
+ replacements_plain:
2487
+ "imp.find_module('pytest')": 'None'
2313
2488
  when: 'not use_pytest'
2314
2489
 
2315
2490
  - module-name: 'moviepy.audio.fx' # checksum: 1851bf53
@@ -2366,7 +2541,16 @@
2366
2541
  patterns:
2367
2542
  - 'dist.*'
2368
2543
 
2369
- - module-name: 'networkx' # checksum: 6f2aa88a
2544
+ - module-name: 'nes_py' # checksum: 1f3cc2b5
2545
+ dlls:
2546
+ - from_filenames:
2547
+ prefixes:
2548
+ - 'lib_nes_env'
2549
+ suffixes:
2550
+ - 'pyd'
2551
+ when: 'win32'
2552
+
2553
+ - module-name: 'networkx' # checksum: 87442f5d
2370
2554
  anti-bloat:
2371
2555
  - description: 'remove networkx.testing usage and pytest reference (via nose)'
2372
2556
  replacements_plain:
@@ -2376,6 +2560,9 @@
2376
2560
  'nose': 'ignore'
2377
2561
  'pytest': 'ignore'
2378
2562
  when: 'not use_pytest'
2563
+ - description: 'remove optional package references'
2564
+ no-auto-follow:
2565
+ 'matplotlib': 'plotting will lack matplotlib'
2379
2566
 
2380
2567
  - module-name: 'networkx.classes.backends' # checksum: 29bf8c92
2381
2568
  anti-bloat:
@@ -2421,6 +2608,12 @@
2421
2608
  'from IPython.utils.path import get_ipython_cache_dir': 'raise ImportError'
2422
2609
  when: 'not use_ipython'
2423
2610
 
2611
+ - module-name: 'numba.core.entrypoints' # checksum: 84d4c71e
2612
+ anti-bloat:
2613
+ - description: 'avoid importlib backport usage'
2614
+ replacements:
2615
+ 'if PYVERSION': '"if " + repr(sys.version_info[:2])'
2616
+
2424
2617
  - module-name: 'numba.cuda' # checksum: 3173fc81
2425
2618
  anti-bloat:
2426
2619
  - description: 'remove numba testing reference'
@@ -2517,20 +2710,21 @@
2517
2710
  - 'numpy.core._multiarray_tests'
2518
2711
  - 'numpy._core._multiarray_tests'
2519
2712
 
2520
- - module-name: 'numpy.core.overrides' # checksum: 48ac7e42
2713
+ - module-name: 'numpy.core.overrides' # checksum: cda0efc0
2521
2714
  anti-bloat:
2522
2715
  - description: 'workaround numpy issues with compiled code'
2523
- replacements:
2524
- 'add_docstring(implementation, dispatcher.__doc__)': "'''add_docstring(implementation, dispatcher.__doc__ or '')'''"
2716
+ replacements_plain:
2717
+ 'add_docstring(implementation, dispatcher.__doc__)': "add_docstring(implementation, dispatcher.__doc__ or '')"
2525
2718
  'public_api.__code__ = ': ''
2526
2719
 
2527
- - module-name: 'numpy.ctypeslib' # checksum: a3e2afc6
2720
+ - module-name: 'numpy.ctypeslib' # checksum: bed998c3
2528
2721
  anti-bloat:
2529
2722
  - description: 'remove numpy.distutils references'
2530
2723
  context:
2531
2724
  - 'import numpy.distutils.misc_util'
2532
- replacements:
2725
+ replacements_plain:
2533
2726
  'from numpy.distutils.misc_util import get_shared_lib_extension': ''
2727
+ replacements:
2534
2728
  'get_shared_lib_extension()': 'repr(numpy.distutils.misc_util.get_shared_lib_extension())'
2535
2729
  'get_shared_lib_extension(is_python_ext=True)': 'repr(numpy.distutils.misc_util.get_shared_lib_extension(is_python_ext=True))'
2536
2730
  when: 'not use_setuptools'
@@ -2542,12 +2736,13 @@
2542
2736
  'info': 'un-callable'
2543
2737
  when: 'not use_pydoc'
2544
2738
 
2545
- - module-name: 'numpy.lib.utils' # checksum: 26f115fc
2739
+ - module-name: 'numpy.lib.utils' # checksum: bdb2ffa6
2546
2740
  anti-bloat:
2547
2741
  - description: 'remove pydoc usage'
2548
2742
  replacements_plain:
2549
2743
  '.pydoc.allmethods(object)': '()'
2550
2744
  'import pydoc': ''
2745
+ when: 'not use_pydoc'
2551
2746
 
2552
2747
  - module-name: 'numpy.random' # checksum: e43161e7
2553
2748
  implicit-imports:
@@ -2737,6 +2932,13 @@
2737
2932
  support_info: 'error'
2738
2933
  when: 'version("pyobjc") < (9,)'
2739
2934
 
2935
+ - module-name: 'onnx' # checksum: 5eb1b195
2936
+ options:
2937
+ checks:
2938
+ - description: "onnx is is not supported with Python3.12 unless '--static-libpython' is used"
2939
+ support_info: 'error'
2940
+ when: 'python312_or_higher and not static_libpython'
2941
+
2740
2942
  - module-name: 'onnxruntime' # checksum: 37a94e21
2741
2943
  dlls:
2742
2944
  - from_filenames:
@@ -2756,6 +2958,13 @@
2756
2958
  - depends:
2757
2959
  - 'numpy'
2758
2960
 
2961
+ - module-name: 'open3d' # checksum: 35ff624
2962
+ dlls:
2963
+ - from_filenames:
2964
+ prefixes:
2965
+ - 'lib'
2966
+ - '*swrast_dri'
2967
+
2759
2968
  - module-name: 'open_clip' # checksum: 1fe63667
2760
2969
  data-files:
2761
2970
  dirs:
@@ -2899,7 +3108,7 @@
2899
3108
  change_function:
2900
3109
  '_overrides': "'(lambda method, *args, **kwargs: method)'"
2901
3110
 
2902
- - module-name: 'paddle' # checksum: 11103e47
3111
+ - module-name: 'paddle' # checksum: 27d0c647
2903
3112
  dlls:
2904
3113
  - from_filenames:
2905
3114
  relative_path: 'libs'
@@ -2908,6 +3117,11 @@
2908
3117
  - 'mkl'
2909
3118
  - 'war'
2910
3119
  - 'common'
3120
+ options:
3121
+ checks:
3122
+ - description: "paddle is is not supported with Python3.12 unless '--static-libpython' is used"
3123
+ support_info: 'error'
3124
+ when: 'python312_or_higher and not static_libpython'
2911
3125
 
2912
3126
  - module-name: 'paddle.base.core' # checksum: a81e13c9
2913
3127
  anti-bloat:
@@ -2969,11 +3183,10 @@
2969
3183
  - 'ppstructure/layout'
2970
3184
  - 'ppstructure/table'
2971
3185
 
2972
- - module-name: 'paddleocr.paddleocr' # checksum: 8cf243fc
3186
+ - module-name: 'paddleocr.paddleocr' # checksum: 284bb6fd
2973
3187
  anti-bloat:
2974
- - replacements_plain:
2975
- 'tools = _import_file(': ''
2976
- " 'tools', os.path.join(__dir__, 'tools/__init__.py'), make_importable=True)": 'from . import tools'
3188
+ - replacements_re:
3189
+ 'tools\s*=\s*_import_file\s*\(\s*.*?make_importable=True.*?\s*\)': '"from . import tools"'
2977
3190
 
2978
3191
  - module-name: 'panda3d' # checksum: ed772c0a
2979
3192
  data-files:
@@ -3051,49 +3264,43 @@
3051
3264
  'distutils.version.LooseVersion(version) < minimum_version': 'False'
3052
3265
  'import distutils.version': ''
3053
3266
 
3054
- - module-name: 'pandas.compat.numpy' # checksum: a21ef6ec
3267
+ - module-name: 'pandas.compat.numpy' # checksum: 60947912
3055
3268
  anti-bloat:
3056
3269
  - description: 'remove useless distutils usage'
3057
- replacements:
3058
- # TODO: Smells not only like regexp, must be one.
3059
- 'LooseVersion("1.14")': "'\"1.14\"'"
3060
- 'LooseVersion("1.15")': "'\"1.15\"'"
3061
- 'LooseVersion("1.16")': "'\"1.16\"'"
3062
- 'LooseVersion("1.17")': "'\"1.17\"'"
3063
- 'LooseVersion("1.18")': "'\"1.18\"'"
3064
- 'LooseVersion("1.19")': "'\"1.19\"'"
3065
- 'LooseVersion("1.20")': "'\"1.20\"'"
3066
- 'LooseVersion(_np_version)': "'_np_version'"
3067
- 'from distutils.version import LooseVersion': "''"
3068
-
3069
- - module-name: 'pandas.compat.numpy.function' # checksum: 5fbf97fa
3270
+ replacements_plain:
3271
+ 'LooseVersion(_np_version)': '_np_version'
3272
+ 'from distutils.version import LooseVersion': ''
3273
+ replacements_re:
3274
+ "LooseVersion\\([\"'](.*?)[\"']\\)": '"\1"'
3275
+
3276
+ - module-name: 'pandas.compat.numpy.function' # checksum: b0aad543
3070
3277
  anti-bloat:
3071
3278
  - description: 'remove useless distutils usage'
3072
- replacements:
3073
- 'LooseVersion(__version__) >= LooseVersion("1.17.0")': "'__version__ >= \"1.17.0\"'"
3074
- 'LooseVersion(_np_version) >= LooseVersion("1.17.0")': "'_np_version >= \"1.17.0\"'"
3075
- 'from distutils.version import LooseVersion': "''"
3279
+ replacements_plain:
3280
+ 'LooseVersion(__version__) >= LooseVersion("1.17.0")': '__version__ >= "1.17.0"'
3281
+ 'LooseVersion(_np_version) >= LooseVersion("1.17.0")': '_np_version >= "1.17.0"'
3282
+ 'from distutils.version import LooseVersion': ''
3076
3283
 
3077
- - module-name: 'pandas.core.arrays._arrow_utils' # checksum: 398ecf0
3284
+ - module-name: 'pandas.core.arrays._arrow_utils' # checksum: de3b626c
3078
3285
  anti-bloat:
3079
3286
  - description: 'remove useless distutils usage'
3080
- replacements:
3081
- 'LooseVersion(pyarrow.__version__) >= LooseVersion("0.15")': "'pyarrow.__version__ >= \"0.15\"'"
3082
- 'from distutils.version import LooseVersion': "''"
3287
+ replacements_plain:
3288
+ 'LooseVersion(pyarrow.__version__) >= LooseVersion("0.15")': 'pyarrow.__version__ >= "0.15"'
3289
+ 'from distutils.version import LooseVersion': ''
3083
3290
 
3084
- - module-name: 'pandas.core.arrays.string_arrow' # checksum: 6ff6617
3291
+ - module-name: 'pandas.core.arrays.string_arrow' # checksum: 882a5a11
3085
3292
  anti-bloat:
3086
3293
  - description: 'remove useless distutils usage'
3087
- replacements:
3088
- 'LooseVersion(pa.__version__) < "1.0.0"': "'pa.__version__ < \"1.0.0\"'"
3089
- 'from distutils.version import LooseVersion': "''"
3294
+ replacements_plain:
3295
+ 'LooseVersion(pa.__version__) < "1.0.0"': 'pa.__version__ < "1.0.0"'
3296
+ 'from distutils.version import LooseVersion': ''
3090
3297
 
3091
- - module-name: 'pandas.core.computation.ops' # checksum: ce7ab56e
3298
+ - module-name: 'pandas.core.computation.ops' # checksum: 96e6926c
3092
3299
  anti-bloat:
3093
3300
  - description: 'remove useless distutils usage'
3094
- replacements:
3095
- 'NUMEXPR_VERSION < LooseVersion("2.6.9")': "'False'"
3096
- 'from distutils.version import LooseVersion': "''"
3301
+ replacements_plain:
3302
+ 'NUMEXPR_VERSION < LooseVersion("2.6.9")': 'False'
3303
+ 'from distutils.version import LooseVersion': ''
3097
3304
 
3098
3305
  - module-name: 'pandas.core.groupby.groupby' # checksum: fa0161e8
3099
3306
  anti-bloat:
@@ -3102,12 +3309,12 @@
3102
3309
  'maybe_use_numba(engine)': 'False'
3103
3310
  when: 'not use_numba'
3104
3311
 
3105
- - module-name: 'pandas.core.util.numba_' # checksum: a126e56b
3312
+ - module-name: 'pandas.core.util.numba_' # checksum: 5a47bb5e
3106
3313
  anti-bloat:
3107
3314
  - description: 'remove useless distutils usage'
3108
- replacements:
3109
- 'LooseVersion(numba.__version__) >= LooseVersion("0.49.0")': "'True'"
3110
- 'from distutils.version import LooseVersion': "''"
3315
+ replacements_plain:
3316
+ 'LooseVersion(numba.__version__) >= LooseVersion("0.49.0")': 'True'
3317
+ 'from distutils.version import LooseVersion': ''
3111
3318
 
3112
3319
  - module-name: 'pandas.core.window' # checksum: e748c8ea
3113
3320
  implicit-imports:
@@ -3137,12 +3344,12 @@
3137
3344
  'PyQt4': 'ignore'
3138
3345
  when: 'plugin("no-qt")'
3139
3346
 
3140
- - module-name: 'pandas.io.excel._base' # checksum: 53d399ba
3347
+ - module-name: 'pandas.io.excel._base' # checksum: 8868dc8b
3141
3348
  anti-bloat:
3142
3349
  - description: 'remove useless distutils usage'
3143
- replacements:
3144
- 'LooseVersion(xlrd.__version__)': "'xlrd.__version__'"
3145
- 'from distutils.version import LooseVersion': "''"
3350
+ replacements_plain:
3351
+ 'LooseVersion(xlrd.__version__)': 'xlrd.__version__'
3352
+ 'from distutils.version import LooseVersion': ''
3146
3353
 
3147
3354
  - module-name: 'pandas.io.formats' # checksum: bfd19d5d
3148
3355
  data-files:
@@ -3161,26 +3368,26 @@
3161
3368
  - depends:
3162
3369
  - 'jinja2'
3163
3370
 
3164
- - module-name: 'pandas.io.orc' # checksum: a9b1ffdc
3371
+ - module-name: 'pandas.io.orc' # checksum: 6826194c
3165
3372
  anti-bloat:
3166
3373
  - description: 'remove useless distutils usage'
3167
- replacements:
3168
- 'distutils.version.LooseVersion(pyarrow.__version__) < "0.13.0"': "'pyarrow.__version__ < \"0.13.0\"'"
3169
- 'import distutils': "''"
3374
+ replacements_plain:
3375
+ 'distutils.version.LooseVersion(pyarrow.__version__) < "0.13.0"': 'pyarrow.__version__ < "0.13.0"'
3376
+ 'import distutils': ''
3170
3377
 
3171
- - module-name: 'pandas.io.parquet' # checksum: 4f4a3110
3378
+ - module-name: 'pandas.io.parquet' # checksum: 7d41c774
3172
3379
  anti-bloat:
3173
3380
  - description: 'remove useless distutils usage'
3174
- replacements:
3175
- 'LooseVersion(self.api.__version__) >= "0.16"': "'self.api.__version__ >= \"0.16\"'"
3176
- 'from distutils.version import LooseVersion': "''"
3381
+ replacements_plain:
3382
+ 'LooseVersion(self.api.__version__) >= "0.16"': 'self.api.__version__ >= "0.16"'
3383
+ 'from distutils.version import LooseVersion': ''
3177
3384
 
3178
- - module-name: 'pandas.plotting._matplotlib.compat' # checksum: 837616d5
3385
+ - module-name: 'pandas.plotting._matplotlib.compat' # checksum: 83bfd28f
3179
3386
  anti-bloat:
3180
3387
  - description: 'remove useless distutils usage'
3181
- replacements:
3182
- 'from distutils.version import LooseVersion': "''"
3183
- 'op(LooseVersion(mpl.__version__), LooseVersion(version))': "'op(mpl.__version__, version)'"
3388
+ replacements_plain:
3389
+ 'from distutils.version import LooseVersion': ''
3390
+ 'op(LooseVersion(mpl.__version__), LooseVersion(version))': 'op(mpl.__version__, version)'
3184
3391
 
3185
3392
  - module-name: 'pandas.util' # checksum: 94cd3530
3186
3393
  anti-bloat:
@@ -3188,10 +3395,18 @@
3188
3395
  replacements_plain:
3189
3396
  'if name == "testing":': 'if False:'
3190
3397
 
3191
- - module-name: 'panel' # checksum: 29e3adc1
3398
+ - module-name: 'pandera' # checksum: 6ac5aa4f
3399
+ anti-bloat:
3400
+ - description: 'remove dask reference'
3401
+ no-auto-follow:
3402
+ 'dask': 'ignore'
3403
+ when: 'not use_dask'
3404
+
3405
+ - module-name: 'panel' # checksum: 87b79d62
3192
3406
  data-files:
3193
3407
  dirs:
3194
3408
  - '_templates'
3409
+ - 'template'
3195
3410
  - 'layout'
3196
3411
  - 'theme'
3197
3412
  patterns:
@@ -3357,11 +3572,11 @@
3357
3572
  - depends:
3358
3573
  - '.*.locale'
3359
3574
 
3360
- - module-name: 'persistent._compat' # checksum: c8c2659a
3575
+ - module-name: 'persistent._compat' # checksum: 74566d77
3361
3576
  anti-bloat:
3362
3577
  - description: 'use own compilation for compatibility'
3363
- replacements:
3364
- "os.environ.get('PURE_PYTHON')": "'\"1\"'"
3578
+ replacements_plain:
3579
+ "os.environ.get('PURE_PYTHON')": '"1"'
3365
3580
 
3366
3581
  - module-name: 'persistent.ring' # checksum: ff2e6560
3367
3582
  implicit-imports:
@@ -3440,11 +3655,11 @@
3440
3655
  - 'PIL.XpmImagePlugin'
3441
3656
  - 'PIL.XVThumbImagePlugin'
3442
3657
 
3443
- - module-name: 'PIL.ImageShow' # checksum: e11ea042
3658
+ - module-name: 'PIL.ImageShow' # checksum: 1ae9e8b3
3444
3659
  anti-bloat:
3445
3660
  - description: 'remove IPython reference'
3446
- replacements:
3447
- 'from IPython.display import display as ipython_display': "'raise ImportError'"
3661
+ replacements_plain:
3662
+ 'from IPython.display import display as ipython_display': 'raise ImportError'
3448
3663
  when: 'not use_ipython'
3449
3664
 
3450
3665
  - module-name: 'PIL.SpiderImagePlugin' # checksum: cb3e1ec1
@@ -3543,6 +3758,16 @@
3543
3758
  dirs:
3544
3759
  - '.'
3545
3760
 
3761
+ - module-name: 'plotly' # checksum: 35176d4
3762
+ data-files:
3763
+ dirs:
3764
+ - 'package_data'
3765
+ - 'package_data/templates'
3766
+ - 'package_data/datasets'
3767
+ implicit-imports:
3768
+ - depends:
3769
+ - 'plotly.version'
3770
+
3546
3771
  - module-name: 'plotly.graph_objects' # checksum: bf6dd64b
3547
3772
  anti-bloat:
3548
3773
  - description: 'remove IPython reference'
@@ -3712,7 +3937,7 @@
3712
3937
  - depends:
3713
3938
  - 'pyarrow.vendored.version'
3714
3939
 
3715
- - module-name: 'pyarrow.vendored.docscrape' # checksum: f18b6919
3940
+ - module-name: 'pyarrow.vendored.docscrape' # checksum: b2d4bca8
3716
3941
  anti-bloat:
3717
3942
  - description: 'remove sphinx reference'
3718
3943
  replacements_plain:
@@ -3720,6 +3945,8 @@
3720
3945
  - description: 'workaround for MSVC bug with scipy docscrape 1.8.x'
3721
3946
  replacements_plain:
3722
3947
  "return l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1))": "r = l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1)); return r"
3948
+ bloat-mode-overrides:
3949
+ 'pydoc': 'allow'
3723
3950
 
3724
3951
  - module-name: 'pyaxmlparser.resources' # checksum: 1d442429
3725
3952
  data-files:
@@ -3748,7 +3975,7 @@
3748
3975
  - 'pycrfsuite._dumpparser'
3749
3976
  - 'pycrfsuite._logparser'
3750
3977
 
3751
- - module-name: 'pydantic' # checksum: fb2935eb
3978
+ - module-name: 'pydantic' # checksum: 190f6343
3752
3979
  implicit-imports:
3753
3980
  - depends:
3754
3981
  - 'pydantic.typing'
@@ -3770,6 +3997,8 @@
3770
3997
  - 'pydantic.class_validators'
3771
3998
  - 'pydantic.networks'
3772
3999
  - 'pydantic.errors'
4000
+ # Not part of their general lazy loader, the aboves should become that.
4001
+ - 'pydantic.deprecated.decorator'
3773
4002
 
3774
4003
  - module-name: 'pydantic.errors' # checksum: edc1c868
3775
4004
  implicit-imports:
@@ -3953,6 +4182,16 @@
3953
4182
  - acceptable-missing-dlls:
3954
4183
  - 'libqpdf'
3955
4184
 
4185
+ - module-name: 'PyQt5.pylupdate' # checksum: 4fa39a08
4186
+ implicit-imports:
4187
+ - depends:
4188
+ - 'PyQt5.QtCore'
4189
+
4190
+ - module-name: 'PyQt5.pyrcc' # checksum: 4fa39a08
4191
+ implicit-imports:
4192
+ - depends:
4193
+ - 'PyQt5.QtCore'
4194
+
3956
4195
  - module-name: 'PyQt6' # checksum: 9ddfb6bb
3957
4196
  options:
3958
4197
  checks:
@@ -4194,6 +4433,12 @@
4194
4433
  - depends:
4195
4434
  - 'PySide6.support.deprecated'
4196
4435
 
4436
+ - module-name: 'PySide6.QtHttpServer' # checksum: edeef99d
4437
+ implicit-imports:
4438
+ - depends:
4439
+ - 'PySide6.QtConcurrent'
4440
+ - 'PySide6.QtWebSockets'
4441
+
4197
4442
  - module-name: 'pysnmp.smi' # checksum: d8623e4b
4198
4443
  data-files:
4199
4444
  patterns:
@@ -4480,6 +4725,12 @@
4480
4725
  'self.console.is_jupyter': 'False'
4481
4726
  when: 'not use_ipython'
4482
4727
 
4728
+ - module-name: 'rich.pager' # checksum: 8ba7ab27
4729
+ anti-bloat:
4730
+ - description: 'allow pydoc inside rich pager, uses it'
4731
+ bloat-mode-overrides:
4732
+ 'pydoc': 'allow'
4733
+
4483
4734
  - module-name: 'rich.pretty' # checksum: bdd67adb
4484
4735
  anti-bloat:
4485
4736
  - description: 'remove IPython reference'
@@ -4517,7 +4768,7 @@
4517
4768
  - depends:
4518
4769
  - 'scapy.layers.*'
4519
4770
 
4520
- - module-name: 'scipy' # checksum: 80d3c475
4771
+ - module-name: 'scipy' # checksum: f143defd
4521
4772
  data-files:
4522
4773
  patterns:
4523
4774
  - 'stats/_sobol_direction_numbers.npz' # for scipy.stats._sobol._initialize_direction_numbers
@@ -4534,14 +4785,16 @@
4534
4785
  when: 'win32'
4535
4786
 
4536
4787
  anti-bloat:
4537
- - description: 'torch and cupy checks should not cause usage'
4788
+ - description: 'remove optional package references'
4538
4789
  no-auto-follow:
4539
4790
  'cupy': 'ignore'
4540
4791
  'torch': 'ignore'
4792
+ 'jax': 'ignore'
4793
+ 'dask': 'ignore'
4541
4794
  bloat-mode-overrides:
4542
4795
  'pydoc': 'allow'
4543
4796
 
4544
- - module-name: 'scipy._distributor_init' # checksum: 47635231
4797
+ - module-name: 'scipy._distributor_init' # checksum: c312b65
4545
4798
  anti-bloat:
4546
4799
  - description: 'workaround for scipy DLL loading'
4547
4800
  append_plain: |
@@ -4551,7 +4804,7 @@
4551
4804
  libs_dir = os.path.join(os.path.dirname(__file__), '..', 'scipy.libs')
4552
4805
  for filename in glob.glob(os.path.join(libs_dir, '*openblas*dll')):
4553
4806
  WinDLL(filename)
4554
- when: 'win32 and (1,14) > version("scipy") >= (1,9,2)'
4807
+ when: 'win32 and standalone and (1,14) > version("scipy") >= (1,9,2)'
4555
4808
 
4556
4809
  - module-name: 'scipy._lib' # checksum: 4063ed73
4557
4810
  implicit-imports:
@@ -4567,12 +4820,22 @@
4567
4820
  replacements_plain:
4568
4821
  "return l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1))": "r = l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1)); return r"
4569
4822
 
4570
- - module-name: 'scipy._lib._numpy_compat' # checksum: c054044d
4823
+ - module-name: 'scipy._lib._numpy_compat' # checksum: 58eb0d9e
4571
4824
  anti-bloat:
4572
4825
  - description: 'remove numpy testing framework'
4573
- replacements:
4574
- "NumpyVersion(np.__version__) > '1.7.0.dev'": "'0'"
4575
- 'from numpy.testing import suppress_warnings': "r'suppress_warnings = __import__(\"contextmanager\").contextmanager(lambda : (yield))'"
4826
+ replacements_plain:
4827
+ "NumpyVersion(np.__version__) > '1.7.0.dev'": '0'
4828
+ 'from numpy.testing import suppress_warnings': 'suppress_warnings = __import__("contextmanager").contextmanager(lambda : (yield))'
4829
+
4830
+ - module-name: 'scipy._lib._test_deprecation_call' # checksum: 2db6b2eb
4831
+ implicit-imports:
4832
+ - depends:
4833
+ - 'scipy._lib._test_deprecation_def'
4834
+
4835
+ - module-name: 'scipy._lib._test_deprecation_def' # checksum: 10d680aa
4836
+ implicit-imports:
4837
+ - depends:
4838
+ - 'scipy._lib.deprecation'
4576
4839
 
4577
4840
  - module-name: 'scipy._lib._testutils' # checksum: 5e3b539b
4578
4841
  anti-bloat:
@@ -4582,6 +4845,12 @@
4582
4845
  def __init__(self, name):
4583
4846
  pass
4584
4847
 
4848
+ - module-name: 'scipy._lib.array_api_compat.common._helpers' # checksum: d79dca22
4849
+ anti-bloat:
4850
+ - description: 'remove optional package references'
4851
+ no-auto-follow:
4852
+ 'numpy': 'ignore'
4853
+
4585
4854
  - module-name: 'scipy._lib.array_api_compat.numpy' # checksum: 4d6580fa
4586
4855
  implicit-imports:
4587
4856
  - depends:
@@ -4593,12 +4862,12 @@
4593
4862
  change_function:
4594
4863
  '_copy_func': "'(lambda f: f)'"
4595
4864
 
4596
- - module-name: 'scipy.lib.numpy_compat' # checksum: c054044d
4865
+ - module-name: 'scipy.lib.numpy_compat' # checksum: 58eb0d9e
4597
4866
  anti-bloat:
4598
4867
  - description: 'remove numpy testing framework'
4599
- replacements:
4600
- "NumpyVersion(np.__version__) > '1.7.0.dev'": "'0'"
4601
- 'from numpy.testing import suppress_warnings': "r'suppress_warnings = __import__(\"contextmanager\").contextmanager(lambda : (yield))'"
4868
+ replacements_plain:
4869
+ "NumpyVersion(np.__version__) > '1.7.0.dev'": '0'
4870
+ 'from numpy.testing import suppress_warnings': 'suppress_warnings = __import__("contextmanager").contextmanager(lambda : (yield))'
4602
4871
 
4603
4872
  - module-name: 'scipy.linalg' # checksum: 3f43474e
4604
4873
  implicit-imports:
@@ -4700,10 +4969,10 @@
4700
4969
  - no-auto-follow:
4701
4970
  'matplotlib': 'plotting will lack matplotlib'
4702
4971
 
4703
- - module-name: 'scipy.stats.morestats' # checksum: 8c6ba801
4972
+ - module-name: 'scipy.stats.morestats' # checksum: 170d0f71
4704
4973
  anti-bloat:
4705
4974
  - description: 'remove numpy testing framework'
4706
- replacements:
4975
+ replacements_plain:
4707
4976
  '@setastest(False)': ''
4708
4977
  'from numpy.testing.decorators import setastest': ''
4709
4978
 
@@ -5114,7 +5383,7 @@
5114
5383
  'import dask.array as da': 'raise ImportError'
5115
5384
  when: 'not use_dask'
5116
5385
 
5117
- - module-name: 'sklearn._distributor_init' # checksum: f9ef476
5386
+ - module-name: 'sklearn._distributor_init' # checksum: 8597e1a6
5118
5387
  dlls:
5119
5388
  - from_filenames:
5120
5389
  relative_path: '.libs'
@@ -5122,11 +5391,11 @@
5122
5391
  - ''
5123
5392
  anti-bloat:
5124
5393
  - description: 'remove site module and distutils usage'
5125
- replacements:
5126
- '_site.ENABLE_USER_SITE': "'False'"
5127
- 'if _running_from_pip_package()': "'if False'"
5128
- 'import distutils as _distutils': "'_distutils = None'"
5129
- 'import site as _site': "'_site = None'"
5394
+ replacements_plain:
5395
+ '_site.ENABLE_USER_SITE': 'False'
5396
+ 'if _running_from_pip_package()': 'if False'
5397
+ 'import distutils as _distutils': '_distutils = None'
5398
+ 'import site as _site': '_site = None'
5130
5399
  implicit-imports:
5131
5400
  - depends:
5132
5401
  - '.python.keras'
@@ -5265,11 +5534,11 @@
5265
5534
  - depends:
5266
5535
  - 'sklearn.preprocessing._csr_polynomial_expansion'
5267
5536
 
5268
- - module-name: 'sklearn.random_projection' # checksum: 88257b1b
5537
+ - module-name: 'sklearn.random_projection' # checksum: b68af3f8
5269
5538
  anti-bloat:
5270
5539
  - description: 'remove numpy testing framework'
5271
- replacements:
5272
- 'from numpy.testing import assert_equal': "r'assert_equal = (lambda actual, desired, err_msg=None, verbose=True: True)'"
5540
+ replacements_plain:
5541
+ 'from numpy.testing import assert_equal': 'assert_equal = (lambda actual, desired, err_msg=None, verbose=True: True)'
5273
5542
 
5274
5543
  - module-name: 'sklearn.svm' # checksum: 1126ac74
5275
5544
  implicit-imports:
@@ -5432,38 +5701,40 @@
5432
5701
  no-auto-follow:
5433
5702
  'spacy.tests': 'ignore'
5434
5703
 
5435
- - module-name: 'spacy.pipeline' # checksum: 285ab011
5704
+ - module-name: 'spacy.morphology' # checksum: fc4c0a90
5705
+ implicit-imports:
5706
+ - depends:
5707
+ - 'spacy.parts_of_speech'
5708
+
5709
+ - module-name: 'spacy.pipeline' # checksum: e8faf1dd
5436
5710
  implicit-imports:
5437
5711
  - depends:
5438
- - 'thinc.extra.*'
5439
5712
  - 'spacy.pipeline.ner'
5440
5713
 
5441
- - module-name: 'spacy.pipeline._parser_internals' # checksum: 36eb559e
5714
+ - module-name: 'spacy.pipeline._parser_internals._beam_utils' # checksum: 21162b2b
5442
5715
  implicit-imports:
5443
5716
  - depends:
5444
- - 'spacy.pipeline._parser_internals._beam_utils'
5445
- - 'spacy.pipeline._parser_internals._state'
5446
- - 'spacy.pipeline._parser_internals.arc_eager'
5447
- - 'spacy.pipeline._parser_internals.nonproj'
5448
- - 'spacy.pipeline._parser_internals.stateclass'
5449
- - 'spacy.pipeline._parser_internals.transition_system'
5450
- - 'spacy.pipeline._parser_internals.ner'
5717
+ - 'thinc.extra.search'
5451
5718
 
5452
5719
  - module-name: 'spacy.pipeline.dep_parser' # checksum: c61d0958
5453
5720
  implicit-imports:
5454
5721
  - depends:
5455
5722
  - 'spacy.pipeline.transition_parser'
5456
5723
 
5724
+ - module-name: 'spacy.pipeline.transition_parser' # checksum: bbff8187
5725
+ implicit-imports:
5726
+ - depends:
5727
+ - 'spacy.pipeline._parser_internals.*'
5728
+
5457
5729
  - module-name: 'spacy.util' # checksum: 39e3b324
5458
5730
  implicit-imports:
5459
5731
  - depends:
5460
5732
  - 'spacy.lang.*'
5461
5733
 
5462
- - module-name: 'spacy.vocab' # checksum: 73f7507a
5734
+ - module-name: 'spacy.vocab' # checksum: bfa3250b
5463
5735
  implicit-imports:
5464
5736
  - depends:
5465
5737
  - 'spacy.lang.lex_attrs'
5466
- - 'spacy.parts_of_speech'
5467
5738
  - 'spacy.lang.norm_exceptions'
5468
5739
 
5469
5740
  - module-name: 'sparse' # checksum: 7a56f74f
@@ -5493,12 +5764,12 @@
5493
5764
  executable: 'yes'
5494
5765
  when: 'linux'
5495
5766
 
5496
- - module-name: 'sphinx.util.docutils' # checksum: 6b3e2205
5767
+ - module-name: 'sphinx.util.docutils' # checksum: 4870f54d
5497
5768
  anti-bloat:
5498
5769
  - description: 'remove useless distutils usage'
5499
- replacements:
5500
- '__version_info__ = tuple(LooseVersion(docutils.__version__).version)': "'tuple(int(d) for d in docutils.__version__.split(\".\"))'"
5501
- 'from distutils.version import LooseVersion': "''"
5770
+ replacements_plain:
5771
+ '__version_info__ = tuple(LooseVersion(docutils.__version__).version)': 'tuple(int(d) for d in docutils.__version__.split("."))'
5772
+ 'from distutils.version import LooseVersion': ''
5502
5773
 
5503
5774
  - module-name: 'sqlalchemy' # checksum: c3efbf7
5504
5775
  implicit-imports:
@@ -5964,6 +6235,11 @@
5964
6235
  change_function:
5965
6236
  '_test': "'(lambda: None)'"
5966
6237
 
6238
+ - module-name: 'telethon' # checksum: a76d75f1
6239
+ anti-bloat:
6240
+ - description: 'avoid annotations bloat'
6241
+ annotations: 'no'
6242
+
5967
6243
  - module-name: 'tenacity' # checksum: 64bd1802
5968
6244
  anti-bloat:
5969
6245
  # It would be nice
@@ -5973,6 +6249,14 @@
5973
6249
  'from tenacity.tornadoweb import TornadoRetrying': 'pass'
5974
6250
  when: 'not use_tornado'
5975
6251
 
6252
+ - module-name: 'tendo.singleton' # checksum: ca7e6fc2
6253
+ options:
6254
+ checks:
6255
+ # TODO: Actually change the default to product name, file version, etc. from __compiled__ or from plugin variables
6256
+ - description: "need to use cached onefile mode with 'tendo.singleton' to work correctly"
6257
+ support_info: 'warning'
6258
+ when: 'onefile and not onefile_cached'
6259
+
5976
6260
  - module-name: 'tensorboard' # checksum: 5e3de759
5977
6261
  anti-bloat:
5978
6262
  - description: 'remove IPython reference'
@@ -6306,11 +6590,11 @@
6306
6590
  - '_audio_microfrontend_op'
6307
6591
 
6308
6592
  # TODO: Maybe not really necessary, this should be avoided by itself instead.
6309
- - module-name: 'tensorflow.lite.python.convert' # checksum: 83de5047
6593
+ - module-name: 'tensorflow.lite.python.convert' # checksum: 326784fc
6310
6594
  anti-bloat:
6311
6595
  - description: 'remove useless distutils usage'
6312
- replacements:
6313
- 'distutils.spawn.find_executable(_deprecated_conversion_binary) is None': "'False'"
6596
+ replacements_plain:
6597
+ 'distutils.spawn.find_executable(_deprecated_conversion_binary) is None': 'False'
6314
6598
  'import distutils.spawn': ''
6315
6599
 
6316
6600
  - module-name: 'tensorflow.lite.python.interpreter_wrapper' # checksum: 6742ae49
@@ -6400,11 +6684,11 @@
6400
6684
  - depends:
6401
6685
  - 'ml_dtypes'
6402
6686
 
6403
- - module-name: 'tensorflow.python.framework.meta_graph' # checksum: b0a05a68
6687
+ - module-name: 'tensorflow.python.framework.meta_graph' # checksum: 13d13fb
6404
6688
  anti-bloat:
6405
6689
  - description: 'remove useless distutils usage'
6406
- replacements:
6407
- 'distutils_version.LooseVersion': "'str'"
6690
+ replacements_plain:
6691
+ 'distutils_version.LooseVersion': 'str'
6408
6692
  'from distutils import version as distutils_version': ''
6409
6693
 
6410
6694
  - module-name: 'tensorflow.python.keras.utils.vis_utils' # checksum: 7d07a2d1
@@ -6414,11 +6698,11 @@
6414
6698
  'IPython': 'ignore'
6415
6699
  when: 'not use_ipython'
6416
6700
 
6417
- - module-name: 'tensorflow.python.ops.distributions.distribution' # checksum: 2f12fb17
6701
+ - module-name: 'tensorflow.python.ops.distributions.distribution' # checksum: 4b7ea33
6418
6702
  anti-bloat:
6419
6703
  - description: 'remove useless function copying'
6420
- replacements:
6421
- 'class_attr_value.__doc__ = _update_docstring': "'class_attr_value___doc__ = _update_docstring'"
6704
+ replacements_plain:
6705
+ 'class_attr_value.__doc__ = _update_docstring': 'class_attr_value___doc__ = _update_docstring'
6422
6706
  change_function:
6423
6707
  '_copy_fn': "'(lambda fn: fn)'"
6424
6708
 
@@ -6456,13 +6740,13 @@
6456
6740
  return orig_getsourcelines(obj)
6457
6741
  when: 'standalone'
6458
6742
 
6459
- - module-name: 'tensorflow_core' # checksum: f377875c
6743
+ - module-name: 'tensorflow_core' # checksum: e1ad340d
6460
6744
  anti-bloat:
6461
6745
  - description: 'remove useless distutils usage'
6462
- replacements:
6463
- 'import distutils as _distutils': "'_distutils = None'"
6464
- 'import site as _site': "'_site = None'"
6465
- 'if _running_from_pip_package()': "'if False'"
6746
+ replacements_plain:
6747
+ 'import distutils as _distutils': '_distutils = None'
6748
+ 'import site as _site': '_site = None'
6749
+ 'if _running_from_pip_package()': 'if False'
6466
6750
 
6467
6751
  - module-name: 'tensorflow_probability.python' # checksum: 33557ce7
6468
6752
  anti-bloat:
@@ -6516,30 +6800,27 @@
6516
6800
  'IPython': 'ignore'
6517
6801
  when: 'not use_ipython'
6518
6802
 
6519
- - module-name: 'thinc' # checksum: a21af6c5
6520
- dlls:
6521
- - from_filenames:
6522
- relative_path: 'backends'
6523
- prefixes:
6524
- - '_custom_kernels'
6525
- - '_murmur3'
6526
- suffixes:
6527
- - 'cu'
6528
-
6803
+ - module-name: 'thinc' # checksum: 22203f3f
6529
6804
  anti-bloat:
6530
6805
  - description: 'do not follow tests'
6531
6806
  no-auto-follow:
6532
6807
  'thinc.tests': 'ignore'
6533
6808
 
6809
+ - module-name: 'thinc.backends' # checksum: a9d80ab6
6810
+ data-files:
6811
+ patterns:
6812
+ - '*.cu'
6813
+
6534
6814
  - module-name: 'thinc.backends.cblas' # checksum: 53774cbb
6535
6815
  implicit-imports:
6536
6816
  - depends:
6537
6817
  - 'blis'
6538
6818
 
6539
- - module-name: 'thinc.backends.numpy_ops' # checksum: a904b0a4
6819
+ - module-name: 'thinc.backends.numpy_ops' # checksum: 33d82a78
6540
6820
  implicit-imports:
6541
6821
  - depends:
6542
6822
  - 'thinc.backends.linalg'
6823
+ - 'preshed.maps'
6543
6824
 
6544
6825
  - module-name: 'thinc.backends.numpy_ops.NumpyOps' # checksum: 53774cbb
6545
6826
  implicit-imports:
@@ -6579,6 +6860,11 @@
6579
6860
  patterns:
6580
6861
  - 'VERSION'
6581
6862
 
6863
+ - module-name: 'tinycudann.modules' # checksum: 2467d1b5
6864
+ implicit-imports:
6865
+ - depends:
6866
+ - 'tinycudann_bindings._*_C'
6867
+
6582
6868
  - module-name: 'tkextrafont' # checksum: 1bd90a67
6583
6869
  dlls:
6584
6870
  - from_filenames:
@@ -6630,9 +6916,10 @@
6630
6916
  'setuptools_scm': 'ignore'
6631
6917
  when: 'not use_setuptools'
6632
6918
 
6633
- - module-name: 'toga.platform' # checksum: 4db91cac
6919
+ - module-name: 'toga.platform' # checksum: c708442a
6634
6920
  variables:
6635
- setup_code: 'import toga.platform'
6921
+ setup_code:
6922
+ - 'import toga.platform'
6636
6923
  declarations:
6637
6924
  'toga_backend_module_name': 'toga.platform.get_platform_factory().__name__'
6638
6925
  anti-bloat:
@@ -6741,6 +7028,13 @@
6741
7028
  replacements_plain:
6742
7029
  'if inspect.isclass(obj)': 'if inspect.isclass(obj) and obj is not __loader__'
6743
7030
 
7031
+ - module-name: 'torch._dynamo.utils' # checksum: fd1c674
7032
+ anti-bloat:
7033
+ - description: 'remove setuptools usage'
7034
+ change_function:
7035
+ 'import_submodule': "'''(lambda mod: [importlib.import_module(mod.__name__ + '.' + p.name) for p in pkgutil.iter_modules(mod.__path__) if p.name[0] != '_'])'''"
7036
+ append_plain: 'import pkgutil'
7037
+
6744
7038
  - module-name: 'torch._dynamo.variables.builder' # checksum: 6ef7624b
6745
7039
  anti-bloat:
6746
7040
  - description: 'remove setuptools usage'
@@ -6890,12 +7184,13 @@
6890
7184
  'get_pytest_test_cases': 'un-callable'
6891
7185
  when: 'not use_pytest'
6892
7186
 
6893
- - module-name: 'torch.utils._config_module' # checksum: 95196bd9
7187
+ - module-name: 'torch.utils._config_module' # checksum: 1613f7c7
6894
7188
  constants:
6895
7189
  declarations:
6896
7190
  'torch_config_module_candidates': '[m for m in iterate_modules("torch") if m.split(".")[-1] in ("config", "_config")]'
6897
7191
  variables:
6898
- setup_code: 'import importlib'
7192
+ setup_code:
7193
+ - 'import importlib'
6899
7194
  declarations:
6900
7195
  'torch_config_modules': 'dict((m,importlib.import_module(m)._compile_ignored_keys) for m in torch_config_module_candidates if hasattr(importlib.import_module(m), "_compile_ignored_keys"))'
6901
7196
 
@@ -7352,6 +7647,12 @@
7352
7647
  - depends:
7353
7648
  - 'queue'
7354
7649
 
7650
+ - module-name: 'usb1' # checksum: 5cbb45ba
7651
+ dlls:
7652
+ - from_filenames:
7653
+ prefixes:
7654
+ - 'libusb'
7655
+
7355
7656
  - module-name: 'uvicorn' # checksum: e24c61dd
7356
7657
  implicit-imports:
7357
7658
  - depends:
@@ -7575,10 +7876,11 @@
7575
7876
  - 'win32comext'
7576
7877
  when: 'win32'
7577
7878
 
7578
- - module-name: 'win32com.server.register' # checksum: d2ea40f3
7879
+ - module-name: 'win32com.server.register' # checksum: cb126a6d
7579
7880
  anti-bloat:
7580
7881
  - replacements_plain:
7581
- 'not pythoncom.frozen': 'False'
7882
+ 'pythoncom.frozen': '1'
7883
+ 'sys.frozen': 'True'
7582
7884
  change_function:
7583
7885
  'ReExecuteElevated': "'''raise (RuntimeError('Nuitka: Needs to be elevated already, use --windows-uac-admin'))'''"
7584
7886
  implicit-imports:
@@ -7782,6 +8084,11 @@
7782
8084
  - 'Grammar.txt'
7783
8085
  - 'PatternGrammar.txt'
7784
8086
 
8087
+ - module-name: 'yt_dlp' # checksum: 7c4ae87e
8088
+ implicit-imports:
8089
+ - depends:
8090
+ - 'yt_dlp.utils._deprecated'
8091
+
7785
8092
  - module-name: 'zaber_motion' # checksum: 11ddc56d
7786
8093
  implicit-imports:
7787
8094
  - depends: