Nuitka-winsvc 2.3.9__cp311-cp311-win_amd64.whl → 2.4.1__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.9.data/scripts/nuitka-run.bat → Nuitka_winsvc-2.4.1.data/scripts/nuitka-run.cmd +1 -1
  2. {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.4.1.dist-info}/METADATA +1 -1
  3. {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.4.1.dist-info}/RECORD +213 -210
  4. {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.4.1.dist-info}/WHEEL +1 -1
  5. nuitka/CacheCleanup.py +6 -1
  6. nuitka/HardImportRegistry.py +29 -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/PythonFlavors.py +22 -4
  14. nuitka/PythonVersions.py +18 -0
  15. nuitka/Tracing.py +26 -23
  16. nuitka/TreeXML.py +6 -3
  17. nuitka/Version.py +1 -1
  18. nuitka/__main__.py +55 -10
  19. nuitka/build/Backend.scons +6 -1
  20. nuitka/build/CCompilerVersion.scons +1 -0
  21. nuitka/build/Onefile.scons +4 -0
  22. nuitka/build/SconsCaching.py +1 -0
  23. nuitka/build/SconsCompilerSettings.py +1 -0
  24. nuitka/build/SconsHacks.py +5 -1
  25. nuitka/build/SconsInterface.py +2 -0
  26. nuitka/build/SconsUtils.py +5 -2
  27. nuitka/build/include/nuitka/allocator.h +27 -5
  28. nuitka/build/include/nuitka/calling.h +1 -1
  29. nuitka/build/include/nuitka/compiled_frame.h +23 -23
  30. nuitka/build/include/nuitka/compiled_method.h +1 -1
  31. nuitka/build/include/nuitka/exception_groups.h +0 -2
  32. nuitka/build/include/nuitka/helper/attributes.h +7 -1
  33. nuitka/build/include/nuitka/helper/subscripts.h +1 -1
  34. nuitka/build/include/nuitka/helpers.h +7 -4
  35. nuitka/build/include/nuitka/prelude.h +6 -10
  36. nuitka/build/include/nuitka/printing.h +2 -0
  37. nuitka/build/include/nuitka/unfreezing.h +5 -5
  38. nuitka/build/inline_copy/tqdm/tqdm/_monitor.py +4 -1
  39. nuitka/build/static_src/CompiledAsyncgenType.c +2 -4
  40. nuitka/build/static_src/CompiledCellType.c +7 -7
  41. nuitka/build/static_src/CompiledCodeHelpers.c +51 -36
  42. nuitka/build/static_src/CompiledCoroutineType.c +2 -4
  43. nuitka/build/static_src/CompiledFrameType.c +109 -82
  44. nuitka/build/static_src/CompiledFunctionType.c +36 -9
  45. nuitka/build/static_src/CompiledGeneratorType.c +12 -10
  46. nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c +2 -2
  47. nuitka/build/static_src/CompiledMethodType.c +14 -13
  48. nuitka/build/static_src/HelpersAttributes.c +13 -15
  49. nuitka/build/static_src/HelpersBuiltin.c +18 -9
  50. nuitka/build/static_src/HelpersCalling.c +13 -13
  51. nuitka/build/static_src/HelpersCallingGenerated.c +22 -22
  52. nuitka/build/static_src/HelpersComparisonEq.c +110 -110
  53. nuitka/build/static_src/HelpersComparisonEqUtils.c +1 -1
  54. nuitka/build/static_src/HelpersComparisonGe.c +110 -110
  55. nuitka/build/static_src/HelpersComparisonGt.c +110 -110
  56. nuitka/build/static_src/HelpersComparisonLe.c +110 -110
  57. nuitka/build/static_src/HelpersComparisonLt.c +110 -110
  58. nuitka/build/static_src/HelpersComparisonNe.c +110 -110
  59. nuitka/build/static_src/HelpersConstantsBlob.c +480 -481
  60. nuitka/build/static_src/HelpersDictionaries.c +9 -0
  61. nuitka/build/static_src/HelpersFiles.c +2 -2
  62. nuitka/build/static_src/HelpersFilesystemPaths.c +28 -13
  63. nuitka/build/static_src/HelpersHeapStorage.c +4 -0
  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/MainProgram.c +28 -9
  85. nuitka/build/static_src/MetaPathBasedLoader.c +126 -110
  86. nuitka/build/static_src/MetaPathBasedLoaderImportlibMetadataDistribution.c +13 -4
  87. nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +30 -1
  88. nuitka/build/static_src/OnefileBootstrap.c +34 -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/GlobalConstants.py +6 -6
  93. nuitka/code_generation/Indentation.py +3 -4
  94. nuitka/code_generation/LoaderCodes.py +3 -0
  95. nuitka/code_generation/LocalsDictCodes.py +36 -14
  96. nuitka/code_generation/MatchCodes.py +23 -4
  97. nuitka/code_generation/ModuleCodes.py +0 -7
  98. nuitka/code_generation/Namify.py +2 -0
  99. nuitka/code_generation/PackageResourceCodes.py +5 -1
  100. nuitka/code_generation/templates/CodeTemplatesConstants.py +6 -4
  101. nuitka/code_generation/templates/CodeTemplatesLoader.py +1 -1
  102. nuitka/code_generation/templates/CodeTemplatesModules.py +3 -3
  103. nuitka/code_generation/templates/CodeTemplatesVariables.py +16 -2
  104. nuitka/code_generation/templates_c/CodeTemplateCallsMethodPositional.c.j2 +2 -2
  105. nuitka/code_generation/templates_c/HelperOperationBinary.c.j2 +1 -1
  106. nuitka/code_generation/templates_c/HelperOperationInplace.c.j2 +1 -1
  107. nuitka/code_generation/templates_c/HelperSlotsBinary.c.j2 +7 -7
  108. nuitka/freezer/DependsExe.py +3 -1
  109. nuitka/freezer/DllDependenciesMacOS.py +28 -14
  110. nuitka/freezer/IncludedDataFiles.py +12 -3
  111. nuitka/freezer/IncludedEntryPoints.py +8 -2
  112. nuitka/freezer/Onefile.py +6 -1
  113. nuitka/freezer/Standalone.py +9 -2
  114. nuitka/importing/Importing.py +14 -5
  115. nuitka/importing/Recursion.py +3 -0
  116. nuitka/nodes/AttributeNodesGenerated.py +21 -12
  117. nuitka/nodes/BuiltinOpenNodes.py +5 -0
  118. nuitka/nodes/BuiltinOperationNodeBasesGenerated.py +11 -11
  119. nuitka/nodes/BuiltinRefNodes.py +41 -1
  120. nuitka/nodes/ChildrenHavingMixins.py +143 -355
  121. nuitka/nodes/ClassNodes.py +30 -12
  122. nuitka/nodes/CodeObjectSpecs.py +9 -0
  123. nuitka/nodes/ExpressionBasesGenerated.py +11 -11
  124. nuitka/nodes/FunctionNodes.py +11 -12
  125. nuitka/nodes/FutureSpecs.py +16 -3
  126. nuitka/nodes/GeneratorNodes.py +2 -2
  127. nuitka/nodes/HardImportNodesGenerated.py +11 -134
  128. nuitka/nodes/LocalsScopes.py +19 -23
  129. nuitka/nodes/MatchNodes.py +18 -7
  130. nuitka/nodes/ModuleAttributeNodes.py +1 -20
  131. nuitka/nodes/ModuleNodes.py +23 -6
  132. nuitka/nodes/NodeBases.py +13 -11
  133. nuitka/nodes/NodeMetaClasses.py +26 -10
  134. nuitka/nodes/ReturnNodes.py +1 -1
  135. nuitka/nodes/StatementBasesGenerated.py +11 -11
  136. nuitka/nodes/SubscriptNodes.py +4 -4
  137. nuitka/nodes/VariableAssignNodes.py +1 -1
  138. nuitka/nodes/VariableRefNodes.py +28 -2
  139. nuitka/nodes/shapes/BuiltinTypeShapes.py +21 -1
  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 +91 -3
  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 +491 -186
  157. nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +17 -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 +9 -1
  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 +22 -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 +21 -9
  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 +69 -41
  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.9.data/scripts/nuitka.bat → /Nuitka_winsvc-2.4.1.data/scripts/nuitka.cmd +0 -0
  211. {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.4.1.dist-info}/LICENSE.txt +0 -0
  212. {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.4.1.dist-info}/entry_points.txt +0 -0
  213. {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.4.1.dist-info}/top_level.txt +0 -0
@@ -351,6 +351,12 @@
351
351
  - 'av.plane'
352
352
  - 'av.video.plane'
353
353
 
354
+ - module-name: 'azure.cognitiveservices.speech' # checksum: 571ec995
355
+ dlls:
356
+ - from_filenames:
357
+ prefixes:
358
+ - 'Microsoft.CognitiveServices.Speech'
359
+
354
360
  - module-name: 'babel' # checksum: 37b8fa6d
355
361
  data-files:
356
362
  dirs:
