Nuitka-winsvc 2.4.11__cp311-cp311-win_amd64.whl → 2.5.6__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 (304) hide show
  1. {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/METADATA +56 -109
  2. {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/RECORD +304 -280
  3. {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/WHEEL +1 -1
  4. nuitka/Builtins.py +31 -0
  5. nuitka/HardImportRegistry.py +8 -0
  6. nuitka/MainControl.py +9 -4
  7. nuitka/OptionParsing.py +108 -54
  8. nuitka/Options.py +69 -13
  9. nuitka/OutputDirectories.py +7 -2
  10. nuitka/PostProcessing.py +69 -38
  11. nuitka/Progress.py +16 -1
  12. nuitka/PythonVersions.py +2 -1
  13. nuitka/Serialization.py +4 -2
  14. nuitka/Tracing.py +69 -1
  15. nuitka/Version.py +2 -2
  16. nuitka/build/Backend.scons +45 -5
  17. nuitka/build/CCompilerVersion.scons +6 -0
  18. nuitka/build/Onefile.scons +6 -0
  19. nuitka/build/SconsCaching.py +4 -0
  20. nuitka/build/SconsCompilerSettings.py +14 -3
  21. nuitka/build/SconsInterface.py +3 -0
  22. nuitka/build/SconsUtils.py +5 -0
  23. nuitka/build/include/nuitka/allocator.h +124 -1
  24. nuitka/build/include/nuitka/calling.h +6 -6
  25. nuitka/build/include/nuitka/compiled_asyncgen.h +10 -7
  26. nuitka/build/include/nuitka/compiled_frame.h +2 -1
  27. nuitka/build/include/nuitka/constants.h +8 -0
  28. nuitka/build/include/nuitka/debug_settings.h +60 -0
  29. nuitka/build/include/nuitka/exceptions.h +264 -121
  30. nuitka/build/include/nuitka/helper/attributes.h +0 -4
  31. nuitka/build/include/nuitka/helper/calling_generated.h +52 -52
  32. nuitka/build/include/nuitka/helper/comparisons_dual_eq.h +47 -0
  33. nuitka/build/include/nuitka/helper/comparisons_dual_ge.h +39 -0
  34. nuitka/build/include/nuitka/helper/comparisons_dual_gt.h +39 -0
  35. nuitka/build/include/nuitka/helper/comparisons_dual_le.h +47 -0
  36. nuitka/build/include/nuitka/helper/comparisons_dual_lt.h +47 -0
  37. nuitka/build/include/nuitka/helper/comparisons_dual_ne.h +39 -0
  38. nuitka/build/include/nuitka/helper/dictionaries.h +75 -31
  39. nuitka/build/include/nuitka/helper/ints.h +86 -37
  40. nuitka/build/include/nuitka/helper/iterators.h +82 -34
  41. nuitka/build/include/nuitka/helper/operations.h +3 -0
  42. nuitka/build/include/nuitka/helper/operations_binary_add.h +6 -0
  43. nuitka/build/include/nuitka/helper/operations_binary_dual_add.h +34 -0
  44. nuitka/build/include/nuitka/helper/operations_binary_sub.h +6 -0
  45. nuitka/build/include/nuitka/helper/operations_inplace_add.h +3 -0
  46. nuitka/build/include/nuitka/helper/operations_inplace_sub.h +3 -0
  47. nuitka/build/include/nuitka/helper/raising.h +47 -28
  48. nuitka/build/include/nuitka/helper/richcomparisons.h +7 -0
  49. nuitka/build/include/nuitka/helper/tuples.h +12 -0
  50. nuitka/build/include/nuitka/helpers.h +12 -2
  51. nuitka/build/include/nuitka/prelude.h +36 -25
  52. nuitka/build/include/nuitka/printing.h +9 -7
  53. nuitka/build/include/nuitka/threading.h +15 -1
  54. nuitka/build/include/nuitka/type_aliases.h +3 -0
  55. nuitka/build/inline_copy/stubgen/astunparse.py +938 -0
  56. nuitka/build/inline_copy/stubgen/six.py +998 -0
  57. nuitka/build/inline_copy/stubgen/stubgen.py +307 -0
  58. nuitka/build/static_src/CompiledAsyncgenType.c +45 -39
  59. nuitka/build/static_src/CompiledCellType.c +6 -4
  60. nuitka/build/static_src/CompiledCodeHelpers.c +106 -40
  61. nuitka/build/static_src/CompiledCoroutineType.c +41 -31
  62. nuitka/build/static_src/CompiledFrameType.c +110 -79
  63. nuitka/build/static_src/CompiledFunctionType.c +173 -151
  64. nuitka/build/static_src/CompiledGeneratorType.c +51 -49
  65. nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c +433 -46
  66. nuitka/build/static_src/CompiledMethodType.c +6 -12
  67. nuitka/build/static_src/HelpersAllocator.c +266 -28
  68. nuitka/build/static_src/HelpersAttributes.c +0 -21
  69. nuitka/build/static_src/HelpersBuiltin.c +23 -14
  70. nuitka/build/static_src/HelpersCalling.c +7 -7
  71. nuitka/build/static_src/HelpersCallingGenerated.c +70 -70
  72. nuitka/build/static_src/HelpersComparisonDualEq.c +183 -0
  73. nuitka/build/static_src/HelpersComparisonDualGe.c +121 -0
  74. nuitka/build/static_src/HelpersComparisonDualGt.c +121 -0
  75. nuitka/build/static_src/HelpersComparisonDualLe.c +183 -0
  76. nuitka/build/static_src/HelpersComparisonDualLt.c +183 -0
  77. nuitka/build/static_src/HelpersComparisonDualNe.c +121 -0
  78. nuitka/build/static_src/HelpersComparisonEq.c +18 -4
  79. nuitka/build/static_src/HelpersComparisonGe.c +18 -4
  80. nuitka/build/static_src/HelpersComparisonGt.c +18 -4
  81. nuitka/build/static_src/HelpersComparisonLe.c +18 -4
  82. nuitka/build/static_src/HelpersComparisonLt.c +18 -4
  83. nuitka/build/static_src/HelpersComparisonNe.c +18 -4
  84. nuitka/build/static_src/HelpersConsole.c +34 -8
  85. nuitka/build/static_src/HelpersConstantsBlob.c +4 -2
  86. nuitka/build/static_src/HelpersDeepcopy.c +1 -0
  87. nuitka/build/static_src/HelpersDictionaries.c +195 -36
  88. nuitka/build/static_src/HelpersDictionariesGenerated.c +12 -107
  89. nuitka/build/static_src/HelpersExceptions.c +24 -50
  90. nuitka/build/static_src/HelpersFiles.c +79 -5
  91. nuitka/build/static_src/HelpersImport.c +13 -9
  92. nuitka/build/static_src/HelpersImportHard.c +23 -46
  93. nuitka/build/static_src/HelpersLists.c +98 -9
  94. nuitka/build/static_src/HelpersOperationBinaryAdd.c +224 -6
  95. nuitka/build/static_src/HelpersOperationBinaryAddUtils.c +3 -0
  96. nuitka/build/static_src/HelpersOperationBinaryBitand.c +5 -5
  97. nuitka/build/static_src/HelpersOperationBinaryBitor.c +5 -5
  98. nuitka/build/static_src/HelpersOperationBinaryBitxor.c +5 -5
  99. nuitka/build/static_src/HelpersOperationBinaryDivmod.c +8 -2
  100. nuitka/build/static_src/HelpersOperationBinaryDualAdd.c +172 -0
  101. nuitka/build/static_src/HelpersOperationBinaryFloordiv.c +14 -8
  102. nuitka/build/static_src/HelpersOperationBinaryLshift.c +36 -36
  103. nuitka/build/static_src/HelpersOperationBinaryMatmult.c +1 -0
  104. nuitka/build/static_src/HelpersOperationBinaryMod.c +22 -10
  105. nuitka/build/static_src/HelpersOperationBinaryMult.c +17 -7
  106. nuitka/build/static_src/HelpersOperationBinaryOlddiv.c +14 -8
  107. nuitka/build/static_src/HelpersOperationBinaryPow.c +24 -24
  108. nuitka/build/static_src/HelpersOperationBinaryRshift.c +4 -4
  109. nuitka/build/static_src/HelpersOperationBinarySub.c +229 -8
  110. nuitka/build/static_src/HelpersOperationBinaryTruediv.c +8 -2
  111. nuitka/build/static_src/HelpersOperationInplaceAdd.c +162 -10
  112. nuitka/build/static_src/HelpersOperationInplaceBitand.c +5 -5
  113. nuitka/build/static_src/HelpersOperationInplaceBitor.c +5 -5
  114. nuitka/build/static_src/HelpersOperationInplaceBitxor.c +5 -5
  115. nuitka/build/static_src/HelpersOperationInplaceFloordiv.c +11 -6
  116. nuitka/build/static_src/HelpersOperationInplaceLshift.c +20 -20
  117. nuitka/build/static_src/HelpersOperationInplaceMatmult.c +1 -0
  118. nuitka/build/static_src/HelpersOperationInplaceMod.c +11 -6
  119. nuitka/build/static_src/HelpersOperationInplaceMult.c +11 -6
  120. nuitka/build/static_src/HelpersOperationInplaceOlddiv.c +11 -6
  121. nuitka/build/static_src/HelpersOperationInplacePow.c +20 -20
  122. nuitka/build/static_src/HelpersOperationInplaceRshift.c +4 -4
  123. nuitka/build/static_src/HelpersOperationInplaceSub.c +163 -10
  124. nuitka/build/static_src/HelpersOperationInplaceTruediv.c +6 -1
  125. nuitka/build/static_src/HelpersProfiling.c +1 -1
  126. nuitka/build/static_src/HelpersRaising.c +255 -310
  127. nuitka/build/static_src/HelpersStrings.c +1 -1
  128. nuitka/build/static_src/HelpersTuples.c +2 -2
  129. nuitka/build/static_src/HelpersTypes.c +98 -2
  130. nuitka/build/static_src/MainProgram.c +132 -28
  131. nuitka/build/static_src/MetaPathBasedLoader.c +18 -19
  132. nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +134 -11
  133. nuitka/build/static_src/OnefileBootstrap.c +6 -1
  134. nuitka/code_generation/AsyncgenCodes.py +2 -6
  135. nuitka/code_generation/BinaryOperationHelperDefinitions.py +269 -167
  136. nuitka/code_generation/BuiltinCodes.py +9 -1
  137. nuitka/code_generation/CallCodes.py +16 -16
  138. nuitka/code_generation/CodeGeneration.py +14 -2
  139. nuitka/code_generation/CodeHelperSelection.py +1 -1
  140. nuitka/code_generation/CodeHelpers.py +4 -1
  141. nuitka/code_generation/CodeObjectCodes.py +2 -2
  142. nuitka/code_generation/ComparisonCodes.py +13 -2
  143. nuitka/code_generation/ComparisonHelperDefinitions.py +23 -8
  144. nuitka/code_generation/Contexts.py +28 -16
  145. nuitka/code_generation/CoroutineCodes.py +2 -6
  146. nuitka/code_generation/DictCodes.py +3 -3
  147. nuitka/code_generation/ErrorCodes.py +34 -50
  148. nuitka/code_generation/ExceptionCodes.py +165 -96
  149. nuitka/code_generation/ExpressionCTypeSelectionHelpers.py +25 -10
  150. nuitka/code_generation/FrameCodes.py +4 -11
  151. nuitka/code_generation/FunctionCodes.py +2 -6
  152. nuitka/code_generation/GeneratorCodes.py +2 -6
  153. nuitka/code_generation/GlobalConstants.py +8 -2
  154. nuitka/code_generation/GlobalsLocalsCodes.py +2 -2
  155. nuitka/code_generation/IteratorCodes.py +67 -54
  156. nuitka/code_generation/LineNumberCodes.py +1 -3
  157. nuitka/code_generation/ModuleCodes.py +28 -4
  158. nuitka/code_generation/OperationCodes.py +51 -20
  159. nuitka/code_generation/PackageResourceCodes.py +37 -0
  160. nuitka/code_generation/RaisingCodes.py +164 -90
  161. nuitka/code_generation/Reports.py +13 -5
  162. nuitka/code_generation/ReturnCodes.py +2 -16
  163. nuitka/code_generation/TryCodes.py +12 -24
  164. nuitka/code_generation/TypeAliasCodes.py +48 -0
  165. nuitka/code_generation/VariableCodes.py +99 -40
  166. nuitka/code_generation/VariableDeclarations.py +8 -8
  167. nuitka/code_generation/YieldCodes.py +1 -1
  168. nuitka/code_generation/c_types/CTypeBases.py +10 -2
  169. nuitka/code_generation/c_types/CTypeModuleDictVariables.py +3 -0
  170. nuitka/code_generation/c_types/CTypeNuitkaBooleans.py +3 -4
  171. nuitka/code_generation/c_types/CTypeNuitkaInts.py +70 -25
  172. nuitka/code_generation/c_types/CTypeNuitkaVoids.py +1 -1
  173. nuitka/code_generation/c_types/CTypePyObjectPointers.py +16 -6
  174. nuitka/code_generation/templates/CodeTemplatesAsyncgens.py +2 -2
  175. nuitka/code_generation/templates/CodeTemplatesConstants.py +11 -3
  176. nuitka/code_generation/templates/CodeTemplatesCoroutines.py +2 -2
  177. nuitka/code_generation/templates/CodeTemplatesExceptions.py +15 -16
  178. nuitka/code_generation/templates/CodeTemplatesFrames.py +18 -10
  179. nuitka/code_generation/templates/CodeTemplatesFunction.py +2 -2
  180. nuitka/code_generation/templates/CodeTemplatesGeneratorFunction.py +2 -2
  181. nuitka/code_generation/templates/CodeTemplatesIterators.py +1 -35
  182. nuitka/code_generation/templates/CodeTemplatesModules.py +34 -4
  183. nuitka/code_generation/templates/CodeTemplatesVariables.py +76 -0
  184. nuitka/code_generation/templates_c/CodeTemplateCallsMixed.c.j2 +3 -3
  185. nuitka/code_generation/templates_c/CodeTemplateCallsPositional.c.j2 +3 -3
  186. nuitka/code_generation/templates_c/HelperDictionaryCopy.c.j2 +4 -106
  187. nuitka/code_generation/templates_c/HelperImportHard.c.j2 +1 -2
  188. nuitka/code_generation/templates_c/HelperLongTools.c.j2 +1 -1
  189. nuitka/code_generation/templates_c/HelperOperationBinaryDual.c.j2 +115 -0
  190. nuitka/code_generation/templates_c/HelperOperationComparisonBytes.c.j2 +9 -9
  191. nuitka/code_generation/templates_c/HelperOperationComparisonDual.c.j2 +86 -0
  192. nuitka/code_generation/templates_c/HelperOperationComparisonFloat.c.j2 +1 -1
  193. nuitka/code_generation/templates_c/HelperOperationComparisonInt.c.j2 +1 -1
  194. nuitka/code_generation/templates_c/HelperOperationComparisonList.c.j2 +9 -9
  195. nuitka/code_generation/templates_c/HelperOperationComparisonLong.c.j2 +7 -7
  196. nuitka/code_generation/templates_c/HelperOperationComparisonStr.c.j2 +9 -9
  197. nuitka/code_generation/templates_c/HelperOperationComparisonTuple.c.j2 +7 -7
  198. nuitka/code_generation/templates_c/HelperOperationComparisonUnicode.c.j2 +4 -4
  199. nuitka/code_generation/templates_c/HelperSlotsBinary.c.j2 +1 -1
  200. nuitka/code_generation/templates_c/HelperSlotsInt.c.j2 +31 -31
  201. nuitka/code_generation/templates_c/HelperSlotsLong.c.j2 +1 -1
  202. nuitka/containers/Namedtuples.py +6 -0
  203. nuitka/containers/OrderedSets.py +105 -5
  204. nuitka/distutils/Build.py +14 -0
  205. nuitka/distutils/DistutilCommands.py +50 -10
  206. nuitka/finalizations/Finalization.py +3 -3
  207. nuitka/finalizations/FinalizeMarkups.py +10 -14
  208. nuitka/freezer/DependsExe.py +5 -2
  209. nuitka/freezer/DllDependenciesMacOS.py +18 -1
  210. nuitka/freezer/DllDependenciesWin32.py +26 -12
  211. nuitka/freezer/ImportDetection.py +6 -0
  212. nuitka/freezer/IncludedDataFiles.py +37 -6
  213. nuitka/freezer/Onefile.py +1 -0
  214. nuitka/freezer/Standalone.py +72 -18
  215. nuitka/importing/Importing.py +33 -6
  216. nuitka/importing/Recursion.py +5 -2
  217. nuitka/importing/StandardLibrary.py +57 -59
  218. nuitka/nodes/AsyncgenNodes.py +3 -6
  219. nuitka/nodes/BuiltinIteratorNodes.py +2 -2
  220. nuitka/nodes/BuiltinRefNodes.py +14 -30
  221. nuitka/nodes/ChildrenHavingMixins.py +439 -46
  222. nuitka/nodes/ConditionalNodes.py +3 -2
  223. nuitka/nodes/CoroutineNodes.py +3 -6
  224. nuitka/nodes/DictionaryNodes.py +1 -1
  225. nuitka/nodes/ExceptionNodes.py +102 -26
  226. nuitka/nodes/ExpressionBasesGenerated.py +288 -4
  227. nuitka/nodes/FrameNodes.py +22 -11
  228. nuitka/nodes/FunctionNodes.py +3 -3
  229. nuitka/nodes/GeneratorNodes.py +3 -6
  230. nuitka/nodes/HardImportNodesGenerated.py +182 -0
  231. nuitka/nodes/ImportNodes.py +2 -2
  232. nuitka/nodes/NodeBases.py +28 -1
  233. nuitka/nodes/NodeMakingHelpers.py +71 -50
  234. nuitka/nodes/OperatorNodesUnary.py +128 -3
  235. nuitka/nodes/OsSysNodes.py +37 -6
  236. nuitka/nodes/OutlineNodes.py +2 -2
  237. nuitka/nodes/StatementBasesGenerated.py +0 -2
  238. nuitka/nodes/StatementNodes.py +8 -7
  239. nuitka/nodes/SubscriptNodes.py +1 -1
  240. nuitka/nodes/TypeNodes.py +28 -1
  241. nuitka/nodes/VariableAssignNodes.py +2 -1
  242. nuitka/nodes/shapes/BuiltinTypeShapes.py +24 -7
  243. nuitka/nodes/shapes/IteratorShapes.py +71 -0
  244. nuitka/nodes/shapes/ShapeMixins.py +18 -0
  245. nuitka/nodes/shapes/StandardShapes.py +47 -44
  246. nuitka/optimizations/BytecodeDemotion.py +2 -1
  247. nuitka/plugins/PluginBase.py +64 -22
  248. nuitka/plugins/Plugins.py +16 -3
  249. nuitka/plugins/standard/AntiBloatPlugin.py +23 -12
  250. nuitka/plugins/standard/DllFilesPlugin.py +78 -2
  251. nuitka/plugins/standard/ImplicitImports.py +5 -15
  252. nuitka/plugins/standard/KivyPlugin.py +3 -12
  253. nuitka/plugins/standard/MatplotlibPlugin.py +12 -1
  254. nuitka/plugins/standard/MultiprocessingPlugin.py +11 -20
  255. nuitka/plugins/standard/OptionsNannyPlugin.py +5 -4
  256. nuitka/plugins/standard/PlaywrightPlugin.py +184 -0
  257. nuitka/plugins/standard/PySidePyQtPlugin.py +8 -0
  258. nuitka/plugins/standard/TkinterPlugin.py +23 -3
  259. nuitka/plugins/standard/TransformersPlugin.py +70 -275
  260. nuitka/plugins/standard/standard.nuitka-package.config.yml +413 -30
  261. nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +35 -2
  262. nuitka/reports/CompilationReportReader.py +12 -0
  263. nuitka/reports/Reports.py +11 -0
  264. nuitka/specs/BuiltinParameterSpecs.py +5 -1
  265. nuitka/specs/HardImportSpecs.py +7 -0
  266. nuitka/specs/ParameterSpecs.py +4 -4
  267. nuitka/tools/environments/Virtualenv.py +13 -5
  268. nuitka/tools/general/dll_report/__main__.py +10 -1
  269. nuitka/tools/onefile_compressor/OnefileCompressor.py +1 -1
  270. nuitka/tools/podman/__main__.py +4 -2
  271. nuitka/tools/specialize/CTypeDescriptions.py +158 -9
  272. nuitka/tools/specialize/SpecializeC.py +218 -56
  273. nuitka/tools/testing/Common.py +69 -62
  274. nuitka/tools/testing/compare_with_cpython/__main__.py +3 -1
  275. nuitka/tools/testing/measure_construct_performance/__main__.py +1 -8
  276. nuitka/tools/testing/run_nuitka_tests/__main__.py +77 -11
  277. nuitka/tools/watch/AutoStage.py +1 -0
  278. nuitka/tree/Building.py +10 -37
  279. nuitka/tree/ComplexCallHelperFunctions.py +4 -0
  280. nuitka/tree/ReformulationAssertStatements.py +31 -14
  281. nuitka/tree/ReformulationAssignmentStatements.py +5 -1
  282. nuitka/tree/ReformulationClasses3.py +94 -19
  283. nuitka/tree/ReformulationDictionaryCreation.py +1 -0
  284. nuitka/tree/ReformulationFunctionStatements.py +1 -1
  285. nuitka/tree/ReformulationMatchStatements.py +3 -1
  286. nuitka/tree/ReformulationYieldExpressions.py +23 -5
  287. nuitka/utils/CommandLineOptions.py +27 -3
  288. nuitka/utils/Download.py +2 -2
  289. nuitka/utils/Execution.py +36 -31
  290. nuitka/utils/FileOperations.py +18 -39
  291. nuitka/utils/Hashing.py +5 -1
  292. nuitka/utils/Importing.py +2 -14
  293. nuitka/utils/InlineCopies.py +52 -0
  294. nuitka/utils/InstalledPythons.py +9 -4
  295. nuitka/utils/Json.py +2 -2
  296. nuitka/utils/PackageResources.py +44 -0
  297. nuitka/utils/SharedLibraries.py +24 -0
  298. nuitka/utils/Signing.py +9 -1
  299. nuitka/utils/Utils.py +1 -0
  300. {Nuitka_winsvc-2.4.11.data → Nuitka_winsvc-2.5.6.data}/scripts/nuitka-run.cmd +0 -0
  301. {Nuitka_winsvc-2.4.11.data → Nuitka_winsvc-2.5.6.data}/scripts/nuitka.cmd +0 -0
  302. {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/LICENSE.txt +0 -0
  303. {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/entry_points.txt +0 -0
  304. {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/top_level.txt +0 -0
@@ -40,6 +40,12 @@
40
40
  - depends:
41
41
  - 'yaml'
42
42
 
43
+ - module-name: 'absl.testing' # checksum: 2f66bb94
44
+ anti-bloat:
45
+ - description: 'Need to allow unittest usage'
46
+ bloat-mode-overrides:
47
+ 'unittest': 'allow'
48
+
43
49
  - module-name: 'accessible_output2' # checksum: 27cd20b7
44
50
  data-files:
45
51
  - dirs:
@@ -135,6 +141,14 @@
135
141
  change_class:
136
142
  'Test': 'un-usable'
137
143
 
144
+ - module-name: 'anyio' # checksum: f47c3c24
145
+ anti-bloat:
146
+ - description: 'remove pytest reference'
147
+ no-auto-follow:
148
+ 'pytest': 'ignore'
149
+ '_pytest': 'ignore'
150
+ when: 'not use_pytest'
151
+
138
152
  - module-name: 'anyio._core._eventloop' # checksum: c0b82a1e
139
153
  implicit-imports:
140
154
  - depends:
@@ -331,10 +345,11 @@
331
345
  - depends:
332
346
  - 'av.filter.pad'
333
347
 
334
- - module-name: 'av.frame' # checksum: e8ab2d30
348
+ - module-name: 'av.frame' # checksum: 121c2594
335
349
  implicit-imports:
336
350
  - depends:
337
351
  - 'av.buffer'
352
+ - 'av.opaque'
338
353
 
339
354
  - module-name: 'av.logging' # checksum: 7da91901
340
355
  implicit-imports:
@@ -347,11 +362,12 @@
347
362
  - 'av.enum'
348
363
  - 'av.utils'
349
364
 
350
- - module-name: 'av.packet' # checksum: 13e9006a
365
+ - module-name: 'av.packet' # checksum: 3bd21471
351
366
  implicit-imports:
352
367
  - depends:
353
368
  - 'av.dictionary'
354
369
  - 'av.sidedata.sidedata'
370
+ - 'av.opaque'
355
371
 
356
372
  - module-name: 'av.sidedata.sidedata' # checksum: 6adb0fe2
357
373
  implicit-imports:
@@ -371,11 +387,17 @@
371
387
  - 'av.plane'
372
388
  - 'av.video.plane'
373
389
 
374
- - module-name: 'azure.cognitiveservices.speech' # checksum: 571ec995
390
+ - module-name: 'azure.cognitiveservices.speech' # checksum: e9989c05
391
+ data-files:
392
+ - patterns:
393
+ - 'libMicrosoft.CognitiveServices.Speech.extension.lu.a'
394
+ when: 'macos'
395
+
375
396
  dlls:
376
397
  - from_filenames:
377
398
  prefixes:
378
399
  - 'Microsoft.CognitiveServices.Speech'
400
+ - 'libMicrosoft.CognitiveServices.Speech'
379
401
 
380
402
  - module-name: 'babel' # checksum: 29ed1c5b
381
403
  data-files:
@@ -556,6 +578,12 @@
556
578
  - depends:
557
579
  - '_cffi_backend'
558
580
 
581
+ - module-name: 'bsdiff4' # checksum: b157a72f
582
+ anti-bloat:
583
+ - description: 'remove unittest reference'
584
+ change_function:
585
+ 'test': 'un-callable'
586
+
559
587
  - module-name: 'cairo' # checksum: 16042494
560
588
  implicit-imports:
561
589
  - depends:
@@ -840,7 +868,12 @@
840
868
  # Not necessary on Windows
841
869
  when: 'not win32'
842
870
 
843
- - module-name: 'cv2' # checksum: 9f6fdcf0
871
+ - module-name: 'cv2' # checksum: 6069a546
872
+ variables:
873
+ setup_code:
874
+ - 'import cv2'
875
+ declarations:
876
+ 'cv2_extra_sub_modules': 'tuple(m for m in cv2.__collect_extra_submodules(False) if m != ".dylibs")'
844
877
  data-files:
845
878
  - dirs:
846
879
  - 'qt/fonts'
@@ -863,7 +896,7 @@
863
896
  ? "load_first_config([\n"
864
897
  : 'if False: (['
865
898
  replacements:
866
- "load_first_config(['config.py'], True)": "textwrap.indent(pkgutil.get_data('cv2', 'config.py').decode('utf8'), ' ') + textwrap.indent(pkgutil.get_data('cv2', 'config-3.py').decode('utf8'), ' ')"
899
+ "load_first_config(['config.py'], True)": "textwrap.indent(get_data('cv2', 'config.py').decode('utf8'), ' ') + textwrap.indent(get_data('cv2', 'config-3.py').decode('utf8'), ' ')"
867
900
  - description: 'workaround for colliding native module import'
868
901
  replacements:
869
902
  # Before OpenCV 4.6
@@ -875,11 +908,21 @@
875
908
  replacements:
876
909
  'native_module = importlib.import_module("cv2")': '"from importlib.machinery import ExtensionFileLoader; from importlib.util import spec_from_file_location; from importlib._bootstrap import _load; __path = os.path.join(os.path.dirname(__file__), \"cv2%s\"); native_module = _load(spec_from_file_location(\"cv2\", __path, loader=ExtensionFileLoader(\"cv2\", __path)))" % extension_suffix'
877
910
  when: 'standalone and python312_or_higher and not nuitka_python'
911
+ - description: 'remove error hiding code'
912
+ replacements_plain:
913
+ "print('OpenCV bindings requires \"numpy\" package.')": 'raise'
914
+ - description: 'submodules'
915
+ replacements:
916
+ '__collect_extra_submodules(DEBUG)': 'repr(get_variable("cv2_extra_sub_modules"))'
917
+ change_function:
918
+ '__collect_extra_submodules': 'un-callable'
919
+ when: 'standalone'
878
920
  implicit-imports:
879
921
  - depends:
880
922
  - 'cv2.cv2'
881
923
  - 'numpy'
882
924
  - 'numpy.core'
925
+ - '["cv2.%s" % m for m in get_variable("cv2_extra_sub_modules")]'
883
926
  - pre-import-code:
884
927
  - |
885
928
  import os
@@ -888,8 +931,8 @@
888
931
  when: 'linux and standalone'
889
932
  options:
890
933
  checks:
891
- - description: 'OpenCV2 is best supported with 4.6 or later'
892
- support_info: 'warning'
934
+ - description: 'OpenCV2 is only supported with 4.6 or later'
935
+ support_info: 'error'
893
936
  when: 'version(get_dist_name("cv2")) < (4,6)'
894
937
 
895
938
  - module-name: 'cvxpy.utilities.key_utils' # checksum: fc2bb323
@@ -990,6 +1033,11 @@
990
1033
  replacements_plain:
991
1034
  '__version__ = get_distribution(__name__).version': 'raise DistributionNotFound'
992
1035
 
1036
+ - module-name: 'debian' # checksum: a633a55a
1037
+ data-files:
1038
+ - include-metadata:
1039
+ - 'debian'
1040
+
993
1041
  - module-name: 'deepspeed' # checksum: 5af29274
994
1042
  anti-bloat:
995
1043
  - description: 'remove setuptools usage via triton'
@@ -1121,7 +1169,7 @@
1121
1169
  - dirs:
1122
1170
  - 'locale/en'
1123
1171
 
1124
- - module-name: 'django.core.management' # checksum: 18979466
1172
+ - module-name: 'django.core.management' # checksum: cb686c29
1125
1173
  parameters:
1126
1174
  - 'name': 'settings-module'
1127
1175
  'values': 'checkModuleName(value)'
@@ -1150,7 +1198,7 @@
1150
1198
  checks:
1151
1199
  - description: "Django settings module must be specified with '--module-parameter=django-settings-module=<settings_module_name>'"
1152
1200
  support_info: 'parameter'
1153
- when: 'standalone and get_parameter("settings-module", None) is None'
1201
+ when: 'get_parameter("settings-module", None) is None'
1154
1202
 
1155
1203
  - module-name: 'django.core.management.commands.shell' # checksum: 7d07a2d1
1156
1204
  anti-bloat:
@@ -1194,6 +1242,11 @@
1194
1242
  - '.IN.*'
1195
1243
  - '.CH.A'
1196
1244
 
1245
+ - module-name: 'docling_core' # checksum: 690d0f0d
1246
+ data-files:
1247
+ - include-metadata:
1248
+ - 'docling-core'
1249
+
1197
1250
  - module-name: 'dotenv' # checksum: c120bb25
1198
1251
  anti-bloat:
1199
1252
  - description: 'remove IPython reference'
@@ -1259,11 +1312,11 @@
1259
1312
  - patterns:
1260
1313
  - 'specs/*.json'
1261
1314
 
1262
- - module-name: 'Equation' # checksum: aa47a17f
1315
+ - module-name: 'Equation' # checksum: b92f083c
1263
1316
  anti-bloat:
1264
1317
  - description: 'workaround for standalone mode'
1265
1318
  replacements:
1266
- 'os.listdir(dirname)': 'repr(os.listdir(_get_module_directory("Equation")))'
1319
+ 'os.listdir(dirname)': 'repr(os.listdir(get_module_directory("Equation")))'
1267
1320
  when: 'standalone'
1268
1321
  implicit-imports:
1269
1322
  - depends:
@@ -1333,6 +1386,11 @@
1333
1386
  - depends:
1334
1387
  - 'fastapi.routing'
1335
1388
 
1389
+ - module-name: 'fastapi.exceptions' # checksum: 9806d681
1390
+ implicit-imports:
1391
+ - depends:
1392
+ - 'attrs'
1393
+
1336
1394
  - module-name: 'feedparser.html' # checksum: 8b17e6bc
1337
1395
  anti-bloat:
1338
1396
  - description: 'use SGML code more naturally'
@@ -2051,6 +2109,18 @@
2051
2109
  - dirs:
2052
2110
  - 'schemas'
2053
2111
 
2112
+ - module-name: 'jupyter_client' # checksum: f62be95d
2113
+ data-files:
2114
+ - include-metadata:
2115
+ - 'jupyter_client'
2116
+
2117
+ - module-name: 'keras' # checksum: 292d6ceb
2118
+ import-hacks:
2119
+ # This package adds another directory to the search path of itself,
2120
+ # which we will not find packages in unless added.
2121
+ - package-paths:
2122
+ - 'keras.api'
2123
+
2054
2124
  - module-name: 'keras.api._v2.keras.__internal__.utils' # checksum: 63342938
2055
2125
  anti-bloat:
2056
2126
  - description: 'remove keras testing tools reference'
@@ -2110,6 +2180,25 @@
2110
2180
  - depends:
2111
2181
  - 'kivy.weakmethod'
2112
2182
 
2183
+ - module-name: 'kivy.core.clipboard' # checksum: d1e34cc4
2184
+ implicit-imports:
2185
+ - depends:
2186
+ - 'kivy.core.clipboard.clipboard_winctypes'
2187
+ when: 'win32'
2188
+ - depends:
2189
+ - 'kivy.core.clipboard.clipboard_nspaste'
2190
+ when: 'macos and has_module("pyobjus")'
2191
+ - depends:
2192
+ - 'kivy.core.clipboard.clipboard_sdl2'
2193
+ when: 'macos and not has_module("pyobjus")'
2194
+ - depends:
2195
+ - 'kivy.core.clipboard.clipboard_xclip'
2196
+ - 'kivy.core.clipboard.clipboard_xsel'
2197
+ - 'kivy.core.clipboard.clipboard_dbusklipper'
2198
+ - 'kivy.core.clipboard.clipboard_gtk3'
2199
+ - 'kivy.core.clipboard.clipboard_sdl2'
2200
+ when: 'linux'
2201
+
2113
2202
  - module-name: 'kivy.graphics.compiler' # checksum: c064234c
2114
2203
  implicit-imports:
2115
2204
  - depends:
@@ -2127,7 +2216,7 @@
2127
2216
  - depends:
2128
2217
  - 'kivy.graphics.compiler'
2129
2218
 
2130
- - module-name: 'kivymd' # checksum: b3f15565
2219
+ - module-name: 'kivymd' # checksum: 6d57c0fa
2131
2220
  data-files:
2132
2221
  - dirs:
2133
2222
  - 'fonts'
@@ -2137,6 +2226,7 @@
2137
2226
  implicit-imports:
2138
2227
  - depends:
2139
2228
  - 'kivymd.icon_definitions'
2229
+ - 'kivymd.uix.*'
2140
2230
 
2141
2231
  - module-name: 'kiwisolver' # checksum: a0fc11a6
2142
2232
  dlls:
@@ -2144,6 +2234,12 @@
2144
2234
  prefixes:
2145
2235
  - '_cext'
2146
2236
 
2237
+ - module-name: 'lab_lamma' # checksum: 2c54cdc3
2238
+ implicit-imports:
2239
+ - depends:
2240
+ - 'vipm_io'
2241
+ - 'keyring'
2242
+
2147
2243
  - module-name: 'langchain.chains.llm_summarization_checker' # checksum: 9ac5f4e6
2148
2244
  data-files:
2149
2245
  - patterns:
@@ -2221,6 +2317,20 @@
2221
2317
  - patterns:
2222
2318
  - 'version.info'
2223
2319
 
2320
+ - module-name: 'litellm' # checksum: fa10c772
2321
+ data-files:
2322
+ - patterns:
2323
+ - '*.json'
2324
+ - dirs:
2325
+ - 'llms/tokenizers'
2326
+
2327
+ - module-name: 'llama_cpp' # checksum: 34acaa89
2328
+ dlls:
2329
+ - from_filenames:
2330
+ relative_path: 'lib'
2331
+ prefixes:
2332
+ - ''
2333
+
2224
2334
  - module-name: 'llvmlite.binding.analysis' # checksum: 3083141d
2225
2335
  anti-bloat:
2226
2336
  - description: 'remove IPython reference'
@@ -2243,6 +2353,11 @@
2243
2353
  'IPython': 'ignore'
2244
2354
  when: 'not use_ipython'
2245
2355
 
2356
+ - module-name: 'lttbc' # checksum: d072aa03
2357
+ implicit-imports:
2358
+ - depends:
2359
+ - 'numpy.core.multiarray'
2360
+
2246
2361
  - module-name: 'lxml' # checksum: f89961a7
2247
2362
  implicit-imports:
2248
2363
  - depends:
@@ -2485,6 +2600,63 @@
2485
2600
  '_get_cuda_home': 'un-callable'
2486
2601
  when: 'not use_setuptools'
2487
2602
 
2603
+ - module-name: 'mne.fixes' # checksum: dd3b5473
2604
+ anti-bloat:
2605
+ - no-auto-follow:
2606
+ 'numba': 'ignore'
2607
+ when: 'not use_numba'
2608
+
2609
+ - module-name: 'mne.io.array.array' # checksum: 6051d6a
2610
+ anti-bloat:
2611
+ - description: 'workaround frame dictionary not being populated'
2612
+ replacements_plain:
2613
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2614
+
2615
+ - module-name: 'mne.io.curry.curry' # checksum: 6051d6a
2616
+ anti-bloat:
2617
+ - description: 'workaround frame dictionary not being populated'
2618
+ replacements_plain:
2619
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2620
+
2621
+ - module-name: 'mne.io.edf.edf' # checksum: 6051d6a
2622
+ anti-bloat:
2623
+ - description: 'workaround frame dictionary not being populated'
2624
+ replacements_plain:
2625
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2626
+
2627
+ - module-name: 'mne.io.egi.egi' # checksum: 6051d6a
2628
+ anti-bloat:
2629
+ - description: 'workaround frame dictionary not being populated'
2630
+ replacements_plain:
2631
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2632
+
2633
+ - module-name: 'mne.io.egi.egimff' # checksum: 6051d6a
2634
+ anti-bloat:
2635
+ - description: 'workaround frame dictionary not being populated'
2636
+ replacements_plain:
2637
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2638
+
2639
+ - module-name: 'mne.io.eyelink.eyelink' # checksum: 6051d6a
2640
+ anti-bloat:
2641
+ - description: 'workaround frame dictionary not being populated'
2642
+ replacements_plain:
2643
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2644
+
2645
+ - module-name: 'mne.io.fiff.raw' # checksum: 6051d6a
2646
+ anti-bloat:
2647
+ - description: 'workaround frame dictionary not being populated'
2648
+ replacements_plain:
2649
+ 'super().__init__(': '__import__("inspect").currentframe().f_locals.update(locals());super().__init__('
2650
+
2651
+ - module-name: 'mne.utils._testing' # checksum: 76efa1b7
2652
+ anti-bloat:
2653
+ - description: 'remove pytest reference'
2654
+ replacements_plain:
2655
+ 'from unittest import SkipTest': 'SkipTest = None'
2656
+ no-auto-follow:
2657
+ 'pytest': 'ignore'
2658
+ when: 'not use_pytest'
2659
+
2488
2660
  - module-name: 'mnemonic' # checksum: cfacd704
2489
2661
  data-files:
2490
2662
  - dirs:
@@ -2670,6 +2842,12 @@
2670
2842
  replacements_plain:
2671
2843
  'import numexpr.tests': 'raise ImportError'
2672
2844
 
2845
+ - module-name: 'numexpr.cpuinfo' # checksum: 53d827f7
2846
+ anti-bloat:
2847
+ - description: 'workaround for "is type" test'
2848
+ replacements_plain:
2849
+ 'type(attr) is types.MethodType': 'isinstance(attr, types.MethodType)'
2850
+
2673
2851
  - module-name: 'numpy' # checksum: d50b5b5e
2674
2852
  dlls:
2675
2853
  - from_filenames:
@@ -3239,7 +3417,7 @@
3239
3417
  - 'libpandaegg'
3240
3418
  dest_path: '.'
3241
3419
 
3242
- - module-name: 'pandas' # checksum: 5c2e9d81
3420
+ - module-name: 'pandas' # checksum: 158bd2af
3243
3421
  anti-bloat:
3244
3422
  - description: 'remove pandas testing framework'
3245
3423
  replacements_plain:
@@ -3247,6 +3425,10 @@
3247
3425
  'import pandas.testing': ''
3248
3426
  'from pandas import testing': 'testing = None'
3249
3427
  'from pandas import api, arrays, errors, io, plotting, testing': 'from pandas import api, arrays, errors, io, plotting'
3428
+ - description: 'avoid numba in pandas'
3429
+ no-auto-follow:
3430
+ 'pandas.core._numba.extensions': 'no numba acceleration'
3431
+ when: 'not use_numba'
3250
3432
 
3251
3433
  - module-name: 'pandas._libs' # checksum: 582d52b9
3252
3434
  implicit-imports:
@@ -3592,6 +3774,11 @@
3592
3774
  '"IPython" in sys.modules': 'False'
3593
3775
  when: 'not use_ipython'
3594
3776
 
3777
+ - module-name: 'pdfminer' # checksum: a3629ef7
3778
+ data-files:
3779
+ - dirs:
3780
+ - 'cmap'
3781
+
3595
3782
  - module-name: 'pendulum' # checksum: 71704ba2
3596
3783
  data-files:
3597
3784
  - empty_dir_structures:
@@ -3790,6 +3977,35 @@
3790
3977
  change_function:
3791
3978
  'embedded_data_path': "'(lambda: app_path())'"
3792
3979
 
3980
+ - module-name: 'playwright' # checksum: 3c59447d
3981
+ data-files:
3982
+ - patterns:
3983
+ - '**/*.json'
3984
+ - '**/*.js'
3985
+ - '**/*.ts'
3986
+ - '**/*.html'
3987
+ - '**/*.css'
3988
+ - '**/*.svg'
3989
+
3990
+ dlls:
3991
+ - from_filenames:
3992
+ relative_path: 'driver'
3993
+ prefixes:
3994
+ - 'node'
3995
+ executable: 'yes'
3996
+
3997
+ - module-name: 'playwright._impl._transport' # checksum: 708d0cf7
3998
+ anti-bloat:
3999
+ - description: 'fix globals.get() usage'
4000
+ replacements_plain:
4001
+ 'globals().get("_compiled__")': 'globals().get("__compiled__")'
4002
+ when: 'version("playwright") >= (1, 45, 0)'
4003
+
4004
+ - description: 'support for older versions of playwright'
4005
+ replacements_plain:
4006
+ 'if getattr(sys, "frozen", False):': 'if getattr(sys, "frozen", False) or "__compiled__" in globals():'
4007
+ when: 'version("playwright") < (1, 45, 0)'
4008
+
3793
4009
  - module-name: 'playwright_stealth' # checksum: 26b9c88c
3794
4010
  data-files:
3795
4011
  - dirs:
@@ -3961,6 +4177,22 @@
3961
4177
  'from ._common import SUNOS': "'SUNOS = %r' % psutil.SUNOS"
3962
4178
  'from ._common import WINDOWS': "'WINDOWS = %r' % psutil.WINDOWS"
3963
4179
 
4180
+ - module-name: 'py_mini_racer' # checksum: d45d7bdb
4181
+ data-files:
4182
+ - patterns:
4183
+ - 'icudtl.dat'
4184
+ - 'snapshot_blob.bin'
4185
+
4186
+ dlls:
4187
+ - from_filenames:
4188
+ prefixes:
4189
+ - 'mini_racer'
4190
+ when: 'win32'
4191
+ - from_filenames:
4192
+ prefixes:
4193
+ - 'libmini_racer'
4194
+ when: 'not win32'
4195
+
3964
4196
  - module-name: 'pyarrow' # checksum: 9da51f71
3965
4197
  anti-bloat:
3966
4198
  - description: 'remove setuptools usage'
@@ -4076,7 +4308,7 @@
4076
4308
  - dirs:
4077
4309
  - '.'
4078
4310
 
4079
- - module-name: 'pygame' # checksum: face0a9
4311
+ - module-name: 'pygame' # checksum: 245d8530
4080
4312
  data-files:
4081
4313
  - patterns:
4082
4314
  - 'freesansbold.ttf'
@@ -4087,6 +4319,12 @@
4087
4319
  - 'pygame_icon.bmp'
4088
4320
  when: 'not macos'
4089
4321
 
4322
+ anti-bloat:
4323
+ - no-auto-follow:
4324
+ 'pygame.tests': 'ignore'
4325
+ when: 'not use_unittest'
4326
+ - no-auto-follow:
4327
+ 'cv2': 'camera functionality via OpenCV-Python (cv2)'
4090
4328
  implicit-imports:
4091
4329
  - depends:
4092
4330
  - 'pygame.*'
@@ -4190,7 +4428,7 @@
4190
4428
  - patterns:
4191
4429
  - 'version.json'
4192
4430
 
4193
- - module-name: 'pypdfium2_raw' # checksum: 2bdc1095
4431
+ - module-name: 'pypdfium2_raw' # checksum: 2df23eb6
4194
4432
  data-files:
4195
4433
  - patterns:
4196
4434
  - 'version.json'
@@ -4199,6 +4437,7 @@
4199
4437
  - from_filenames:
4200
4438
  prefixes:
4201
4439
  - 'pdfium'
4440
+ - 'libpdfium'
4202
4441
 
4203
4442
  - module-name: 'pyphen' # checksum: aa53bb0a
4204
4443
  data-files:
@@ -4816,18 +5055,38 @@
4816
5055
  - 'librlottie'
4817
5056
  when: 'not win32'
4818
5057
 
4819
- - module-name: 'rtree' # checksum: 7b6be18
5058
+ - module-name: 'rtree.finder' # checksum: 312489cf
5059
+ variables:
5060
+ setup_code:
5061
+ - 'import ctypes, os, rtree.finder'
5062
+ - 'orig_LoadLibrary = ctypes.cdll.LoadLibrary'
5063
+ - 'val = []'
5064
+ - 'def my_LoadLibrary(filename):'
5065
+ - ' val.append(filename)'
5066
+ - ' return orig_LoadLibrary(filename)'
5067
+ - 'ctypes.cdll.LoadLibrary = my_LoadLibrary'
5068
+ - 'rtree.finder.load()'
5069
+ declarations:
5070
+ 'rtree_dll_source_paths': 'val[0]'
5071
+ 'rtree_dll_names': '"libspatialindex" + (".dll" if os.name=="nt" else ".so")'
4820
5072
  dlls:
4821
- - from_filenames:
4822
- relative_path: 'lib'
4823
- prefixes:
4824
- - 'spatialindex'
5073
+ - from_sources:
5074
+ 'source_paths':
5075
+ - 'get_variable("rtree_dll_source_paths")'
5076
+ 'dest_names':
5077
+ - 'get_variable("rtree_dll_names")'
5078
+ anti-bloat:
5079
+ - description: 'workaround libspatialindex DLL name changes for arches'
5080
+ replacements_plain:
5081
+ 'str(path / lib_name)': 'str(path)'
5082
+ 'os.environ["PATH"] = ";".join([str(path), oldenv])': 'os.environ["PATH"] = ";".join([str(path.parent), oldenv])'
4825
5083
  when: 'win32'
4826
- - from_filenames:
4827
- relative_path: 'lib'
4828
- prefixes:
4829
- - 'libspatialindex'
4830
- when: 'not win32'
5084
+
5085
+ implicit-imports:
5086
+ - pre-import-code:
5087
+ - |
5088
+ import os
5089
+ os.environ["SPATIALINDEX_C_LIBRARY"] = os.path.join(os.path.dirname(__file__), "libspatialindex" + (".dll" if os.name=="nt" else ".so"))
4831
5090
 
4832
5091
  - module-name: 'scapy.all' # checksum: 8a9944ce
4833
5092
  implicit-imports:
@@ -5101,6 +5360,53 @@
5101
5360
  - depends:
5102
5361
  - 'huggingface_hub.repository'
5103
5362
 
5363
+ - module-name: 'setuptools' # checksum: aafdeb36
5364
+ anti-bloat:
5365
+ - description: 'no runtime expansion of sys.path needed'
5366
+ replacements_plain:
5367
+ 'sys.path.extend(': '('
5368
+ when: 'version("setuptools") >= (71,)'
5369
+ - description: 'find setuptools.distutils directly'
5370
+ replacements_plain:
5371
+ 'import _distutils_hack.override': 'import setuptools._distutils as distutils; sys.modules["distutils"] = distutils'
5372
+ when: 'python312_or_higher'
5373
+ import-hacks:
5374
+ - global-sys-path:
5375
+ # This package forces vendored packages into "sys.path" and causes
5376
+ # absolute imports from there to be available.
5377
+ - '_vendor'
5378
+ when: 'version("setuptools") >= (71,)'
5379
+
5380
+ - module-name: 'setuptools.command' # checksum: eb17e343
5381
+ anti-bloat:
5382
+ - description: 'find setuptools distutils'
5383
+ replacements_plain:
5384
+ 'from distutils.command.bdist import bdist': 'from setuptools._distutils.command.bdist import bdist'
5385
+ when: 'python312_or_higher'
5386
+
5387
+ - module-name: 'setuptools.config.expand' # checksum: cd2c573e
5388
+ anti-bloat:
5389
+ - description: 'find setuptools distutils'
5390
+ replacements_plain:
5391
+ 'from distutils.errors import DistutilsOptionError': 'from setuptools._distutils.errors import DistutilsOptionError'
5392
+ when: 'python312_or_higher'
5393
+
5394
+ - module-name: 'setuptools.discovery' # checksum: d8699eb7
5395
+ anti-bloat:
5396
+ - description: 'find setuptools distutils'
5397
+ replacements_plain:
5398
+ 'from distutils.util import convert_path': 'from setuptools._distutils.util import convert_path'
5399
+ when: 'python312_or_higher'
5400
+
5401
+ - module-name: 'setuptools.extension' # checksum: a8b782ae
5402
+ anti-bloat:
5403
+ - description: 'find setuptools distutils'
5404
+ replacements_plain:
5405
+ 'import distutils.core': 'import setuptools._distutils as distutils; import setuptools._distutils.core'
5406
+ 'import distutils.errors': 'import setuptools._distutils.errors'
5407
+ 'import distutils.extension': 'import setuptools._distutils.extension'
5408
+ when: 'python312_or_higher'
5409
+
5104
5410
  - module-name: 'setuptools.extern' # checksum: 2b2a3793
5105
5411
  # TODO: Vendor importers should maybe get their own thing, pkg_resources does
5106
5412
  # similar, and we might try and avoid duplication between the two of them on
@@ -5110,7 +5416,14 @@
5110
5416
  - 'setuptools._vendor.*'
5111
5417
  - 'setuptools._vendor.*.*'
5112
5418
 
5113
- - module-name: 'setuptools.monkey' # checksum: 1ea728a1
5419
+ - module-name: 'setuptools.logging' # checksum: 70588c58
5420
+ anti-bloat:
5421
+ - description: 'find setuptools distutils'
5422
+ replacements_plain:
5423
+ 'import distutils.log': 'import setuptools._distutils as distutils; import setuptools._distutils.log'
5424
+ when: 'python312_or_higher'
5425
+
5426
+ - module-name: 'setuptools.monkey' # checksum: c31be2f0
5114
5427
  anti-bloat:
5115
5428
  - description: 'remove MSVC patching on non-Windows'
5116
5429
  replacements_plain:
@@ -5120,6 +5433,11 @@
5120
5433
  # these are done, and try to do it in source code somehow.
5121
5434
  'patch_for_msvc_specialized_compiler': "'(lambda: None)'"
5122
5435
  when: 'standalone and not win32'
5436
+ - description: 'find setuptools distutils'
5437
+ replacements_plain:
5438
+ 'import distutils.filelist': 'import setuptools._distutils as distutils; import setuptools._distutils.filelist'
5439
+ when: 'python312_or_higher'
5440
+
5123
5441
  implicit-imports:
5124
5442
  - depends:
5125
5443
  - '.msvc'
@@ -7184,7 +7502,7 @@
7184
7502
  'from IPython.core.display import HTML, display': 'raise ImportError'
7185
7503
  when: 'not use_ipython'
7186
7504
 
7187
- - module-name: 'torch' # checksum: 9fbf3613
7505
+ - module-name: 'torch' # checksum: 9ff3b94c
7188
7506
  parameters:
7189
7507
  - 'name': 'disable-jit'
7190
7508
  'values': 'value in ("yes", "no")'
@@ -7204,14 +7522,20 @@
7204
7522
  bloat-mode-overrides:
7205
7523
  'unittest': 'allow'
7206
7524
  when: 'not use_unittest'
7207
- - description: 'remove setuptools usage via triton'
7525
+ - description: 'remove setuptools usage'
7208
7526
  no-auto-follow:
7527
+ 'torch.utils.cpp_extension': 'ignore'
7209
7528
  'triton': 'ignore'
7210
7529
  when: 'not use_setuptools'
7211
7530
  - description: 'remove numba reference'
7212
7531
  no-auto-follow:
7213
7532
  'numba': 'ignore'
7214
7533
  when: 'not use_numba and standalone'
7534
+ - description: 'remove pytest reference'
7535
+ no-auto-follow:
7536
+ 'pytest': 'ignore'
7537
+ '_pytest': 'ignore'
7538
+ when: 'not use_pytest'
7215
7539
 
7216
7540
  options:
7217
7541
  checks:
@@ -7223,6 +7547,11 @@
7223
7547
  'PYTORCH_JIT': '0'
7224
7548
  when: 'get_parameter("disable-jit", "yes" if standalone else "no") == "yes"'
7225
7549
 
7550
+ - module-name: 'torch._dynamo.polyfills.loader' # checksum: e5019356
7551
+ implicit-imports:
7552
+ - depends:
7553
+ - 'torch._dynamo.polyfills.*'
7554
+
7226
7555
  - module-name: 'torch._dynamo.skipfiles' # checksum: 120e0012
7227
7556
  anti-bloat:
7228
7557
  # When calling inspect.getfile() on Nuitka's loader, it will yield
@@ -7540,7 +7869,7 @@
7540
7869
  - patterns:
7541
7870
  - '*.css'
7542
7871
 
7543
- - module-name: 'transformers' # checksum: 745d44d5
7872
+ - module-name: 'transformers' # checksum: c402fbfe
7544
7873
  data-files:
7545
7874
  - include-metadata:
7546
7875
  - 'accelerate'
@@ -7561,6 +7890,8 @@
7561
7890
  - 'sentencepiece'
7562
7891
  - 'timm'
7563
7892
  - 'openai'
7893
+ - 'pygments'
7894
+ - 'soundfile'
7564
7895
 
7565
7896
  anti-bloat:
7566
7897
  - description: 'remove IPython reference'
@@ -7596,6 +7927,13 @@
7596
7927
  'load_cuda_kernels': 'un-callable'
7597
7928
  when: 'not use_setuptools'
7598
7929
 
7930
+ - module-name: 'transformers.models.deprecated.deta.modeling_deta' # checksum: baab8e6b
7931
+ anti-bloat:
7932
+ - description: 'remove setuptools usage'
7933
+ change_function:
7934
+ 'load_cuda_kernels': 'un-callable'
7935
+ when: 'not use_setuptools'
7936
+
7599
7937
  - module-name: 'transformers.models.deta.modeling_deta' # checksum: baab8e6b
7600
7938
  anti-bloat:
7601
7939
  - description: 'remove setuptools usage'
@@ -7603,6 +7941,13 @@
7603
7941
  'load_cuda_kernels': 'un-callable'
7604
7942
  when: 'not use_setuptools'
7605
7943
 
7944
+ - module-name: 'transformers.models.grounding_dino.modeling_grounding_dino' # checksum: baab8e6b
7945
+ anti-bloat:
7946
+ - description: 'remove setuptools usage'
7947
+ change_function:
7948
+ 'load_cuda_kernels': 'un-callable'
7949
+ when: 'not use_setuptools'
7950
+
7606
7951
  - module-name: 'transformers.models.mra.modeling_mra' # checksum: a554c6d
7607
7952
  anti-bloat:
7608
7953
  - description: 'remove setuptools usage'
@@ -7612,6 +7957,20 @@
7612
7957
  'load_cuda_kernels': 'un-callable'
7613
7958
  when: 'not use_setuptools'
7614
7959
 
7960
+ - module-name: 'transformers.models.omdet_turbo.modeling_omdet_turbo' # checksum: baab8e6b
7961
+ anti-bloat:
7962
+ - description: 'remove setuptools usage'
7963
+ change_function:
7964
+ 'load_cuda_kernels': 'un-callable'
7965
+ when: 'not use_setuptools'
7966
+
7967
+ - module-name: 'transformers.models.rt_detr.modeling_rt_detr' # checksum: baab8e6b
7968
+ anti-bloat:
7969
+ - description: 'remove setuptools usage'
7970
+ change_function:
7971
+ 'load_cuda_kernels': 'un-callable'
7972
+ when: 'not use_setuptools'
7973
+
7615
7974
  - module-name: 'transformers.models.rwkv.modeling_rwkv' # checksum: f186b69e
7616
7975
  anti-bloat:
7617
7976
  - description: 'remove setuptools usage'
@@ -7639,6 +7998,12 @@
7639
7998
  replacements_plain:
7640
7999
  'transformers_module = direct_transformers_import(Path(__file__).parent)': 'import transformers as transformers_module'
7641
8000
 
8001
+ - module-name: 'transformers.tokenization_utils_base' # checksum: 836ef550
8002
+ anti-bloat:
8003
+ - description: 'disable transformers warnings'
8004
+ replacements_plain:
8005
+ 'warnings.warn(': 'if False: warnings.warn('
8006
+
7642
8007
  - module-name: 'transformers.trainer' # checksum: f71d17eb
7643
8008
  anti-bloat:
7644
8009
  - description: 'remove IPython reference'
@@ -7792,6 +8157,12 @@
7792
8157
  'from distributed import Client': 'raise ImportError'
7793
8158
  when: 'not use_dask'
7794
8159
 
8160
+ - module-name: 'tufup.repo' # checksum: 737f453f
8161
+ anti-bloat:
8162
+ - description: 'need to use setuptools'
8163
+ bloat-mode-overrides:
8164
+ 'setuptools': 'allow'
8165
+
7795
8166
  - module-name: 'twofish' # checksum: c8ae9b1e
7796
8167
  implicit-imports:
7797
8168
  - depends:
@@ -8076,6 +8447,12 @@
8076
8447
  replacements_plain:
8077
8448
  'if use_reloader:': 'if False:'
8078
8449
 
8450
+ - module-name: 'wheel' # checksum: 737f453f
8451
+ anti-bloat:
8452
+ - description: 'need to use setuptools'
8453
+ bloat-mode-overrides:
8454
+ 'setuptools': 'allow'
8455
+
8079
8456
  - module-name: 'win32com' # checksum: 8d4a0be8
8080
8457
  import-hacks:
8081
8458
  # This package adds another directory to the search path of itself,
@@ -8084,17 +8461,23 @@
8084
8461
  - 'win32comext'
8085
8462
  when: 'win32'
8086
8463
 
8087
- - module-name: 'win32com.server.register' # checksum: cb126a6d
8464
+ - module-name: 'win32com.server.register' # checksum: ee461289
8088
8465
  anti-bloat:
8089
8466
  - replacements_plain:
8090
8467
  'pythoncom.frozen': '1'
8091
8468
  'sys.frozen': 'True'
8469
+ 'GetShortPathName(sys.executable)': 'GetShortPathName(sys.argv[0])'
8092
8470
  change_function:
8093
8471
  'ReExecuteElevated': "'''raise (RuntimeError('Nuitka: Needs to be elevated already, use --windows-uac-admin'))'''"
8094
8472
  implicit-imports:
8095
8473
  - depends:
8096
8474
  - 'win32timezone'
8097
8475
 
8476
+ - module-name: 'win32file' # checksum: 2531fce0
8477
+ implicit-imports:
8478
+ - depends:
8479
+ - 'win32timezone'
8480
+
8098
8481
  - module-name: 'win32ui' # checksum: 2f1beca2
8099
8482
  implicit-imports:
8100
8483
  - pre-import-code: