Nuitka-winsvc 1.6.6__cp310-cp310-win_amd64.whl → 1.7.5__cp310-cp310-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.
- {Nuitka_winsvc-1.6.6.dist-info → Nuitka_winsvc-1.7.5.dist-info}/METADATA +1 -1
- {Nuitka_winsvc-1.6.6.dist-info → Nuitka_winsvc-1.7.5.dist-info}/RECORD +84 -81
- nuitka/Builtins.py +7 -1
- nuitka/MainControl.py +4 -0
- nuitka/OptionParsing.py +5 -3
- nuitka/Options.py +17 -2
- nuitka/Serialization.py +28 -5
- nuitka/Version.py +2 -2
- nuitka/build/Backend.scons +16 -3
- nuitka/build/CCompilerVersion.scons +1 -1
- nuitka/build/DataComposerInterface.py +15 -9
- nuitka/build/Onefile.scons +1 -1
- nuitka/build/SconsCompilerSettings.py +1 -0
- nuitka/build/SconsProgress.py +11 -2
- nuitka/build/SconsSpawn.py +15 -15
- nuitka/build/include/nuitka/builtins.h +2 -0
- nuitka/build/include/nuitka/filesystem_paths.h +4 -0
- nuitka/build/include/nuitka/helper/attributes.h +3 -0
- nuitka/build/include/nuitka/helper/import_hard.h +6 -0
- nuitka/build/include/nuitka/helpers.h +1 -1
- nuitka/build/include/nuitka/safe_string_ops.h +10 -3
- nuitka/build/static_src/CompiledCodeHelpers.c +0 -200
- nuitka/build/static_src/HelpersAttributes.c +185 -8
- nuitka/build/static_src/HelpersFilesystemPaths.c +528 -7
- nuitka/build/static_src/HelpersImportHard.c +38 -0
- nuitka/build/static_src/HelpersSafeStrings.c +6 -278
- nuitka/build/static_src/MainProgram.c +273 -73
- nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +6 -0
- nuitka/build/static_src/OnefileBootstrap.c +19 -36
- nuitka/build/static_src/OnefileSplashScreen.cpp +1 -0
- nuitka/code_generation/AttributeCodes.py +42 -23
- nuitka/code_generation/CodeGeneration.py +4 -0
- nuitka/code_generation/FunctionCodes.py +18 -3
- nuitka/code_generation/GlobalConstants.py +8 -1
- nuitka/code_generation/PackageResourceCodes.py +40 -0
- nuitka/code_generation/templates/CodeTemplatesModules.py +1 -7
- nuitka/freezer/DllDependenciesMacOS.py +18 -1
- nuitka/freezer/IncludedDataFiles.py +6 -10
- nuitka/importing/ImportResolving.py +6 -0
- nuitka/importing/Recursion.py +24 -68
- nuitka/nodes/AttributeNodes.py +72 -19
- nuitka/nodes/ChildrenHavingMixins.py +203 -234
- nuitka/nodes/ExpressionBasesGenerated.py +136 -0
- nuitka/nodes/HardImportNodesGenerated.py +94 -0
- nuitka/nodes/ImportHardNodes.py +3 -3
- nuitka/nodes/ImportNodes.py +14 -4
- nuitka/nodes/ModuleNodes.py +4 -2
- nuitka/nodes/PackageMetadataNodes.py +12 -10
- nuitka/nodes/PackageResourceNodes.py +115 -0
- nuitka/nodes/TypeNodes.py +5 -1
- nuitka/plugins/PluginBase.py +32 -8
- nuitka/plugins/Plugins.py +44 -7
- nuitka/plugins/standard/AntiBloatPlugin.py +166 -72
- nuitka/plugins/standard/DataFilesPlugin.py +10 -0
- nuitka/plugins/standard/DllFilesPlugin.py +1 -2
- nuitka/plugins/standard/MatplotlibPlugin.py +24 -22
- nuitka/plugins/standard/MultiprocessingPlugin.py +5 -12
- nuitka/plugins/standard/OptionsNannyPlugin.py +2 -2
- nuitka/plugins/standard/PySidePyQtPlugin.py +18 -6
- nuitka/plugins/standard/PywebViewPlugin.py +4 -2
- nuitka/plugins/standard/TkinterPlugin.py +3 -0
- nuitka/plugins/standard/TransformersPlugin.py +11 -1
- nuitka/plugins/standard/TrioPlugin.py +6 -66
- nuitka/plugins/standard/standard.nuitka-package.config.yml +367 -21
- nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +16 -4
- nuitka/specs/HardImportSpecs.py +6 -0
- nuitka/tools/data_composer/DataComposer.py +25 -27
- nuitka/tools/general/find_module/FindModuleCode.py +5 -2
- nuitka/tools/podman/Podman.py +53 -0
- nuitka/tools/podman/__init__.py +18 -0
- nuitka/tools/podman/__main__.py +255 -0
- nuitka/tools/specialize/SpecializePython.py +37 -3
- nuitka/tools/testing/RuntimeTracing.py +4 -0
- nuitka/tree/Building.py +1 -1
- nuitka/tree/ReformulationFunctionStatements.py +137 -10
- nuitka/utils/Execution.py +11 -1
- nuitka/utils/ModuleNames.py +1 -1
- nuitka/utils/SharedLibraries.py +7 -7
- {Nuitka_winsvc-1.6.6.data → Nuitka_winsvc-1.7.5.data}/scripts/nuitka-run.bat +0 -0
- {Nuitka_winsvc-1.6.6.data → Nuitka_winsvc-1.7.5.data}/scripts/nuitka.bat +0 -0
- {Nuitka_winsvc-1.6.6.dist-info → Nuitka_winsvc-1.7.5.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-1.6.6.dist-info → Nuitka_winsvc-1.7.5.dist-info}/WHEEL +0 -0
- {Nuitka_winsvc-1.6.6.dist-info → Nuitka_winsvc-1.7.5.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-1.6.6.dist-info → Nuitka_winsvc-1.7.5.dist-info}/top_level.txt +0 -0
|
@@ -251,6 +251,11 @@
|
|
|
251
251
|
- depends:
|
|
252
252
|
- '_cffi_backend'
|
|
253
253
|
|
|
254
|
+
- module-name: 'cairo'
|
|
255
|
+
implicit-imports:
|
|
256
|
+
- depends:
|
|
257
|
+
- 'gi._gi_cairo'
|
|
258
|
+
|
|
254
259
|
- module-name: 'cairo._cairo'
|
|
255
260
|
implicit-imports:
|
|
256
261
|
- depends:
|
|
@@ -503,6 +508,12 @@
|
|
|
503
508
|
support_info: 'warning'
|
|
504
509
|
when: 'version("opencv-python") < (4,6)'
|
|
505
510
|
|
|
511
|
+
- module-name: 'cvxpy.utilities.key_utils'
|
|
512
|
+
anti-bloat:
|
|
513
|
+
- description: 'workaround for disallowed slice optimization'
|
|
514
|
+
replacements_plain:
|
|
515
|
+
'key[i].step': '(key[i].step if key[i].step is not None else 1)'
|
|
516
|
+
|
|
506
517
|
- module-name: 'cytoolz.functoolz'
|
|
507
518
|
implicit-imports:
|
|
508
519
|
- depends:
|
|
@@ -513,11 +524,19 @@
|
|
|
513
524
|
- depends:
|
|
514
525
|
- 'cytoolz.utils'
|
|
515
526
|
|
|
527
|
+
- module-name: 'dash._jupyter'
|
|
528
|
+
anti-bloat:
|
|
529
|
+
- description: 'remove IPython reference'
|
|
530
|
+
replacements_plain:
|
|
531
|
+
'from IPython import get_ipython': 'raise ImportError'
|
|
532
|
+
when: 'not use_ipython'
|
|
533
|
+
|
|
516
534
|
- module-name: 'dash.dash'
|
|
517
535
|
anti-bloat:
|
|
518
536
|
- description: 'remove pytest reference'
|
|
519
537
|
replacements_plain:
|
|
520
538
|
'"_pytest" in sys.modules': 'False'
|
|
539
|
+
when: 'not use_pytest'
|
|
521
540
|
|
|
522
541
|
- module-name: 'dash.dash_table'
|
|
523
542
|
data-files:
|
|
@@ -596,7 +615,8 @@
|
|
|
596
615
|
- module-name: 'dns.rdtypes'
|
|
597
616
|
implicit-imports:
|
|
598
617
|
- depends:
|
|
599
|
-
- '.
|
|
618
|
+
- '.ANY.*'
|
|
619
|
+
- '.IN.*'
|
|
600
620
|
- '.CH.A'
|
|
601
621
|
|
|
602
622
|
- module-name: 'dotenv'
|
|
@@ -772,6 +792,13 @@
|
|
|
772
792
|
'import distributed': 'raise ImportError'
|
|
773
793
|
when: 'not use_dask'
|
|
774
794
|
|
|
795
|
+
- module-name: 'future.standard_library'
|
|
796
|
+
anti-bloat:
|
|
797
|
+
- description: 'remove unittest reference'
|
|
798
|
+
replacements_plain:
|
|
799
|
+
'from future.moves.test import support': 'raise ImportError'
|
|
800
|
+
when: 'not use_unittest'
|
|
801
|
+
|
|
775
802
|
- module-name: 'gevent'
|
|
776
803
|
implicit-imports:
|
|
777
804
|
- depends:
|
|
@@ -943,6 +970,20 @@
|
|
|
943
970
|
- 'gevent.resolver.cares'
|
|
944
971
|
- 'gevent.resolver.thread'
|
|
945
972
|
|
|
973
|
+
- module-name: 'git.objects.submodule.base'
|
|
974
|
+
anti-bloat:
|
|
975
|
+
- description: 'remove unittest reference'
|
|
976
|
+
replacements_plain:
|
|
977
|
+
'if HIDE_WINDOWS_KNOWN_ERRORS': 'if False'
|
|
978
|
+
when: 'not use_unittest'
|
|
979
|
+
|
|
980
|
+
- module-name: 'git.util'
|
|
981
|
+
anti-bloat:
|
|
982
|
+
- description: 'remove unittest reference'
|
|
983
|
+
replacements_plain:
|
|
984
|
+
'if HIDE_WINDOWS_KNOWN_ERRORS': 'if False'
|
|
985
|
+
when: 'not use_unittest'
|
|
986
|
+
|
|
946
987
|
- module-name: 'gooey'
|
|
947
988
|
data-files:
|
|
948
989
|
dirs:
|
|
@@ -1094,6 +1135,11 @@
|
|
|
1094
1135
|
dirs:
|
|
1095
1136
|
- 'schemas'
|
|
1096
1137
|
|
|
1138
|
+
- module-name: 'jsonschema_specifications'
|
|
1139
|
+
data-files:
|
|
1140
|
+
dirs:
|
|
1141
|
+
- 'schemas'
|
|
1142
|
+
|
|
1097
1143
|
- module-name: 'keras.api._v2.keras.__internal__.utils'
|
|
1098
1144
|
anti-bloat:
|
|
1099
1145
|
- description: 'remove keras testing tools reference'
|
|
@@ -1197,6 +1243,11 @@
|
|
|
1197
1243
|
- depends:
|
|
1198
1244
|
- 'lxml.etree'
|
|
1199
1245
|
|
|
1246
|
+
- module-name: 'markdown'
|
|
1247
|
+
implicit-imports:
|
|
1248
|
+
- depends:
|
|
1249
|
+
- 'markdown.extensions.*'
|
|
1250
|
+
|
|
1200
1251
|
- module-name: 'matplotlib'
|
|
1201
1252
|
anti-bloat:
|
|
1202
1253
|
- description: 'remove setuptools and pytest testing framework reference'
|
|
@@ -1224,9 +1275,23 @@
|
|
|
1224
1275
|
implicit-imports:
|
|
1225
1276
|
- depends:
|
|
1226
1277
|
- 'matplotlib.backends._backend_agg'
|
|
1278
|
+
- 'matplotlib.backends.backend_agg'
|
|
1279
|
+
- depends:
|
|
1227
1280
|
- 'matplotlib.backends._tkagg'
|
|
1228
1281
|
- 'matplotlib.backends.backend_tkagg'
|
|
1229
|
-
|
|
1282
|
+
when: 'use_tkinter'
|
|
1283
|
+
- depends:
|
|
1284
|
+
- 'matplotlib.backends._tkagg'
|
|
1285
|
+
- 'matplotlib.backends.backend_tkagg'
|
|
1286
|
+
when: 'use_tkinter'
|
|
1287
|
+
- depends:
|
|
1288
|
+
- 'matplotlib.backends.backend_qt5'
|
|
1289
|
+
- 'matplotlib.backends.backend_qt5cairo'
|
|
1290
|
+
when: 'use_pyqt5'
|
|
1291
|
+
- depends:
|
|
1292
|
+
- 'matplotlib.backends.backend_qtagg'
|
|
1293
|
+
- 'matplotlib.backends.backend_qt'
|
|
1294
|
+
when: 'use_pyqt5 or use_pyqt6 or use_pyside2 or use_pyside6'
|
|
1230
1295
|
|
|
1231
1296
|
- module-name: 'matplotlib.backends.backend_cairo'
|
|
1232
1297
|
implicit-imports:
|
|
@@ -1326,6 +1391,11 @@
|
|
|
1326
1391
|
'is_rocm_pytorch': "'(lambda: False)'"
|
|
1327
1392
|
'_get_cuda_home': 'un-callable'
|
|
1328
1393
|
|
|
1394
|
+
- module-name: 'mnemonic'
|
|
1395
|
+
data-files:
|
|
1396
|
+
dirs:
|
|
1397
|
+
- 'wordlist'
|
|
1398
|
+
|
|
1329
1399
|
- module-name: 'moto'
|
|
1330
1400
|
data-files:
|
|
1331
1401
|
patterns:
|
|
@@ -1335,6 +1405,7 @@
|
|
|
1335
1405
|
- description: 'remove pytest testing framework'
|
|
1336
1406
|
replacements:
|
|
1337
1407
|
"imp.find_module('pytest')": "'None'"
|
|
1408
|
+
when: 'not use_pytest'
|
|
1338
1409
|
|
|
1339
1410
|
- module-name: 'mozilla-ca'
|
|
1340
1411
|
data-files:
|
|
@@ -1349,6 +1420,13 @@
|
|
|
1349
1420
|
'runtests': 'un-callable'
|
|
1350
1421
|
when: 'not use_pytest'
|
|
1351
1422
|
|
|
1423
|
+
- module-name: 'multiprocessing.util'
|
|
1424
|
+
anti-bloat:
|
|
1425
|
+
- description: 'remove unittest reference'
|
|
1426
|
+
change_function:
|
|
1427
|
+
'_cleanup_tests': 'un-callable'
|
|
1428
|
+
when: 'not use_unittest'
|
|
1429
|
+
|
|
1352
1430
|
- module-name: 'nacl._sodium'
|
|
1353
1431
|
implicit-imports:
|
|
1354
1432
|
- depends:
|
|
@@ -1595,6 +1673,21 @@
|
|
|
1595
1673
|
def assert_equal(actual, desired, err_msg='', verbose=True):
|
|
1596
1674
|
pass
|
|
1597
1675
|
|
|
1676
|
+
def assert_approx_equal(actual, desired, significant=7, err_msg='', verbose=True):
|
|
1677
|
+
pass
|
|
1678
|
+
|
|
1679
|
+
def assert_almost_equal(actual, desired, decimal=7, err_msg='', verbose=True):
|
|
1680
|
+
pass
|
|
1681
|
+
|
|
1682
|
+
def assert_array_equal(x, y, err_msg='', verbose=True, *, strict=False):
|
|
1683
|
+
pass
|
|
1684
|
+
|
|
1685
|
+
def assert_array_less(x, y, err_msg='', verbose=True):
|
|
1686
|
+
pass
|
|
1687
|
+
|
|
1688
|
+
def assert_array_almost_equal(x, y, decimal=6, err_msg='', verbose=True):
|
|
1689
|
+
pass
|
|
1690
|
+
|
|
1598
1691
|
- module-name: 'numpy.testing._private.pytesttester'
|
|
1599
1692
|
anti-bloat:
|
|
1600
1693
|
- description: 'remove numpy testing framework'
|
|
@@ -1662,6 +1755,25 @@
|
|
|
1662
1755
|
replacements_plain:
|
|
1663
1756
|
'bases = func.__class__.__bases__': 'bases = func.__class__.__bases__ if func.__class__.__bases__ != (FunctionType,) else (object,)'
|
|
1664
1757
|
|
|
1758
|
+
- module-name: 'opentelemetry.propagate'
|
|
1759
|
+
data-files:
|
|
1760
|
+
include-metadata:
|
|
1761
|
+
- 'opentelemetry-api'
|
|
1762
|
+
|
|
1763
|
+
implicit-imports:
|
|
1764
|
+
- depends:
|
|
1765
|
+
- 'opentelemetry.trace.propagation.tracecontext'
|
|
1766
|
+
- 'opentelemetry.baggage.propagation'
|
|
1767
|
+
|
|
1768
|
+
- module-name: 'opentelemetry.sdk.resources'
|
|
1769
|
+
data-files:
|
|
1770
|
+
include-metadata:
|
|
1771
|
+
- 'opentelemetry-sdk'
|
|
1772
|
+
anti-bloat:
|
|
1773
|
+
- description: 'workaround for metadata functions'
|
|
1774
|
+
replacements_plain:
|
|
1775
|
+
'opentelemetry.util._importlib_metadata': 'importlib_metadata'
|
|
1776
|
+
|
|
1665
1777
|
- module-name: 'openvino'
|
|
1666
1778
|
data-files:
|
|
1667
1779
|
dirs:
|
|
@@ -2175,6 +2287,13 @@
|
|
|
2175
2287
|
'from IPython.display import display as ipython_display': "'raise ImportError'"
|
|
2176
2288
|
when: 'not use_ipython'
|
|
2177
2289
|
|
|
2290
|
+
- module-name: 'PIL.SpiderImagePlugin'
|
|
2291
|
+
anti-bloat:
|
|
2292
|
+
- description: 'remove tkinter reference'
|
|
2293
|
+
change_function:
|
|
2294
|
+
'tkPhotoImage': 'un-callable'
|
|
2295
|
+
when: 'not use_tkinter'
|
|
2296
|
+
|
|
2178
2297
|
- module-name: 'pint.compat'
|
|
2179
2298
|
anti-bloat:
|
|
2180
2299
|
- description: 'remove optional dask usage'
|
|
@@ -2403,6 +2522,11 @@
|
|
|
2403
2522
|
dirs:
|
|
2404
2523
|
- '.'
|
|
2405
2524
|
|
|
2525
|
+
- module-name: 'pygeos._geometry'
|
|
2526
|
+
implicit-imports:
|
|
2527
|
+
- depends:
|
|
2528
|
+
- 'pygeos._geos'
|
|
2529
|
+
|
|
2406
2530
|
- module-name: 'pyglet'
|
|
2407
2531
|
implicit-imports:
|
|
2408
2532
|
- depends:
|
|
@@ -2445,6 +2569,11 @@
|
|
|
2445
2569
|
- depends:
|
|
2446
2570
|
- 'autograd.numpy'
|
|
2447
2571
|
|
|
2572
|
+
- module-name: 'pymssql'
|
|
2573
|
+
implicit-imports:
|
|
2574
|
+
- depends:
|
|
2575
|
+
- 'pymssql._mssql'
|
|
2576
|
+
|
|
2448
2577
|
- module-name: 'pyodbc'
|
|
2449
2578
|
implicit-imports:
|
|
2450
2579
|
- depends:
|
|
@@ -2474,20 +2603,20 @@
|
|
|
2474
2603
|
checks:
|
|
2475
2604
|
- description: 'PyQt5 is a GUI framework'
|
|
2476
2605
|
console: 'recommend'
|
|
2477
|
-
when: '
|
|
2606
|
+
when: 'use_pyqt5'
|
|
2478
2607
|
- description: 'PyQt5 cannot be used without bundle'
|
|
2479
2608
|
macos_bundle: 'yes'
|
|
2480
|
-
when: 'macos and not is_conda_package("pyqt5") and
|
|
2609
|
+
when: 'macos and not is_conda_package("pyqt5") and use_pyqt5'
|
|
2481
2610
|
- description: 'PyQt5 cannot be signed unless onefile'
|
|
2482
2611
|
macos_bundle_as_onefile: 'yes'
|
|
2483
|
-
when: 'macos and
|
|
2612
|
+
when: 'macos and use_pyqt5'
|
|
2484
2613
|
|
|
2485
2614
|
- module-name: 'PyQt6'
|
|
2486
2615
|
options:
|
|
2487
2616
|
checks:
|
|
2488
2617
|
- description: 'PyQt6 is a GUI framework'
|
|
2489
2618
|
console: 'recommend'
|
|
2490
|
-
when: '
|
|
2619
|
+
when: 'use_pyqt6'
|
|
2491
2620
|
|
|
2492
2621
|
- module-name: 'pyqtgraph'
|
|
2493
2622
|
data-files:
|
|
@@ -2646,10 +2775,10 @@
|
|
|
2646
2775
|
checks:
|
|
2647
2776
|
- description: 'PySide2 is a GUI framework'
|
|
2648
2777
|
console: 'recommend'
|
|
2649
|
-
when: '
|
|
2778
|
+
when: 'use_pyside2'
|
|
2650
2779
|
- description: 'PySide2 cannot be signed unless onefile'
|
|
2651
2780
|
macos_bundle_as_onefile: 'yes'
|
|
2652
|
-
when: 'macos and
|
|
2781
|
+
when: 'macos and use_pyside2'
|
|
2653
2782
|
import-hacks:
|
|
2654
2783
|
- find-dlls-near-module:
|
|
2655
2784
|
- 'shiboken2'
|
|
@@ -2659,7 +2788,7 @@
|
|
|
2659
2788
|
checks:
|
|
2660
2789
|
- description: 'PySide6 is a GUI framework'
|
|
2661
2790
|
console: 'recommend'
|
|
2662
|
-
when: '
|
|
2791
|
+
when: 'use_pyside6'
|
|
2663
2792
|
|
|
2664
2793
|
import-hacks:
|
|
2665
2794
|
- find-dlls-near-module:
|
|
@@ -2944,6 +3073,19 @@
|
|
|
2944
3073
|
'ip = get_ipython()': 'raise NameError'
|
|
2945
3074
|
when: 'not use_ipython'
|
|
2946
3075
|
|
|
3076
|
+
- module-name: 'rtree'
|
|
3077
|
+
dlls:
|
|
3078
|
+
- from_filenames:
|
|
3079
|
+
relative_path: 'lib'
|
|
3080
|
+
prefixes:
|
|
3081
|
+
- 'spatialindex'
|
|
3082
|
+
when: 'win32'
|
|
3083
|
+
- from_filenames:
|
|
3084
|
+
relative_path: 'lib'
|
|
3085
|
+
prefixes:
|
|
3086
|
+
- 'libspatialindex'
|
|
3087
|
+
when: 'not win32'
|
|
3088
|
+
|
|
2947
3089
|
- module-name: 'scipy'
|
|
2948
3090
|
dlls:
|
|
2949
3091
|
- from_filenames:
|
|
@@ -3284,8 +3426,6 @@
|
|
|
3284
3426
|
data-files:
|
|
3285
3427
|
dirs:
|
|
3286
3428
|
- 'data'
|
|
3287
|
-
patterns:
|
|
3288
|
-
- 'io/_plugins/fits_plugin*.ini'
|
|
3289
3429
|
include-pyi-file: 'yes'
|
|
3290
3430
|
|
|
3291
3431
|
- module-name: 'skimage._shared'
|
|
@@ -3303,6 +3443,10 @@
|
|
|
3303
3443
|
def __init__(self, name):
|
|
3304
3444
|
pass
|
|
3305
3445
|
|
|
3446
|
+
- module-name: 'skimage.color'
|
|
3447
|
+
data-files:
|
|
3448
|
+
include-pyi-file: 'yes'
|
|
3449
|
+
|
|
3306
3450
|
- module-name: 'skimage.data'
|
|
3307
3451
|
data-files:
|
|
3308
3452
|
include-pyi-file: 'yes'
|
|
@@ -3318,10 +3462,16 @@
|
|
|
3318
3462
|
when: 'not use_pytest'
|
|
3319
3463
|
|
|
3320
3464
|
- module-name: 'skimage.draw'
|
|
3465
|
+
data-files:
|
|
3466
|
+
include-pyi-file: 'yes'
|
|
3321
3467
|
implicit-imports:
|
|
3322
3468
|
- depends:
|
|
3323
3469
|
- 'skimage.draw._draw'
|
|
3324
3470
|
|
|
3471
|
+
- module-name: 'skimage.exposure'
|
|
3472
|
+
data-files:
|
|
3473
|
+
include-pyi-file: 'yes'
|
|
3474
|
+
|
|
3325
3475
|
- module-name: 'skimage.external.tifffile'
|
|
3326
3476
|
implicit-imports:
|
|
3327
3477
|
- depends:
|
|
@@ -3363,6 +3513,10 @@
|
|
|
3363
3513
|
- 'skimage.filters.rank.generic_cy'
|
|
3364
3514
|
- 'skimage.filters.rank.percentile_cy'
|
|
3365
3515
|
|
|
3516
|
+
- module-name: 'skimage.future'
|
|
3517
|
+
data-files:
|
|
3518
|
+
include-pyi-file: 'yes'
|
|
3519
|
+
|
|
3366
3520
|
- module-name: 'skimage.future.graph'
|
|
3367
3521
|
implicit-imports:
|
|
3368
3522
|
- depends:
|
|
@@ -3376,14 +3530,13 @@
|
|
|
3376
3530
|
- 'skimage.graph._spath'
|
|
3377
3531
|
|
|
3378
3532
|
- module-name: 'skimage.io'
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3533
|
+
data-files:
|
|
3534
|
+
patterns:
|
|
3535
|
+
- '_plugins/*.ini'
|
|
3382
3536
|
|
|
3383
|
-
- module-name: 'skimage.io._plugins'
|
|
3384
3537
|
implicit-imports:
|
|
3385
3538
|
- depends:
|
|
3386
|
-
- 'skimage.io._plugins
|
|
3539
|
+
- 'skimage.io._plugins'
|
|
3387
3540
|
- 'skimage.io._plugins._histograms'
|
|
3388
3541
|
- 'skimage.io._plugins.fits_plugin'
|
|
3389
3542
|
- 'skimage.io._plugins.gdal_plugin'
|
|
@@ -3398,6 +3551,11 @@
|
|
|
3398
3551
|
- 'skimage.io._plugins.tifffile_plugin'
|
|
3399
3552
|
- 'skimage.io._plugins.util'
|
|
3400
3553
|
|
|
3554
|
+
- module-name: 'skimage.io._io'
|
|
3555
|
+
implicit-imports:
|
|
3556
|
+
- depends:
|
|
3557
|
+
- 'skimage.exposure.exposure'
|
|
3558
|
+
|
|
3401
3559
|
- module-name: 'skimage.measure'
|
|
3402
3560
|
implicit-imports:
|
|
3403
3561
|
- depends:
|
|
@@ -3480,6 +3638,8 @@
|
|
|
3480
3638
|
implicit-imports:
|
|
3481
3639
|
- depends:
|
|
3482
3640
|
- 'sklearn.datasets._svmlight_format'
|
|
3641
|
+
- 'sklearn.datasets.data'
|
|
3642
|
+
- 'sklearn.datasets.descr'
|
|
3483
3643
|
|
|
3484
3644
|
- module-name: 'sklearn.decomposition'
|
|
3485
3645
|
implicit-imports:
|
|
@@ -3658,12 +3818,21 @@
|
|
|
3658
3818
|
'_dummy = TestCase("__init__")': ''
|
|
3659
3819
|
'assert_dict_equal = _dummy.assert_dict_equal': 'def assert_dict_equal(*args, **kwargs): pass'
|
|
3660
3820
|
'assert_raises = _dummy.assertRaises': 'def assert_raises(*args, **kwargs): pass'
|
|
3661
|
-
'assert_raises_regex = _dummy.assert_raises_regex': 'def
|
|
3821
|
+
'assert_raises_regex = _dummy.assert_raises_regex': 'def assert_raises_regex(*args, **kwargs): pass'
|
|
3822
|
+
'assert_dict_equal = _dummy.assertDictEqual': 'def assert_dict_equal(*args, **kwargs): pass'
|
|
3823
|
+
'assert_raises_regex = _dummy.assertRaisesRegex': 'def assert_raises_regex(*args, **kwargs): pass'
|
|
3662
3824
|
'from unittest import TestCase': ''
|
|
3663
3825
|
'import pytest': 'raise ImportError'
|
|
3664
3826
|
'import unittest': ''
|
|
3665
3827
|
'unittest.case.SkipTest': 'None'
|
|
3666
3828
|
|
|
3829
|
+
- module-name: 'sklearn.utils.estimator_checks'
|
|
3830
|
+
anti-bloat:
|
|
3831
|
+
- description: 'remove pytest reference'
|
|
3832
|
+
change_function:
|
|
3833
|
+
'parametrize_with_checks': 'un-callable'
|
|
3834
|
+
when: 'not use_pytest'
|
|
3835
|
+
|
|
3667
3836
|
- module-name: 'sklearn.utils.sparsetools'
|
|
3668
3837
|
implicit-imports:
|
|
3669
3838
|
- depends:
|
|
@@ -3766,6 +3935,11 @@
|
|
|
3766
3935
|
- depends:
|
|
3767
3936
|
- 'sqlalchemy.sql.default_comparator'
|
|
3768
3937
|
|
|
3938
|
+
- module-name: 'sqlalchemy.util.preloaded'
|
|
3939
|
+
implicit-imports:
|
|
3940
|
+
- depends:
|
|
3941
|
+
- 'sqlalchemy.orm.dependency'
|
|
3942
|
+
|
|
3769
3943
|
- module-name: 'sqlfluff'
|
|
3770
3944
|
anti-bloat:
|
|
3771
3945
|
- description: 'remove pytest reference'
|
|
@@ -3799,6 +3973,15 @@
|
|
|
3799
3973
|
'test': 'un-callable'
|
|
3800
3974
|
when: 'not use_pytest'
|
|
3801
3975
|
|
|
3976
|
+
- module-name: 'statsmodels.api'
|
|
3977
|
+
anti-bloat:
|
|
3978
|
+
- description: 'remove statsmodels testing framework'
|
|
3979
|
+
replacements_plain:
|
|
3980
|
+
# TODO: Should make an un-callable object that is not just None for non-deployment.
|
|
3981
|
+
'from .tools.print_version import show_versions': 'show_versions = None'
|
|
3982
|
+
'from .__init__ import test': 'from . import test'
|
|
3983
|
+
when: 'not use_pytest'
|
|
3984
|
+
|
|
3802
3985
|
- module-name: 'statsmodels.base'
|
|
3803
3986
|
anti-bloat:
|
|
3804
3987
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3813,6 +3996,13 @@
|
|
|
3813
3996
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3814
3997
|
when: 'not use_pytest'
|
|
3815
3998
|
|
|
3999
|
+
- module-name: 'statsmodels.datasets'
|
|
4000
|
+
anti-bloat:
|
|
4001
|
+
- description: 'remove statsmodels testing framework'
|
|
4002
|
+
replacements_plain:
|
|
4003
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4004
|
+
when: 'not use_pytest'
|
|
4005
|
+
|
|
3816
4006
|
- module-name: 'statsmodels.discrete'
|
|
3817
4007
|
anti-bloat:
|
|
3818
4008
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3827,6 +4017,13 @@
|
|
|
3827
4017
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3828
4018
|
when: 'not use_pytest'
|
|
3829
4019
|
|
|
4020
|
+
- module-name: 'statsmodels.duration'
|
|
4021
|
+
anti-bloat:
|
|
4022
|
+
- description: 'remove statsmodels testing framework'
|
|
4023
|
+
replacements_plain:
|
|
4024
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4025
|
+
when: 'not use_pytest'
|
|
4026
|
+
|
|
3830
4027
|
- module-name: 'statsmodels.emplike'
|
|
3831
4028
|
anti-bloat:
|
|
3832
4029
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3841,6 +4038,13 @@
|
|
|
3841
4038
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3842
4039
|
when: 'not use_pytest'
|
|
3843
4040
|
|
|
4041
|
+
- module-name: 'statsmodels.gam'
|
|
4042
|
+
anti-bloat:
|
|
4043
|
+
- description: 'remove statsmodels testing framework'
|
|
4044
|
+
replacements_plain:
|
|
4045
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4046
|
+
when: 'not use_pytest'
|
|
4047
|
+
|
|
3844
4048
|
- module-name: 'statsmodels.genmod'
|
|
3845
4049
|
anti-bloat:
|
|
3846
4050
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3862,6 +4066,13 @@
|
|
|
3862
4066
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3863
4067
|
when: 'not use_pytest'
|
|
3864
4068
|
|
|
4069
|
+
- module-name: 'statsmodels.imputation'
|
|
4070
|
+
anti-bloat:
|
|
4071
|
+
- description: 'remove statsmodels testing framework'
|
|
4072
|
+
replacements_plain:
|
|
4073
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4074
|
+
when: 'not use_pytest'
|
|
4075
|
+
|
|
3865
4076
|
- module-name: 'statsmodels.iolib'
|
|
3866
4077
|
anti-bloat:
|
|
3867
4078
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3869,6 +4080,13 @@
|
|
|
3869
4080
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3870
4081
|
when: 'not use_pytest'
|
|
3871
4082
|
|
|
4083
|
+
- module-name: 'statsmodels.miscmodels'
|
|
4084
|
+
anti-bloat:
|
|
4085
|
+
- description: 'remove statsmodels testing framework'
|
|
4086
|
+
replacements_plain:
|
|
4087
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4088
|
+
when: 'not use_pytest'
|
|
4089
|
+
|
|
3872
4090
|
- module-name: 'statsmodels.multivariate'
|
|
3873
4091
|
anti-bloat:
|
|
3874
4092
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3876,6 +4094,13 @@
|
|
|
3876
4094
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3877
4095
|
when: 'not use_pytest'
|
|
3878
4096
|
|
|
4097
|
+
- module-name: 'statsmodels.multivariate.factor_rotation'
|
|
4098
|
+
anti-bloat:
|
|
4099
|
+
- description: 'remove statsmodels testing framework'
|
|
4100
|
+
replacements_plain:
|
|
4101
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4102
|
+
when: 'not use_pytest'
|
|
4103
|
+
|
|
3879
4104
|
- module-name: 'statsmodels.nonparametric'
|
|
3880
4105
|
anti-bloat:
|
|
3881
4106
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3887,6 +4112,13 @@
|
|
|
3887
4112
|
- 'statsmodels.nonparametric.linbin'
|
|
3888
4113
|
- 'statsmodels.nonparametric._smoothers_lowess'
|
|
3889
4114
|
|
|
4115
|
+
- module-name: 'statsmodels.othermod'
|
|
4116
|
+
anti-bloat:
|
|
4117
|
+
- description: 'remove statsmodels testing framework'
|
|
4118
|
+
replacements_plain:
|
|
4119
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4120
|
+
when: 'not use_pytest'
|
|
4121
|
+
|
|
3890
4122
|
- module-name: 'statsmodels.regression'
|
|
3891
4123
|
anti-bloat:
|
|
3892
4124
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3894,6 +4126,13 @@
|
|
|
3894
4126
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3895
4127
|
when: 'not use_pytest'
|
|
3896
4128
|
|
|
4129
|
+
- module-name: 'statsmodels.robust'
|
|
4130
|
+
anti-bloat:
|
|
4131
|
+
- description: 'remove statsmodels testing framework'
|
|
4132
|
+
replacements_plain:
|
|
4133
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4134
|
+
when: 'not use_pytest'
|
|
4135
|
+
|
|
3897
4136
|
- module-name: 'statsmodels.sandbox'
|
|
3898
4137
|
anti-bloat:
|
|
3899
4138
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3942,6 +4181,18 @@
|
|
|
3942
4181
|
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
3943
4182
|
when: 'not use_pytest'
|
|
3944
4183
|
|
|
4184
|
+
- module-name: 'statsmodels.tsa.filters'
|
|
4185
|
+
anti-bloat:
|
|
4186
|
+
- description: 'remove statsmodels testing framework'
|
|
4187
|
+
replacements_plain:
|
|
4188
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4189
|
+
when: 'not use_pytest'
|
|
4190
|
+
|
|
4191
|
+
implicit-imports:
|
|
4192
|
+
- depends:
|
|
4193
|
+
- 'statsmodels.tsa.regime_switching._hamilton_filter'
|
|
4194
|
+
- 'statsmodels.tsa.regime_switching._kim_smoother'
|
|
4195
|
+
|
|
3945
4196
|
- module-name: 'statsmodels.tsa.innovations'
|
|
3946
4197
|
anti-bloat:
|
|
3947
4198
|
- description: 'remove statsmodels testing framework'
|
|
@@ -3952,16 +4203,24 @@
|
|
|
3952
4203
|
- depends:
|
|
3953
4204
|
- 'statsmodels.tsa.innovations._arma_innovations'
|
|
3954
4205
|
|
|
4206
|
+
- module-name: 'statsmodels.tsa.interp'
|
|
4207
|
+
anti-bloat:
|
|
4208
|
+
- description: 'remove statsmodels testing framework'
|
|
4209
|
+
replacements_plain:
|
|
4210
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4211
|
+
when: 'not use_pytest'
|
|
4212
|
+
|
|
3955
4213
|
- module-name: 'statsmodels.tsa.kalmanf'
|
|
3956
4214
|
implicit-imports:
|
|
3957
4215
|
- depends:
|
|
3958
4216
|
- 'statsmodels.tsa.kalmanf.kalman_loglike'
|
|
3959
4217
|
|
|
3960
4218
|
- module-name: 'statsmodels.tsa.regime_switching'
|
|
3961
|
-
|
|
3962
|
-
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4219
|
+
anti-bloat:
|
|
4220
|
+
- description: 'remove statsmodels testing framework'
|
|
4221
|
+
replacements_plain:
|
|
4222
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4223
|
+
when: 'not use_pytest'
|
|
3965
4224
|
|
|
3966
4225
|
- module-name: 'statsmodels.tsa.statespace'
|
|
3967
4226
|
anti-bloat:
|
|
@@ -3997,11 +4256,35 @@
|
|
|
3997
4256
|
- 'statsmodels.tsa.statespace._smoothers._univariate'
|
|
3998
4257
|
- 'statsmodels.tsa.statespace._smoothers._univariate_diffuse'
|
|
3999
4258
|
|
|
4259
|
+
- module-name: 'statsmodels.tsa.stl'
|
|
4260
|
+
anti-bloat:
|
|
4261
|
+
- description: 'remove statsmodels testing framework'
|
|
4262
|
+
replacements_plain:
|
|
4263
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4264
|
+
when: 'not use_pytest'
|
|
4265
|
+
|
|
4266
|
+
- module-name: 'statsmodels.tsa.vector_ar'
|
|
4267
|
+
anti-bloat:
|
|
4268
|
+
- description: 'remove statsmodels testing framework'
|
|
4269
|
+
replacements_plain:
|
|
4270
|
+
'from statsmodels.tools._testing import PytestTester': 'from statsmodels.sandbox import PytestTester'
|
|
4271
|
+
when: 'not use_pytest'
|
|
4272
|
+
|
|
4000
4273
|
- module-name: 'strawberry'
|
|
4001
4274
|
data-files:
|
|
4002
4275
|
dirs:
|
|
4003
4276
|
- 'static'
|
|
4004
4277
|
|
|
4278
|
+
- module-name: 'streamlit.delta_generator'
|
|
4279
|
+
anti-bloat:
|
|
4280
|
+
- description: 'remove IPython reference'
|
|
4281
|
+
replacements_plain:
|
|
4282
|
+
'from streamlit.elements.legacy_altair import LegacyAltairMixin': ''
|
|
4283
|
+
'LegacyAltairMixin,': ''
|
|
4284
|
+
'from streamlit.elements.arrow_altair import ArrowAltairMixin': ''
|
|
4285
|
+
'ArrowAltairMixin,': ''
|
|
4286
|
+
when: 'not use_ipython'
|
|
4287
|
+
|
|
4005
4288
|
- module-name: 'sv_ttk'
|
|
4006
4289
|
data-files:
|
|
4007
4290
|
dirs:
|
|
@@ -4834,6 +5117,18 @@
|
|
|
4834
5117
|
module_code: "from .std import tqdm, trange\n"
|
|
4835
5118
|
when: 'not use_ipython'
|
|
4836
5119
|
|
|
5120
|
+
- module-name: 'tqdm.std'
|
|
5121
|
+
anti-bloat:
|
|
5122
|
+
- no-auto-follow:
|
|
5123
|
+
- 'pandas'
|
|
5124
|
+
|
|
5125
|
+
- module-name: 'transformers'
|
|
5126
|
+
data-files:
|
|
5127
|
+
include-metadata:
|
|
5128
|
+
- 'torch'
|
|
5129
|
+
- 'flax'
|
|
5130
|
+
- 'tensorflow'
|
|
5131
|
+
|
|
4837
5132
|
- module-name: 'transformers.integrations'
|
|
4838
5133
|
anti-bloat:
|
|
4839
5134
|
- description: 'remove IPython reference'
|
|
@@ -4932,6 +5227,29 @@
|
|
|
4932
5227
|
'boolean_sparse': 'un-callable'
|
|
4933
5228
|
when: 'not use_numba'
|
|
4934
5229
|
|
|
5230
|
+
- module-name: 'trio._core._ki'
|
|
5231
|
+
anti-bloat:
|
|
5232
|
+
- description: 'workaround for trio compatibility'
|
|
5233
|
+
# The only incompatibility in Trio is the way it handles KeyboardInterrupt exceptions (ctrl+C):
|
|
5234
|
+
# https://github.com/Nuitka/Nuitka/issues/561
|
|
5235
|
+
# https://github.com/python-trio/trio/issues/1752
|
|
5236
|
+
# It does this to ensure that Trio's internal data structures stay consistent and that the
|
|
5237
|
+
# `finally` blocks in suspended coroutines are all run:
|
|
5238
|
+
# https://vorpus.org/blog/control-c-handling-in-python-and-trio/
|
|
5239
|
+
# So, be warned, when this plugin is enabled, your Trio code may not behave as expected when the
|
|
5240
|
+
# user hits CTRL+C. One option to cope with this is to run your Trio code in a separate thread,
|
|
5241
|
+
# listen for it in the main thread (with a try/except block), then notify the Trio thread to
|
|
5242
|
+
# shutdown (e.g. with `trio_token.run_sync_soon(cancel_scope.cancel())`).
|
|
5243
|
+
append_plain: |
|
|
5244
|
+
def enable_ki_protection(fn):
|
|
5245
|
+
return fn
|
|
5246
|
+
def disable_ki_protection(fn):
|
|
5247
|
+
return fn
|
|
5248
|
+
options:
|
|
5249
|
+
checks:
|
|
5250
|
+
- description: "Disabled careful handling of KeyboardInterrupt in 'trio'"
|
|
5251
|
+
support_info: 'info'
|
|
5252
|
+
|
|
4935
5253
|
- module-name: 'trio._core._multierror'
|
|
4936
5254
|
anti-bloat:
|
|
4937
5255
|
- description: 'remove IPython reference'
|
|
@@ -4939,6 +5257,12 @@
|
|
|
4939
5257
|
'"IPython" in sys.modules': 'False'
|
|
4940
5258
|
when: 'not use_ipython'
|
|
4941
5259
|
|
|
5260
|
+
- module-name: 'trio._core._run'
|
|
5261
|
+
anti-bloat:
|
|
5262
|
+
- description: 'workaround for trio compatibility'
|
|
5263
|
+
replacements_plain:
|
|
5264
|
+
'coro.cr_frame.f_locals.setdefault(LOCALS_KEY_KI_PROTECTION_ENABLED, system_task)': ''
|
|
5265
|
+
|
|
4942
5266
|
- module-name: 'triton.compiler'
|
|
4943
5267
|
anti-bloat:
|
|
4944
5268
|
- description: 'remove setuptools usage'
|
|
@@ -4946,6 +5270,28 @@
|
|
|
4946
5270
|
'import setuptools': ''
|
|
4947
5271
|
when: 'not use_setuptools'
|
|
4948
5272
|
|
|
5273
|
+
- module-name: 'tsfresh.feature_extraction.data'
|
|
5274
|
+
anti-bloat:
|
|
5275
|
+
- description: 'remove dask reference via distributed module'
|
|
5276
|
+
replacements_plain:
|
|
5277
|
+
'from dask import dataframe as dd': 'raise ImportError'
|
|
5278
|
+
when: 'not use_dask'
|
|
5279
|
+
|
|
5280
|
+
- module-name: 'tsfresh.feature_extraction.feature_calculators'
|
|
5281
|
+
anti-bloat:
|
|
5282
|
+
- description: 'remove numba reference via stumpy module'
|
|
5283
|
+
replacements_plain:
|
|
5284
|
+
'import stumpy': ''
|
|
5285
|
+
when: 'not use_numba'
|
|
5286
|
+
|
|
5287
|
+
- module-name: 'tsfresh.utilities.distribution'
|
|
5288
|
+
anti-bloat:
|
|
5289
|
+
- description: 'remove dask reference via distributed module'
|
|
5290
|
+
replacements_plain:
|
|
5291
|
+
'from distributed import Client, LocalCluster': 'raise ImportError'
|
|
5292
|
+
'from distributed import Client': 'raise ImportError'
|
|
5293
|
+
when: 'not use_dask'
|
|
5294
|
+
|
|
4949
5295
|
- module-name: 'tzdata'
|
|
4950
5296
|
data-files:
|
|
4951
5297
|
dirs:
|