@@ -447,6 +453,18 @@
447
453
  'is_triton_available()': 'False'
448
454
  when: 'not use_setuptools'
449
455
 
456
+ - module-name: 'black' # checksum: 33fdf1ff
457
+ implicit-imports:
458
+ - depends:
459
+ - '30fcd23745efe32ce681__mypyc'
460
+
461
+ - module-name: 'black.handle_ipynb_magics' # checksum: 7d07a2d1
462
+ anti-bloat:
463
+ - description: 'remove IPython reference'
464
+ no-auto-follow:
465
+ 'IPython': 'ignore'
466
+ when: 'not use_ipython'
467
+
450
468
  - module-name: 'bokeh' # checksum: cd9c2e63
451
469
  data-files:
452
470
  dirs:
@@ -493,6 +511,19 @@
493
511
  patterns:
494
512
  - 'cacert.pem'
495
513
 
514
+ - module-name: 'bpy' # checksum: 210495b
515
+ data-files:
516
+ dirs:
517
+ - '.'
518
+ - 'materialx'
519
+ - 'usd'
520
+ raw_dirs:
521
+ - '4.1'
522
+ dlls:
523
+ - from_filenames:
524
+ prefixes:
525
+ - ''
526
+
496
527
  - module-name: 'branca' # checksum: 7c7e6a4e
497
528
  data-files:
498
529
  dirs:
@@ -857,6 +888,11 @@
857
888
  - depends:
858
889
  - 'cytoolz.utils'
859
890
 
891
+ - module-name: 'dash' # checksum: 3ebe1284
892
+ data-files:
893
+ dirs:
894
+ - '.'
895
+
860
896
  - module-name: 'dash._jupyter' # checksum: 681007fe
861
897
  anti-bloat:
862
898
  - description: 'remove IPython reference'
@@ -871,21 +907,6 @@
871
907
  '"_pytest" in sys.modules': 'False'
872
908
  when: 'not use_pytest'
873
909
 
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
910
  - module-name: 'dask' # checksum: c72c99e9
890
911
  data-files:
891
912
  patterns:
@@ -902,11 +923,11 @@
902
923
  - depends:
903
924
  - 'pyarrow._*'
904
925
 
905
- - module-name: 'dask.dataframe._compat' # checksum: 78ecb250
926
+ - module-name: 'dask.dataframe._compat' # checksum: a10ec27c
906
927
  anti-bloat:
907
928
  - description: 'remove pandas.testing reference'
908
929
  replacements_plain:
909
- 'import pandas.testing as tm': ''
930
+ 'import pandas.testing as tm': 'tm=None'
910
931
 
911
932
  - module-name: 'dask.dataframe.utils' # checksum: 5af31dde
912
933
  anti-bloat:
@@ -1069,6 +1090,77 @@
1069
1090
  'is_kernel': "'(lambda : False)'"
1070
1091
  when: 'not use_ipython'
1071
1092
 
1093
+ - module-name: 'django' # checksum: 7652b420
1094
+ anti-bloat:
1095
+ - description: 'allow unittest inside django, too dependent to remove'
1096
+ bloat-mode-overrides:
1097
+ 'unittest': 'allow'
1098
+
1099
+ - module-name: 'django.conf' # checksum: 2d31f140
1100
+ data-files:
1101
+ dirs:
1102
+ - 'locale/en'
1103
+
1104
+ - module-name: 'django.core.management' # checksum: 261e0447
1105
+ parameters:
1106
+ - 'name': 'settings-module'
1107
+ 'values': 'checkModuleName(value)'
1108
+ variables:
1109
+ setup_code:
1110
+ - 'import os, importlib'
1111
+ - 'settings = importlib.import_module(os.getenv("PARAMETER_SETTINGS_MODULE"))'
1112
+ declarations:
1113
+ 'django_installed_apps': 'settings.INSTALLED_APPS'
1114
+ environment:
1115
+ 'PARAMETER_SETTINGS_MODULE': 'get_parameter("settings-module", None)'
1116
+ anti-bloat:
1117
+ # This makes exceptions to the "*" dependency in the
1118
+ # implicit-imports section below.
1119
+ - no-follow:
1120
+ 'django.core.management.commands.test': 'disable tests'
1121
+ when: 'not use_pytest'
1122
+ implicit-imports:
1123
+ - depends:
1124
+ - 'django.core.management.commands.*'
1125
+ - 'get_parameter("settings-module", ())'
1126
+ - '["%s.management.commands.*" % x for x in get_variable("django_installed_apps")]'
1127
+ - 'get_variable("django_installed_apps")'
1128
+
1129
+ options:
1130
+ checks:
1131
+ - description: "Django settings module must be specified with '--module-parameter=django-settings-module=<settings_module_name>'"
1132
+ support_info: 'parameter'
1133
+ when: 'standalone and get_parameter("settings-module", None) is None'
1134
+
1135
+ - module-name: 'django.core.management.commands.shell' # checksum: 7d07a2d1
1136
+ anti-bloat:
1137
+ - description: 'remove IPython reference'
1138
+ no-auto-follow:
1139
+ 'IPython': 'ignore'
1140
+ when: 'not use_ipython'
1141
+
1142
+ - module-name: 'django.db.backends' # checksum: 5a0c4e00
1143
+ implicit-imports:
1144
+ - depends:
1145
+ - 'django.db.backends.dummy.*'
1146
+
1147
+ - module-name: 'django.db.backends.base.creation' # checksum: f16012b0
1148
+ anti-bloat:
1149
+ - description: 'remove unittest reference'
1150
+ no-auto-follow:
1151
+ 'unittest': 'ignore'
1152
+ when: 'not use_unittest'
1153
+
1154
+ - module-name: 'django.template.engine' # checksum: 19e5edde
1155
+ implicit-imports:
1156
+ - depends:
1157
+ - 'django.templatetags.i18n'
1158
+
1159
+ - module-name: 'django.template.library' # checksum: 87fd23ca
1160
+ implicit-imports:
1161
+ - depends:
1162
+ - 'django.template.loader_tags'
1163
+
1072
1164
  - module-name: 'dns.rdtypes' # checksum: 119feab4
1073
1165
  implicit-imports:
1074
1166
  - depends:
@@ -1114,16 +1206,6 @@
1114
1206
  replacements_plain:
1115
1207
  'load_module(str("_traceback_no_io"), traceback)': '__import__("traceback")'
1116
1208
 
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
1209
  - module-name: 'enchant' # checksum: 810a705a
1128
1210
  data-files:
1129
1211
  dirs:
@@ -1225,17 +1307,17 @@
1225
1307
  - depends:
1226
1308
  - 'fastapi.routing'
1227
1309
 
1228
- - module-name: 'feedparser.html' # checksum: 65e0a1
1310
+ - module-name: 'feedparser.html' # checksum: 8b17e6bc
1229
1311
  anti-bloat:
1230
1312
  - description: 'use SGML code more naturally'
1231
1313
  context:
1232
1314
  - 'import inspect'
1233
1315
  - 'import textwrap'
1234
1316
  - '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'"
1317
+ replacements_plain:
1318
+ '__parse_starttag.__code__ = sgmllib.SGMLParser.parse_starttag.__code__': 'pass'
1319
+ 'def goahead(self, i):': 'def goahead(self, end):'
1320
+ 'goahead.__code__ = sgmllib.SGMLParser.goahead.__code__': 'pass'
1239
1321
  change_function:
1240
1322
  '__parse_starttag': 'textwrap.dedent(inspect.getsource(sgmllib.SGMLParser.parse_starttag))'
1241
1323
  'goahead': 'textwrap.dedent(inspect.getsource(sgmllib.SGMLParser.goahead))'
@@ -1293,6 +1375,28 @@
1293
1375
  dirs:
1294
1376
  - 'templates'
1295
1377
 
1378
+ - module-name: 'fontTools.cu2qu.cu2qu' # checksum: 5673e8a6
1379
+ implicit-imports:
1380
+ - depends:
1381
+ - 'fontTools.cu2qu.errors'
1382
+
1383
+ - module-name: 'fontTools.feaLib.lexer' # checksum: d92ed463
1384
+ implicit-imports:
1385
+ - depends:
1386
+ - 'fontTools.feaLib.error'
1387
+ - 'fontTools.feaLib.location'
1388
+
1389
+ - module-name: 'fontTools.misc.bezierTools' # checksum: 7bee054
1390
+ implicit-imports:
1391
+ - depends:
1392
+ - 'fontTools.misc.arrayTools'
1393
+ - 'fontTools.misc.transform'
1394
+
1395
+ - module-name: 'fontTools.qu2cu.qu2cu' # checksum: bdfe3a4f
1396
+ implicit-imports:
1397
+ - depends:
1398
+ - 'fontTools.misc.bezierTools'
1399
+
1296
1400
  - module-name: 'Foundation' # checksum: f269907b
1297
1401
  options:
1298
1402
  checks:
@@ -1602,6 +1706,22 @@
1602
1706
  - 'VERSION'
1603
1707
  - 'lexicon.db'
1604
1708
 
1709
+ - module-name: 'gsplat.cuda._backend' # checksum: d537c97a
1710
+ anti-bloat:
1711
+ - description: 'remove setuptools usage'
1712
+ replacements_plain:
1713
+ 'from rich.console import Console': ''
1714
+ 'from torch.utils.cpp_extension import _get_build_directory, load': ''
1715
+ when: 'not use_setuptools'
1716
+
1717
+ - module-name: 'gsplat.cuda_legacy._backend' # checksum: d537c97a
1718
+ anti-bloat:
1719
+ - description: 'remove setuptools usage'
1720
+ replacements_plain:
1721
+ 'from rich.console import Console': ''
1722
+ 'from torch.utils.cpp_extension import _get_build_directory, load': ''
1723
+ when: 'not use_setuptools'
1724
+
1605
1725
  - module-name: 'gtk._gtk' # checksum: 4fb4a03b
1606
1726
  implicit-imports:
1607
1727
  - depends:
@@ -1618,6 +1738,11 @@
1618
1738
  - 'cairo'
1619
1739
  - 'gtk'
1620
1740
 
1741
+ - module-name: 'gym_tetris' # checksum: b8aa0fea
1742
+ data-files:
1743
+ dirs:
1744
+ - '_roms'
1745
+
1621
1746
  - module-name: 'gymnasium.envs.registration' # checksum: 4f0b7bbb
1622
1747
  anti-bloat:
1623
1748
  - description: 'better error message for environment backends'
@@ -1785,6 +1910,37 @@
1785
1910
  - depends:
1786
1911
  - 'jarowinkler._initialize_cpp'
1787
1912
 
1913
+ - module-name: 'jaxtyping' # checksum: ee1c8e43
1914
+ data-files:
1915
+ include-metadata:
1916
+ - 'jaxtyping'
1917
+
1918
+ anti-bloat:
1919
+ - description: 'remove IPython reference'
1920
+ no-auto-follow:
1921
+ 'IPython': 'ignore'
1922
+ when: 'not use_ipython'
1923
+
1924
+ - module-name: 'jedi' # checksum: 6be45546
1925
+ anti-bloat:
1926
+ - description: 'allow pydoc inside jedi, too dependent to remove'
1927
+ bloat-mode-overrides:
1928
+ 'pydoc': 'allow'
1929
+
1930
+ - module-name: 'jinja2.environment' # checksum: c71498fb
1931
+ anti-bloat:
1932
+ - description: 'remove Python3.5 only code'
1933
+ no-auto-follow:
1934
+ 'jinja2.asyncsupport': 'ignore'
1935
+ when: 'before_python35'
1936
+
1937
+ - module-name: 'jinja2.lexer' # checksum: 1efd768a
1938
+ anti-bloat:
1939
+ - description: 'remove Python3 only code'
1940
+ no-auto-follow:
1941
+ 'jinja2._identifier': 'ignore'
1942
+ when: 'before_python3'
1943
+
1788
1944
  - module-name: 'joblib._dask' # checksum: e3ae7a22
1789
1945
  anti-bloat:
1790
1946
  - description: 'remove optional dask usage'
@@ -1835,6 +1991,13 @@
1835
1991
  replacements_plain:
1836
1992
  'warnings.warn': ''
1837
1993
 
1994
+ - module-name: 'joblib.memory' # checksum: 49583532
1995
+ anti-bloat:
1996
+ - description: 'remove pydoc'
1997
+ replacements_plain:
1998
+ 'import pydoc': ''
1999
+ 'if inspect.isfunction(func):': 'if False:'
2000
+
1838
2001
  - module-name: 'jpype' # checksum: f75160d3
1839
2002
  data-files:
1840
2003
  dest_path: 'jpype'
@@ -1897,10 +2060,13 @@
1897
2060
  - depends:
1898
2061
  - 'win32timezone'
1899
2062
 
1900
- - module-name: 'kivy' # checksum: aa55c3a4
2063
+ - module-name: 'kivy' # checksum: f6e12f66
1901
2064
  data-files:
1902
2065
  dirs:
1903
2066
  - 'data'
2067
+ implicit-imports:
2068
+ - depends:
2069
+ - 'kivy.uix.*'
1904
2070
 
1905
2071
  options:
1906
2072
  checks:
@@ -2087,11 +2253,11 @@
2087
2253
  - depends:
2088
2254
  - 'markdown.extensions.*'
2089
2255
 
2090
- - module-name: 'matplotlib' # checksum: 977975bb
2256
+ - module-name: 'matplotlib' # checksum: d5e66e6c
2091
2257
  anti-bloat:
2092
2258
  - description: 'remove setuptools and pytest testing framework reference'
2093
- replacements:
2094
- '(root / ".git").exists()"': "'None'"
2259
+ replacements_plain:
2260
+ '(root / ".git").exists()"': 'None'
2095
2261
  'test.__test__ = False': ''
2096
2262
  change_function:
2097
2263
  '_init_tests': "'None'"
@@ -2301,15 +2467,15 @@
2301
2467
  return result[:_MAX_LENGTH] + ' [truncated]...'
2302
2468
  when: 'not use_unittest'
2303
2469
 
2304
- - module-name: 'moto' # checksum: cd522fec
2470
+ - module-name: 'moto' # checksum: 8565eb96
2305
2471
  data-files:
2306
2472
  patterns:
2307
2473
  - 'ec2/resources/instance_types.json'
2308
2474
  - 'ec2/resources/amis.json'
2309
2475
  anti-bloat:
2310
2476
  - description: 'remove pytest testing framework'
2311
- replacements:
2312
- "imp.find_module('pytest')": "'None'"
2477
+ replacements_plain:
2478
+ "imp.find_module('pytest')": 'None'
2313
2479
  when: 'not use_pytest'
2314
2480
 
2315
2481
  - module-name: 'moviepy.audio.fx' # checksum: 1851bf53
@@ -2366,7 +2532,16 @@
2366
2532
  patterns:
2367
2533
  - 'dist.*'
2368
2534
 
2369
- - module-name: 'networkx' # checksum: 6f2aa88a
2535
+ - module-name: 'nes_py' # checksum: 1f3cc2b5
2536
+ dlls:
2537
+ - from_filenames:
2538
+ prefixes:
2539
+ - 'lib_nes_env'
2540
+ suffixes:
2541
+ - 'pyd'
2542
+ when: 'win32'
2543
+
2544
+ - module-name: 'networkx' # checksum: 87442f5d
2370
2545
  anti-bloat:
2371
2546
  - description: 'remove networkx.testing usage and pytest reference (via nose)'
2372
2547
  replacements_plain:
@@ -2376,6 +2551,9 @@
2376
2551
  'nose': 'ignore'
2377
2552
  'pytest': 'ignore'
2378
2553
  when: 'not use_pytest'
2554
+ - description: 'remove optional package references'
2555
+ no-auto-follow:
2556
+ 'matplotlib': 'plotting will lack matplotlib'
2379
2557
 
2380
2558
  - module-name: 'networkx.classes.backends' # checksum: 29bf8c92
2381
2559
  anti-bloat:
@@ -2488,6 +2666,13 @@
2488
2666
  - 'numpy.ma'
2489
2667
  - 'numpy.matrixlib'
2490
2668
 
2669
+ - module-name: 'numpy._core.overrides' # checksum: cda0efc0
2670
+ anti-bloat:
2671
+ - description: 'workaround numpy issues with compiled code'
2672
+ replacements_plain:
2673
+ 'add_docstring(implementation, dispatcher.__doc__)': "add_docstring(implementation, dispatcher.__doc__ or '')"
2674
+ 'public_api.__code__ = ': ''
2675
+
2491
2676
  - module-name: 'numpy._pytesttester' # checksum: 5e3b539b
2492
2677
  anti-bloat:
2493
2678
  - description: 'remove numpy testing framework'
@@ -2510,20 +2695,21 @@
2510
2695
  - 'numpy.core._multiarray_tests'
2511
2696
  - 'numpy._core._multiarray_tests'
2512
2697
 
2513
- - module-name: 'numpy.core.overrides' # checksum: 48ac7e42
2698
+ - module-name: 'numpy.core.overrides' # checksum: cda0efc0
2514
2699
  anti-bloat:
2515
2700
  - description: 'workaround numpy issues with compiled code'
2516
- replacements:
2517
- 'add_docstring(implementation, dispatcher.__doc__)': "'''add_docstring(implementation, dispatcher.__doc__ or '')'''"
2701
+ replacements_plain:
2702
+ 'add_docstring(implementation, dispatcher.__doc__)': "add_docstring(implementation, dispatcher.__doc__ or '')"
2518
2703
  'public_api.__code__ = ': ''
2519
2704
 
2520
- - module-name: 'numpy.ctypeslib' # checksum: a3e2afc6
2705
+ - module-name: 'numpy.ctypeslib' # checksum: bed998c3
2521
2706
  anti-bloat:
2522
2707
  - description: 'remove numpy.distutils references'
2523
2708
  context:
2524
2709
  - 'import numpy.distutils.misc_util'
2525
- replacements:
2710
+ replacements_plain:
2526
2711
  'from numpy.distutils.misc_util import get_shared_lib_extension': ''
2712
+ replacements:
2527
2713
  'get_shared_lib_extension()': 'repr(numpy.distutils.misc_util.get_shared_lib_extension())'
2528
2714
  'get_shared_lib_extension(is_python_ext=True)': 'repr(numpy.distutils.misc_util.get_shared_lib_extension(is_python_ext=True))'
2529
2715
  when: 'not use_setuptools'
@@ -2535,12 +2721,13 @@
2535
2721
  'info': 'un-callable'
2536
2722
  when: 'not use_pydoc'
2537
2723
 
2538
- - module-name: 'numpy.lib.utils' # checksum: 26f115fc
2724
+ - module-name: 'numpy.lib.utils' # checksum: bdb2ffa6
2539
2725
  anti-bloat:
2540
2726
  - description: 'remove pydoc usage'
2541
2727
  replacements_plain:
2542
2728
  '.pydoc.allmethods(object)': '()'
2543
2729
  'import pydoc': ''
2730
+ when: 'not use_pydoc'
2544
2731
 
2545
2732
  - module-name: 'numpy.random' # checksum: e43161e7
2546
2733
  implicit-imports:
@@ -2730,6 +2917,13 @@
2730
2917
  support_info: 'error'
2731
2918
  when: 'version("pyobjc") < (9,)'
2732
2919
 
2920
+ - module-name: 'onnx' # checksum: 5eb1b195
2921
+ options:
2922
+ checks:
2923
+ - description: "onnx is is not supported with Python3.12 unless '--static-libpython' is used"
2924
+ support_info: 'error'
2925
+ when: 'python312_or_higher and not static_libpython'
2926
+
2733
2927
  - module-name: 'onnxruntime' # checksum: 37a94e21
2734
2928
  dlls:
2735
2929
  - from_filenames:
@@ -2749,6 +2943,13 @@
2749
2943
  - depends:
2750
2944
  - 'numpy'
2751
2945
 
2946
+ - module-name: 'open3d' # checksum: 35ff624
2947
+ dlls:
2948
+ - from_filenames:
2949
+ prefixes:
2950
+ - 'lib'
2951
+ - '*swrast_dri'
2952
+
2752
2953
  - module-name: 'open_clip' # checksum: 1fe63667
2753
2954
  data-files:
2754
2955
  dirs:
@@ -2892,7 +3093,7 @@
2892
3093
  change_function:
2893
3094
  '_overrides': "'(lambda method, *args, **kwargs: method)'"
2894
3095
 
2895
- - module-name: 'paddle' # checksum: 11103e47
3096
+ - module-name: 'paddle' # checksum: 27d0c647
2896
3097
  dlls:
2897
3098
  - from_filenames:
2898
3099
  relative_path: 'libs'
@@ -2901,6 +3102,11 @@
2901
3102
  - 'mkl'
2902
3103
  - 'war'
2903
3104
  - 'common'
3105
+ options:
3106
+ checks:
3107
+ - description: "paddle is is not supported with Python3.12 unless '--static-libpython' is used"
3108
+ support_info: 'error'
3109
+ when: 'python312_or_higher and not static_libpython'
2904
3110
 
2905
3111
  - module-name: 'paddle.base.core' # checksum: a81e13c9
2906
3112
  anti-bloat:
@@ -2962,11 +3168,10 @@
2962
3168
  - 'ppstructure/layout'
2963
3169
  - 'ppstructure/table'
2964
3170
 
2965
- - module-name: 'paddleocr.paddleocr' # checksum: 8cf243fc
3171
+ - module-name: 'paddleocr.paddleocr' # checksum: 284bb6fd
2966
3172
  anti-bloat:
2967
- - replacements_plain:
2968
- 'tools = _import_file(': ''
2969
- " 'tools', os.path.join(__dir__, 'tools/__init__.py'), make_importable=True)": 'from . import tools'
3173
+ - replacements_re:
3174
+ 'tools\s*=\s*_import_file\s*\(\s*.*?make_importable=True.*?\s*\)': '"from . import tools"'
2970
3175
 
2971
3176
  - module-name: 'panda3d' # checksum: ed772c0a
2972
3177
  data-files:
@@ -3044,49 +3249,43 @@
3044
3249
  'distutils.version.LooseVersion(version) < minimum_version': 'False'
3045
3250
  'import distutils.version': ''
3046
3251
 
3047
- - module-name: 'pandas.compat.numpy' # checksum: a21ef6ec
3252
+ - module-name: 'pandas.compat.numpy' # checksum: 60947912
3048
3253
  anti-bloat:
3049
3254
  - description: 'remove useless distutils usage'
3050
- replacements:
3051
- # TODO: Smells not only like regexp, must be one.
3052
- 'LooseVersion("1.14")': "'\"1.14\"'"
3053
- 'LooseVersion("1.15")': "'\"1.15\"'"
3054
- 'LooseVersion("1.16")': "'\"1.16\"'"
3055
- 'LooseVersion("1.17")': "'\"1.17\"'"
3056
- 'LooseVersion("1.18")': "'\"1.18\"'"
3057
- 'LooseVersion("1.19")': "'\"1.19\"'"
3058
- 'LooseVersion("1.20")': "'\"1.20\"'"
3059
- 'LooseVersion(_np_version)': "'_np_version'"
3060
- 'from distutils.version import LooseVersion': "''"
3061
-
3062
- - module-name: 'pandas.compat.numpy.function' # checksum: 5fbf97fa
3255
+ replacements_plain:
3256
+ 'LooseVersion(_np_version)': '_np_version'
3257
+ 'from distutils.version import LooseVersion': ''
3258
+ replacements_re:
3259
+ "LooseVersion\\([\"'](.*?)[\"']\\)": '"\1"'
3260
+
3261
+ - module-name: 'pandas.compat.numpy.function' # checksum: b0aad543
3063
3262
  anti-bloat:
3064
3263
  - description: 'remove useless distutils usage'
3065
- replacements:
3066
- 'LooseVersion(__version__) >= LooseVersion("1.17.0")': "'__version__ >= \"1.17.0\"'"
3067
- 'LooseVersion(_np_version) >= LooseVersion("1.17.0")': "'_np_version >= \"1.17.0\"'"
3068
- 'from distutils.version import LooseVersion': "''"
3264
+ replacements_plain:
3265
+ 'LooseVersion(__version__) >= LooseVersion("1.17.0")': '__version__ >= "1.17.0"'
3266
+ 'LooseVersion(_np_version) >= LooseVersion("1.17.0")': '_np_version >= "1.17.0"'
3267
+ 'from distutils.version import LooseVersion': ''
3069
3268
 
3070
- - module-name: 'pandas.core.arrays._arrow_utils' # checksum: 398ecf0
3269
+ - module-name: 'pandas.core.arrays._arrow_utils' # checksum: de3b626c
3071
3270
  anti-bloat:
3072
3271
  - description: 'remove useless distutils usage'
3073
- replacements:
3074
- 'LooseVersion(pyarrow.__version__) >= LooseVersion("0.15")': "'pyarrow.__version__ >= \"0.15\"'"
3075
- 'from distutils.version import LooseVersion': "''"
3272
+ replacements_plain:
3273
+ 'LooseVersion(pyarrow.__version__) >= LooseVersion("0.15")': 'pyarrow.__version__ >= "0.15"'
3274
+ 'from distutils.version import LooseVersion': ''
3076
3275
 
3077
- - module-name: 'pandas.core.arrays.string_arrow' # checksum: 6ff6617
3276
+ - module-name: 'pandas.core.arrays.string_arrow' # checksum: 882a5a11
3078
3277
  anti-bloat:
3079
3278
  - description: 'remove useless distutils usage'
3080
- replacements:
3081
- 'LooseVersion(pa.__version__) < "1.0.0"': "'pa.__version__ < \"1.0.0\"'"
3082
- 'from distutils.version import LooseVersion': "''"
3279
+ replacements_plain:
3280
+ 'LooseVersion(pa.__version__) < "1.0.0"': 'pa.__version__ < "1.0.0"'
3281
+ 'from distutils.version import LooseVersion': ''
3083
3282
 
3084
- - module-name: 'pandas.core.computation.ops' # checksum: ce7ab56e
3283
+ - module-name: 'pandas.core.computation.ops' # checksum: 96e6926c
3085
3284
  anti-bloat:
3086
3285
  - description: 'remove useless distutils usage'
3087
- replacements:
3088
- 'NUMEXPR_VERSION < LooseVersion("2.6.9")': "'False'"
3089
- 'from distutils.version import LooseVersion': "''"
3286
+ replacements_plain:
3287
+ 'NUMEXPR_VERSION < LooseVersion("2.6.9")': 'False'
3288
+ 'from distutils.version import LooseVersion': ''
3090
3289
 
3091
3290
  - module-name: 'pandas.core.groupby.groupby' # checksum: fa0161e8
3092
3291
  anti-bloat:
@@ -3095,12 +3294,12 @@
3095
3294
  'maybe_use_numba(engine)': 'False'
3096
3295
  when: 'not use_numba'
3097
3296
 
3098
- - module-name: 'pandas.core.util.numba_' # checksum: a126e56b
3297
+ - module-name: 'pandas.core.util.numba_' # checksum: 5a47bb5e
3099
3298
  anti-bloat:
3100
3299
  - description: 'remove useless distutils usage'
3101
- replacements:
3102
- 'LooseVersion(numba.__version__) >= LooseVersion("0.49.0")': "'True'"
3103
- 'from distutils.version import LooseVersion': "''"
3300
+ replacements_plain:
3301
+ 'LooseVersion(numba.__version__) >= LooseVersion("0.49.0")': 'True'
3302
+ 'from distutils.version import LooseVersion': ''
3104
3303
 
3105
3304
  - module-name: 'pandas.core.window' # checksum: e748c8ea
3106
3305
  implicit-imports:
@@ -3130,12 +3329,12 @@
3130
3329
  'PyQt4': 'ignore'
3131
3330
  when: 'plugin("no-qt")'
3132
3331
 
3133
- - module-name: 'pandas.io.excel._base' # checksum: 53d399ba
3332
+ - module-name: 'pandas.io.excel._base' # checksum: 8868dc8b
3134
3333
  anti-bloat:
3135
3334
  - description: 'remove useless distutils usage'
3136
- replacements:
3137
- 'LooseVersion(xlrd.__version__)': "'xlrd.__version__'"
3138
- 'from distutils.version import LooseVersion': "''"
3335
+ replacements_plain:
3336
+ 'LooseVersion(xlrd.__version__)': 'xlrd.__version__'
3337
+ 'from distutils.version import LooseVersion': ''
3139
3338
 
3140
3339
  - module-name: 'pandas.io.formats' # checksum: bfd19d5d
3141
3340
  data-files:
@@ -3154,26 +3353,26 @@
3154
3353
  - depends:
3155
3354
  - 'jinja2'
3156
3355
 
3157
- - module-name: 'pandas.io.orc' # checksum: a9b1ffdc
3356
+ - module-name: 'pandas.io.orc' # checksum: 6826194c
3158
3357
  anti-bloat:
3159
3358
  - description: 'remove useless distutils usage'
3160
- replacements:
3161
- 'distutils.version.LooseVersion(pyarrow.__version__) < "0.13.0"': "'pyarrow.__version__ < \"0.13.0\"'"
3162
- 'import distutils': "''"
3359
+ replacements_plain:
3360
+ 'distutils.version.LooseVersion(pyarrow.__version__) < "0.13.0"': 'pyarrow.__version__ < "0.13.0"'
3361
+ 'import distutils': ''
3163
3362
 
3164
- - module-name: 'pandas.io.parquet' # checksum: 4f4a3110
3363
+ - module-name: 'pandas.io.parquet' # checksum: 7d41c774
3165
3364
  anti-bloat:
3166
3365
  - description: 'remove useless distutils usage'
3167
- replacements:
3168
- 'LooseVersion(self.api.__version__) >= "0.16"': "'self.api.__version__ >= \"0.16\"'"
3169
- 'from distutils.version import LooseVersion': "''"
3366
+ replacements_plain:
3367
+ 'LooseVersion(self.api.__version__) >= "0.16"': 'self.api.__version__ >= "0.16"'
3368
+ 'from distutils.version import LooseVersion': ''
3170
3369
 
3171
- - module-name: 'pandas.plotting._matplotlib.compat' # checksum: 837616d5
3370
+ - module-name: 'pandas.plotting._matplotlib.compat' # checksum: 83bfd28f
3172
3371
  anti-bloat:
3173
3372
  - description: 'remove useless distutils usage'
3174
- replacements:
3175
- 'from distutils.version import LooseVersion': "''"
3176
- 'op(LooseVersion(mpl.__version__), LooseVersion(version))': "'op(mpl.__version__, version)'"
3373
+ replacements_plain:
3374
+ 'from distutils.version import LooseVersion': ''
3375
+ 'op(LooseVersion(mpl.__version__), LooseVersion(version))': 'op(mpl.__version__, version)'
3177
3376
 
3178
3377
  - module-name: 'pandas.util' # checksum: 94cd3530
3179
3378
  anti-bloat:
@@ -3181,10 +3380,11 @@
3181
3380
  replacements_plain:
3182
3381
  'if name == "testing":': 'if False:'
3183
3382
 
3184
- - module-name: 'panel' # checksum: 29e3adc1
3383
+ - module-name: 'panel' # checksum: 87b79d62
3185
3384
  data-files:
3186
3385
  dirs:
3187
3386
  - '_templates'
3387
+ - 'template'
3188
3388
  - 'layout'
3189
3389
  - 'theme'
3190
3390
  patterns:
@@ -3350,11 +3550,11 @@
3350
3550
  - depends:
3351
3551
  - '.*.locale'
3352
3552
 
3353
- - module-name: 'persistent._compat' # checksum: c8c2659a
3553
+ - module-name: 'persistent._compat' # checksum: 74566d77
3354
3554
  anti-bloat:
3355
3555
  - description: 'use own compilation for compatibility'
3356
- replacements:
3357
- "os.environ.get('PURE_PYTHON')": "'\"1\"'"
3556
+ replacements_plain:
3557
+ "os.environ.get('PURE_PYTHON')": '"1"'
3358
3558
 
3359
3559
  - module-name: 'persistent.ring' # checksum: ff2e6560
3360
3560
  implicit-imports:
@@ -3433,11 +3633,11 @@
3433
3633
  - 'PIL.XpmImagePlugin'
3434
3634
  - 'PIL.XVThumbImagePlugin'
3435
3635
 
3436
- - module-name: 'PIL.ImageShow' # checksum: e11ea042
3636
+ - module-name: 'PIL.ImageShow' # checksum: 1ae9e8b3
3437
3637
  anti-bloat:
3438
3638
  - description: 'remove IPython reference'
3439
- replacements:
3440
- 'from IPython.display import display as ipython_display': "'raise ImportError'"
3639
+ replacements_plain:
3640
+ 'from IPython.display import display as ipython_display': 'raise ImportError'
3441
3641
  when: 'not use_ipython'
3442
3642
 
3443
3643
  - module-name: 'PIL.SpiderImagePlugin' # checksum: cb3e1ec1
@@ -3536,6 +3736,16 @@
3536
3736
  dirs:
3537
3737
  - '.'
3538
3738
 
3739
+ - module-name: 'plotly' # checksum: 35176d4
3740
+ data-files:
3741
+ dirs:
3742
+ - 'package_data'
3743
+ - 'package_data/templates'
3744
+ - 'package_data/datasets'
3745
+ implicit-imports:
3746
+ - depends:
3747
+ - 'plotly.version'
3748
+
3539
3749
  - module-name: 'plotly.graph_objects' # checksum: bf6dd64b
3540
3750
  anti-bloat:
3541
3751
  - description: 'remove IPython reference'
@@ -3705,7 +3915,7 @@
3705
3915
  - depends:
3706
3916
  - 'pyarrow.vendored.version'
3707
3917
 
3708
- - module-name: 'pyarrow.vendored.docscrape' # checksum: f18b6919
3918
+ - module-name: 'pyarrow.vendored.docscrape' # checksum: b2d4bca8
3709
3919
  anti-bloat:
3710
3920
  - description: 'remove sphinx reference'
3711
3921
  replacements_plain:
@@ -3713,6 +3923,8 @@
3713
3923
  - description: 'workaround for MSVC bug with scipy docscrape 1.8.x'
3714
3924
  replacements_plain:
3715
3925
  "return l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1))": "r = l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1)); return r"
3926
+ bloat-mode-overrides:
3927
+ 'pydoc': 'allow'
3716
3928
 
3717
3929
  - module-name: 'pyaxmlparser.resources' # checksum: 1d442429
3718
3930
  data-files:
@@ -3946,6 +4158,16 @@
3946
4158
  - acceptable-missing-dlls:
3947
4159
  - 'libqpdf'
3948
4160
 
4161
+ - module-name: 'PyQt5.pylupdate' # checksum: 4fa39a08
4162
+ implicit-imports:
4163
+ - depends:
4164
+ - 'PyQt5.QtCore'
4165
+
4166
+ - module-name: 'PyQt5.pyrcc' # checksum: 4fa39a08
4167
+ implicit-imports:
4168
+ - depends:
4169
+ - 'PyQt5.QtCore'
4170
+
3949
4171
  - module-name: 'PyQt6' # checksum: 9ddfb6bb
3950
4172
  options:
3951
4173
  checks:
@@ -4187,6 +4409,12 @@
4187
4409
  - depends:
4188
4410
  - 'PySide6.support.deprecated'
4189
4411
 
4412
+ - module-name: 'PySide6.QtHttpServer' # checksum: edeef99d
4413
+ implicit-imports:
4414
+ - depends:
4415
+ - 'PySide6.QtConcurrent'
4416
+ - 'PySide6.QtWebSockets'
4417
+
4190
4418
  - module-name: 'pysnmp.smi' # checksum: d8623e4b
4191
4419
  data-files:
4192
4420
  patterns:
@@ -4473,6 +4701,12 @@
4473
4701
  'self.console.is_jupyter': 'False'
4474
4702
  when: 'not use_ipython'
4475
4703
 
4704
+ - module-name: 'rich.pager' # checksum: 8ba7ab27
4705
+ anti-bloat:
4706
+ - description: 'allow pydoc inside rich pager, uses it'
4707
+ bloat-mode-overrides:
4708
+ 'pydoc': 'allow'
4709
+
4476
4710
  - module-name: 'rich.pretty' # checksum: bdd67adb
4477
4711
  anti-bloat:
4478
4712
  - description: 'remove IPython reference'
@@ -4510,7 +4744,7 @@
4510
4744
  - depends:
4511
4745
  - 'scapy.layers.*'
4512
4746
 
4513
- - module-name: 'scipy' # checksum: 30cb05e1
4747
+ - module-name: 'scipy' # checksum: f143defd
4514
4748
  data-files:
4515
4749
  patterns:
4516
4750
  - 'stats/_sobol_direction_numbers.npz' # for scipy.stats._sobol._initialize_direction_numbers
@@ -4527,12 +4761,16 @@
4527
4761
  when: 'win32'
4528
4762
 
4529
4763
  anti-bloat:
4530
- - description: 'torch and cupy checks should not cause usage'
4764
+ - description: 'remove optional package references'
4531
4765
  no-auto-follow:
4532
4766
  'cupy': 'ignore'
4533
4767
  'torch': 'ignore'
4768
+ 'jax': 'ignore'
4769
+ 'dask': 'ignore'
4770
+ bloat-mode-overrides:
4771
+ 'pydoc': 'allow'
4534
4772
 
4535
- - module-name: 'scipy._distributor_init' # checksum: 576c57d8
4773
+ - module-name: 'scipy._distributor_init' # checksum: c312b65
4536
4774
  anti-bloat:
4537
4775
  - description: 'workaround for scipy DLL loading'
4538
4776
  append_plain: |
@@ -4542,7 +4780,7 @@
4542
4780
  libs_dir = os.path.join(os.path.dirname(__file__), '..', 'scipy.libs')
4543
4781
  for filename in glob.glob(os.path.join(libs_dir, '*openblas*dll')):
4544
4782
  WinDLL(filename)
4545
- when: 'win32 and version("scipy") >= (1, 9, 2)'
4783
+ when: 'win32 and standalone and (1,14) > version("scipy") >= (1,9,2)'
4546
4784
 
4547
4785
  - module-name: 'scipy._lib' # checksum: 4063ed73
4548
4786
  implicit-imports:
@@ -4558,12 +4796,22 @@
4558
4796
  replacements_plain:
4559
4797
  "return l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1))": "r = l2.startswith('-'*len(l1)) or l2.startswith('='*len(l1)); return r"
4560
4798
 
4561
- - module-name: 'scipy._lib._numpy_compat' # checksum: c054044d
4799
+ - module-name: 'scipy._lib._numpy_compat' # checksum: 58eb0d9e
4562
4800
  anti-bloat:
4563
4801
  - description: 'remove numpy testing framework'
4564
- replacements:
4565
- "NumpyVersion(np.__version__) > '1.7.0.dev'": "'0'"
4566
- 'from numpy.testing import suppress_warnings': "r'suppress_warnings = __import__(\"contextmanager\").contextmanager(lambda : (yield))'"
4802
+ replacements_plain:
4803
+ "NumpyVersion(np.__version__) > '1.7.0.dev'": '0'
4804
+ 'from numpy.testing import suppress_warnings': 'suppress_warnings = __import__("contextmanager").contextmanager(lambda : (yield))'
4805
+
4806
+ - module-name: 'scipy._lib._test_deprecation_call' # checksum: 2db6b2eb
4807
+ implicit-imports:
4808
+ - depends:
4809
+ - 'scipy._lib._test_deprecation_def'
4810
+
4811
+ - module-name: 'scipy._lib._test_deprecation_def' # checksum: 10d680aa
4812
+ implicit-imports:
4813
+ - depends:
4814
+ - 'scipy._lib.deprecation'
4567
4815
 
4568
4816
  - module-name: 'scipy._lib._testutils' # checksum: 5e3b539b
4569
4817
  anti-bloat:
@@ -4573,18 +4821,29 @@
4573
4821
  def __init__(self, name):
4574
4822
  pass
4575
4823
 
4824
+ - module-name: 'scipy._lib.array_api_compat.common._helpers' # checksum: d79dca22
4825
+ anti-bloat:
4826
+ - description: 'remove optional package references'
4827
+ no-auto-follow:
4828
+ 'numpy': 'ignore'
4829
+
4830
+ - module-name: 'scipy._lib.array_api_compat.numpy' # checksum: 4d6580fa
4831
+ implicit-imports:
4832
+ - depends:
4833
+ - 'scipy._lib.array_api_compat.numpy.fft'
4834
+
4576
4835
  - module-name: 'scipy.integrate._quadrature' # checksum: 97a85907
4577
4836
  anti-bloat:
4578
4837
  - description: 'remove useless function copying'
4579
4838
  change_function:
4580
4839
  '_copy_func': "'(lambda f: f)'"
4581
4840
 
4582
- - module-name: 'scipy.lib.numpy_compat' # checksum: c054044d
4841
+ - module-name: 'scipy.lib.numpy_compat' # checksum: 58eb0d9e
4583
4842
  anti-bloat:
4584
4843
  - description: 'remove numpy testing framework'
4585
- replacements:
4586
- "NumpyVersion(np.__version__) > '1.7.0.dev'": "'0'"
4587
- 'from numpy.testing import suppress_warnings': "r'suppress_warnings = __import__(\"contextmanager\").contextmanager(lambda : (yield))'"
4844
+ replacements_plain:
4845
+ "NumpyVersion(np.__version__) > '1.7.0.dev'": '0'
4846
+ 'from numpy.testing import suppress_warnings': 'suppress_warnings = __import__("contextmanager").contextmanager(lambda : (yield))'
4588
4847
 
4589
4848
  - module-name: 'scipy.linalg' # checksum: 3f43474e
4590
4849
  implicit-imports:
@@ -4619,11 +4878,6 @@
4619
4878
  - no-auto-follow:
4620
4879
  'matplotlib': 'plotting will lack matplotlib'
4621
4880
 
4622
- - module-name: 'scipy.signal' # checksum: 4ded0e67
4623
- implicit-imports:
4624
- - depends:
4625
- - 'scipy.special._cdflib'
4626
-
4627
4881
  - module-name: 'scipy.sparse.csgraph' # checksum: 8997608e
4628
4882
  implicit-imports:
4629
4883
  - depends:
@@ -4670,10 +4924,11 @@
4670
4924
  - depends:
4671
4925
  - 'scipy.special._ufuncs_cxx'
4672
4926
 
4673
- - module-name: 'scipy.special._ufuncs' # checksum: 4ded0e67
4927
+ - module-name: 'scipy.special._ufuncs' # checksum: 79044be3
4674
4928
  implicit-imports:
4675
4929
  - depends:
4676
4930
  - 'scipy.special._cdflib'
4931
+ - 'scipy.special._special_ufuncs'
4677
4932
 
4678
4933
  - module-name: 'scipy.stats._fit' # checksum: 7547ad25
4679
4934
  anti-bloat:
@@ -4690,10 +4945,10 @@
4690
4945
  - no-auto-follow:
4691
4946
  'matplotlib': 'plotting will lack matplotlib'
4692
4947
 
4693
- - module-name: 'scipy.stats.morestats' # checksum: 8c6ba801
4948
+ - module-name: 'scipy.stats.morestats' # checksum: 170d0f71
4694
4949
  anti-bloat:
4695
4950
  - description: 'remove numpy testing framework'
4696
- replacements:
4951
+ replacements_plain:
4697
4952
  '@setastest(False)': ''
4698
4953
  'from numpy.testing.decorators import setastest': ''
4699
4954
 
@@ -5104,7 +5359,7 @@
5104
5359
  'import dask.array as da': 'raise ImportError'
5105
5360
  when: 'not use_dask'
5106
5361
 
5107
- - module-name: 'sklearn._distributor_init' # checksum: f9ef476
5362
+ - module-name: 'sklearn._distributor_init' # checksum: 8597e1a6
5108
5363
  dlls:
5109
5364
  - from_filenames:
5110
5365
  relative_path: '.libs'
@@ -5112,11 +5367,11 @@
5112
5367
  - ''
5113
5368
  anti-bloat:
5114
5369
  - description: 'remove site module and distutils usage'
5115
- replacements:
5116
- '_site.ENABLE_USER_SITE': "'False'"
5117
- 'if _running_from_pip_package()': "'if False'"
5118
- 'import distutils as _distutils': "'_distutils = None'"
5119
- 'import site as _site': "'_site = None'"
5370
+ replacements_plain:
5371
+ '_site.ENABLE_USER_SITE': 'False'
5372
+ 'if _running_from_pip_package()': 'if False'
5373
+ 'import distutils as _distutils': '_distutils = None'
5374
+ 'import site as _site': '_site = None'
5120
5375
  implicit-imports:
5121
5376
  - depends:
5122
5377
  - '.python.keras'
@@ -5255,11 +5510,11 @@
5255
5510
  - depends:
5256
5511
  - 'sklearn.preprocessing._csr_polynomial_expansion'
5257
5512
 
5258
- - module-name: 'sklearn.random_projection' # checksum: 88257b1b
5513
+ - module-name: 'sklearn.random_projection' # checksum: b68af3f8
5259
5514
  anti-bloat:
5260
5515
  - description: 'remove numpy testing framework'
5261
- replacements:
5262
- 'from numpy.testing import assert_equal': "r'assert_equal = (lambda actual, desired, err_msg=None, verbose=True: True)'"
5516
+ replacements_plain:
5517
+ 'from numpy.testing import assert_equal': 'assert_equal = (lambda actual, desired, err_msg=None, verbose=True: True)'
5263
5518
 
5264
5519
  - module-name: 'sklearn.svm' # checksum: 1126ac74
5265
5520
  implicit-imports:
@@ -5422,38 +5677,40 @@
5422
5677
  no-auto-follow:
5423
5678
  'spacy.tests': 'ignore'
5424
5679
 
5425
- - module-name: 'spacy.pipeline' # checksum: 285ab011
5680
+ - module-name: 'spacy.morphology' # checksum: fc4c0a90
5681
+ implicit-imports:
5682
+ - depends:
5683
+ - 'spacy.parts_of_speech'
5684
+
5685
+ - module-name: 'spacy.pipeline' # checksum: e8faf1dd
5426
5686
  implicit-imports:
5427
5687
  - depends:
5428
- - 'thinc.extra.*'
5429
5688
  - 'spacy.pipeline.ner'
5430
5689
 
5431
- - module-name: 'spacy.pipeline._parser_internals' # checksum: 36eb559e
5690
+ - module-name: 'spacy.pipeline._parser_internals._beam_utils' # checksum: 21162b2b
5432
5691
  implicit-imports:
5433
5692
  - depends:
5434
- - 'spacy.pipeline._parser_internals._beam_utils'
5435
- - 'spacy.pipeline._parser_internals._state'
5436
- - 'spacy.pipeline._parser_internals.arc_eager'
5437
- - 'spacy.pipeline._parser_internals.nonproj'
5438
- - 'spacy.pipeline._parser_internals.stateclass'
5439
- - 'spacy.pipeline._parser_internals.transition_system'
5440
- - 'spacy.pipeline._parser_internals.ner'
5693
+ - 'thinc.extra.search'
5441
5694
 
5442
5695
  - module-name: 'spacy.pipeline.dep_parser' # checksum: c61d0958
5443
5696
  implicit-imports:
5444
5697
  - depends:
5445
5698
  - 'spacy.pipeline.transition_parser'
5446
5699
 
5700
+ - module-name: 'spacy.pipeline.transition_parser' # checksum: bbff8187
5701
+ implicit-imports:
5702
+ - depends:
5703
+ - 'spacy.pipeline._parser_internals.*'
5704
+
5447
5705
  - module-name: 'spacy.util' # checksum: 39e3b324
5448
5706
  implicit-imports:
5449
5707
  - depends:
5450
5708
  - 'spacy.lang.*'
5451
5709
 
5452
- - module-name: 'spacy.vocab' # checksum: 73f7507a
5710
+ - module-name: 'spacy.vocab' # checksum: bfa3250b
5453
5711
  implicit-imports:
5454
5712
  - depends:
5455
5713
  - 'spacy.lang.lex_attrs'
5456
- - 'spacy.parts_of_speech'
5457
5714
  - 'spacy.lang.norm_exceptions'
5458
5715
 
5459
5716
  - module-name: 'sparse' # checksum: 7a56f74f
@@ -5483,12 +5740,12 @@
5483
5740
  executable: 'yes'
5484
5741
  when: 'linux'
5485
5742
 
5486
- - module-name: 'sphinx.util.docutils' # checksum: 6b3e2205
5743
+ - module-name: 'sphinx.util.docutils' # checksum: 4870f54d
5487
5744
  anti-bloat:
5488
5745
  - description: 'remove useless distutils usage'
5489
- replacements:
5490
- '__version_info__ = tuple(LooseVersion(docutils.__version__).version)': "'tuple(int(d) for d in docutils.__version__.split(\".\"))'"
5491
- 'from distutils.version import LooseVersion': "''"
5746
+ replacements_plain:
5747
+ '__version_info__ = tuple(LooseVersion(docutils.__version__).version)': 'tuple(int(d) for d in docutils.__version__.split("."))'
5748
+ 'from distutils.version import LooseVersion': ''
5492
5749
 
5493
5750
  - module-name: 'sqlalchemy' # checksum: c3efbf7
5494
5751
  implicit-imports:
@@ -5954,6 +6211,11 @@
5954
6211
  change_function:
5955
6212
  '_test': "'(lambda: None)'"
5956
6213
 
6214
+ - module-name: 'telethon' # checksum: a76d75f1
6215
+ anti-bloat:
6216
+ - description: 'avoid annotations bloat'
6217
+ annotations: 'no'
6218
+
5957
6219
  - module-name: 'tenacity' # checksum: 64bd1802
5958
6220
  anti-bloat:
5959
6221
  # It would be nice
@@ -5963,6 +6225,14 @@
5963
6225
  'from tenacity.tornadoweb import TornadoRetrying': 'pass'
5964
6226
  when: 'not use_tornado'
5965
6227
 
6228
+ - module-name: 'tendo.singleton' # checksum: ca7e6fc2
6229
+ options:
6230
+ checks:
6231
+ # TODO: Actually change the default to product name, file version, etc. from __compiled__ or from plugin variables
6232
+ - description: "need to use cached onefile mode with 'tendo.singleton' to work correctly"
6233
+ support_info: 'warning'
6234
+ when: 'onefile and not onefile_cached'
6235
+
5966
6236
  - module-name: 'tensorboard' # checksum: 5e3de759
5967
6237
  anti-bloat:
5968
6238
  - description: 'remove IPython reference'
@@ -6296,11 +6566,11 @@
6296
6566
  - '_audio_microfrontend_op'
6297
6567
 
6298
6568
  # TODO: Maybe not really necessary, this should be avoided by itself instead.
6299
- - module-name: 'tensorflow.lite.python.convert' # checksum: 83de5047
6569
+ - module-name: 'tensorflow.lite.python.convert' # checksum: 326784fc
6300
6570
  anti-bloat:
6301
6571
  - description: 'remove useless distutils usage'
6302
- replacements:
6303
- 'distutils.spawn.find_executable(_deprecated_conversion_binary) is None': "'False'"
6572
+ replacements_plain:
6573
+ 'distutils.spawn.find_executable(_deprecated_conversion_binary) is None': 'False'
6304
6574
  'import distutils.spawn': ''
6305
6575
 
6306
6576
  - module-name: 'tensorflow.lite.python.interpreter_wrapper' # checksum: 6742ae49
@@ -6390,11 +6660,11 @@
6390
6660
  - depends:
6391
6661
  - 'ml_dtypes'
6392
6662
 
6393
- - module-name: 'tensorflow.python.framework.meta_graph' # checksum: b0a05a68
6663
+ - module-name: 'tensorflow.python.framework.meta_graph' # checksum: 13d13fb
6394
6664
  anti-bloat:
6395
6665
  - description: 'remove useless distutils usage'
6396
- replacements:
6397
- 'distutils_version.LooseVersion': "'str'"
6666
+ replacements_plain:
6667
+ 'distutils_version.LooseVersion': 'str'
6398
6668
  'from distutils import version as distutils_version': ''
6399
6669
 
6400
6670
  - module-name: 'tensorflow.python.keras.utils.vis_utils' # checksum: 7d07a2d1
@@ -6404,17 +6674,19 @@
6404
6674
  'IPython': 'ignore'
6405
6675
  when: 'not use_ipython'
6406
6676
 
6407
- - module-name: 'tensorflow.python.ops.distributions.distribution' # checksum: 2f12fb17
6677
+ - module-name: 'tensorflow.python.ops.distributions.distribution' # checksum: 4b7ea33
6408
6678
  anti-bloat:
6409
6679
  - description: 'remove useless function copying'
6410
- replacements:
6411
- 'class_attr_value.__doc__ = _update_docstring': "'class_attr_value___doc__ = _update_docstring'"
6680
+ replacements_plain:
6681
+ 'class_attr_value.__doc__ = _update_docstring': 'class_attr_value___doc__ = _update_docstring'
6412
6682
  change_function:
6413
6683
  '_copy_fn': "'(lambda fn: fn)'"
6414
6684
 
6415
- - module-name: 'tensorflow.python.util.lazy_loader' # checksum: d4c83239
6685
+ - module-name: 'tensorflow.python.util.lazy_loader' # checksum: f4d18284
6416
6686
  anti-bloat:
6417
6687
  - description: 'reduce keras usage'
6688
+ replacements_re:
6689
+ '(package_name = "(.*?)")': '\1; import \2'
6418
6690
  replacements:
6419
6691
  'os.environ.get("TF_USE_LEGACY_KERAS", None)': 'repr(os.environ.get("TF_USE_LEGACY_KERAS", None))'
6420
6692
  'keras.__version__': 'repr(version_str("keras"))'
@@ -6444,13 +6716,13 @@
6444
6716
  return orig_getsourcelines(obj)
6445
6717
  when: 'standalone'
6446
6718
 
6447
- - module-name: 'tensorflow_core' # checksum: f377875c
6719
+ - module-name: 'tensorflow_core' # checksum: e1ad340d
6448
6720
  anti-bloat:
6449
6721
  - description: 'remove useless distutils usage'
6450
- replacements:
6451
- 'import distutils as _distutils': "'_distutils = None'"
6452
- 'import site as _site': "'_site = None'"
6453
- 'if _running_from_pip_package()': "'if False'"
6722
+ replacements_plain:
6723
+ 'import distutils as _distutils': '_distutils = None'
6724
+ 'import site as _site': '_site = None'
6725
+ 'if _running_from_pip_package()': 'if False'
6454
6726
 
6455
6727
  - module-name: 'tensorflow_probability.python' # checksum: 33557ce7
6456
6728
  anti-bloat:
@@ -6504,30 +6776,27 @@
6504
6776
  'IPython': 'ignore'
6505
6777
  when: 'not use_ipython'
6506
6778
 
6507
- - module-name: 'thinc' # checksum: a21af6c5
6508
- dlls:
6509
- - from_filenames:
6510
- relative_path: 'backends'
6511
- prefixes:
6512
- - '_custom_kernels'
6513
- - '_murmur3'
6514
- suffixes:
6515
- - 'cu'
6516
-
6779
+ - module-name: 'thinc' # checksum: 22203f3f
6517
6780
  anti-bloat:
6518
6781
  - description: 'do not follow tests'
6519
6782
  no-auto-follow:
6520
6783
  'thinc.tests': 'ignore'
6521
6784
 
6785
+ - module-name: 'thinc.backends' # checksum: a9d80ab6
6786
+ data-files:
6787
+ patterns:
6788
+ - '*.cu'
6789
+
6522
6790
  - module-name: 'thinc.backends.cblas' # checksum: 53774cbb
6523
6791
  implicit-imports:
6524
6792
  - depends:
6525
6793
  - 'blis'
6526
6794
 
6527
- - module-name: 'thinc.backends.numpy_ops' # checksum: a904b0a4
6795
+ - module-name: 'thinc.backends.numpy_ops' # checksum: 33d82a78
6528
6796
  implicit-imports:
6529
6797
  - depends:
6530
6798
  - 'thinc.backends.linalg'
6799
+ - 'preshed.maps'
6531
6800
 
6532
6801
  - module-name: 'thinc.backends.numpy_ops.NumpyOps' # checksum: 53774cbb
6533
6802
  implicit-imports:
@@ -6567,6 +6836,11 @@
6567
6836
  patterns:
6568
6837
  - 'VERSION'
6569
6838
 
6839
+ - module-name: 'tinycudann.modules' # checksum: 2467d1b5
6840
+ implicit-imports:
6841
+ - depends:
6842
+ - 'tinycudann_bindings._*_C'
6843
+
6570
6844
  - module-name: 'tkextrafont' # checksum: 1bd90a67
6571
6845
  dlls:
6572
6846
  - from_filenames:
@@ -6618,9 +6892,10 @@
6618
6892
  'setuptools_scm': 'ignore'
6619
6893
  when: 'not use_setuptools'
6620
6894
 
6621
- - module-name: 'toga.platform' # checksum: 4db91cac
6895
+ - module-name: 'toga.platform' # checksum: c708442a
6622
6896
  variables:
6623
- setup_code: 'import toga.platform'
6897
+ setup_code:
6898
+ - 'import toga.platform'
6624
6899
  declarations:
6625
6900
  'toga_backend_module_name': 'toga.platform.get_platform_factory().__name__'
6626
6901
  anti-bloat:
@@ -6729,6 +7004,13 @@
6729
7004
  replacements_plain:
6730
7005
  'if inspect.isclass(obj)': 'if inspect.isclass(obj) and obj is not __loader__'
6731
7006
 
7007
+ - module-name: 'torch._dynamo.utils' # checksum: fd1c674
7008
+ anti-bloat:
7009
+ - description: 'remove setuptools usage'
7010
+ change_function:
7011
+ 'import_submodule': "'''(lambda mod: [importlib.import_module(mod.__name__ + '.' + p.name) for p in pkgutil.iter_modules(mod.__path__) if p.name[0] != '_'])'''"
7012
+ append_plain: 'import pkgutil'
7013
+
6732
7014
  - module-name: 'torch._dynamo.variables.builder' # checksum: 6ef7624b
6733
7015
  anti-bloat:
6734
7016
  - description: 'remove setuptools usage'
@@ -6878,12 +7160,13 @@
6878
7160
  'get_pytest_test_cases': 'un-callable'
6879
7161
  when: 'not use_pytest'
6880
7162
 
6881
- - module-name: 'torch.utils._config_module' # checksum: 95196bd9
7163
+ - module-name: 'torch.utils._config_module' # checksum: 1613f7c7
6882
7164
  constants:
6883
7165
  declarations:
6884
7166
  'torch_config_module_candidates': '[m for m in iterate_modules("torch") if m.split(".")[-1] in ("config", "_config")]'
6885
7167
  variables:
6886
- setup_code: 'import importlib'
7168
+ setup_code:
7169
+ - 'import importlib'
6887
7170
  declarations:
6888
7171
  '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"))'
6889
7172
 
@@ -7250,6 +7533,11 @@
7250
7533
  replacements_plain:
7251
7534
  'coro.cr_frame.f_locals.setdefault(LOCALS_KEY_KI_PROTECTION_ENABLED, system_task)': ''
7252
7535
 
7536
+ - module-name: 'tsdownsample._rust' # checksum: d072aa03
7537
+ implicit-imports:
7538
+ - depends:
7539
+ - 'numpy.core.multiarray'
7540
+
7253
7541
  - module-name: 'tsfresh.feature_extraction.data' # checksum: 59682295
7254
7542
  anti-bloat:
7255
7543
  - description: 'remove dask reference via distributed module'
@@ -7335,6 +7623,12 @@
7335
7623
  - depends:
7336
7624
  - 'queue'
7337
7625
 
7626
+ - module-name: 'usb1' # checksum: 5cbb45ba
7627
+ dlls:
7628
+ - from_filenames:
7629
+ prefixes:
7630
+ - 'libusb'
7631
+
7338
7632
  - module-name: 'uvicorn' # checksum: e24c61dd
7339
7633
  implicit-imports:
7340
7634
  - depends:
@@ -7539,6 +7833,11 @@
7539
7833
  'ExtractIconW(handle, sys.executable, 0)': 'ExtractIconW(handle, sys.argv[0], 0)'
7540
7834
  when: 'standalone and win32'
7541
7835
 
7836
+ - module-name: 'werkzeug.debug.repr' # checksum: f8cccd39
7837
+ anti-bloat:
7838
+ - no-auto-follow:
7839
+ 'pydoc': 'ignore'
7840
+
7542
7841
  - module-name: 'werkzeug.serving' # checksum: fcfdb30e
7543
7842
  anti-bloat:
7544
7843
  - description: 'remove ability to run with reloader'
@@ -7553,10 +7852,11 @@
7553
7852
  - 'win32comext'
7554
7853
  when: 'win32'
7555
7854
 
7556
- - module-name: 'win32com.server.register' # checksum: d2ea40f3
7855
+ - module-name: 'win32com.server.register' # checksum: cb126a6d
7557
7856
  anti-bloat:
7558
7857
  - replacements_plain:
7559
- 'not pythoncom.frozen': 'False'
7858
+ 'pythoncom.frozen': '1'
7859
+ 'sys.frozen': 'True'
7560
7860
  change_function:
7561
7861
  'ReExecuteElevated': "'''raise (RuntimeError('Nuitka: Needs to be elevated already, use --windows-uac-admin'))'''"
7562
7862
  implicit-imports:
@@ -7760,6 +8060,11 @@
7760
8060
  - 'Grammar.txt'
7761
8061
  - 'PatternGrammar.txt'
7762
8062
 
8063
+ - module-name: 'yt_dlp' # checksum: 7c4ae87e
8064
+ implicit-imports:
8065
+ - depends:
8066
+ - 'yt_dlp.utils._deprecated'
8067
+
7763
8068
  - module-name: 'zaber_motion' # checksum: 11ddc56d
7764
8069
  implicit-imports:
7765
8070
  - depends: