Skip to content

Update Python/Node versions on CI and in docs #1118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 20, 2025

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented Mar 19, 2025

References

Bumps Python and Node.js versions to non-EOL

Copy link

Binder 👈 Launch a binder notebook on branch krassowski/jupyterlab-lsp/update-ci

@krassowski
Copy link
Member Author

It looks like setup-miniconda is failing badly on macos:

  *** First throw call stack:
  (
  	0   CoreFoundation                      0x00000001977ba2cc __exceptionPreprocess + 176
  	1   libobjc.A.dylib                     0x000000019729e158 objc_exception_throw + 60
  	2   CoreFoundation                      0x000000019786c568 -[NSObject(NSObject) __retain_OA] + 0
  	3   CoreFoundation                      0x0000000197723f1c ___forwarding___ + 1580
  	4   CoreFoundation                      0x0000000197723830 _CF_forwarding_prep_0 + 96
  	5   Foundation                          0x0000000198824b34 -[NSProcessInfo arguments] + 188
  	6   CoreFoundation                      0x0000000197835fcc __getDefaultArguments_block_invoke + 96
  	7   libdispatch.dylib                   0x00000001974b53e8 _dispatch_client_callout + 20
  	8   libdispatch.dylib                   0x00000001974b6c68 _dispatch_once_callout + 32
  	9   CoreFoundation                      0x0000000197835968 _addBackstopValuesForIdentifierAndSource + 652
  	10  CoreFoundation                      0x00000001976ef3ec __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
  	11  CoreFoundation                      0x0000000197835604 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
  	12  CoreFoundation                      0x00000001976f5774 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
  	13  CoreFoundation                      0x0000000197874970 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
  	14  CoreFoundation                      0x00000001978745e0 -[_CFXPreferences withSearchLists:] + 84
  	15  CoreFoundation                      0x00000001976f0cc4 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
  	16  CoreFoundation                      0x00000001978747c4 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 440
  	17  CoreFoundation                      0x00000001976f05e8 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
  	18  CoreFoundation                      0x00000001976f0510 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
  	19  SystemConfiguration                 0x00000001984a3818 SCDynamicStoreCopyProxiesWithOptions + 180
  	20  libcurl.4.8.0.dylib                 0x0000000101c51968 Curl_macos_init + 16
  	21  libcurl.4.8.0.dylib                 0x0000000101c2df1c curl_global_init + 232
  	22  libmamba.2.0.0.dylib                0x000000010194de70 _GLOBAL__sub_I_singletons.cpp + 24
  	23  dyld                                0x00000001972f6608 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
  	24  dyld                                0x0000000197334b38 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.202 + 172
  	25  dyld                                0x0000000197328400 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
  	26  dyld                                0x00000001972d72fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
  	27  dyld                                0x0000000197327394 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
  	28  dyld                                0x0000000197329c6c _ZNK5dyld39MachOFile32forEachInitializerPointerSectionER11DiagnosticsU13block_pointerFvjjRbE + 160
  	29  dyld                                0x000000019733482c _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 432
  	30  dyld                                0x00000001972f253c _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12Run
  *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x600000624580'
  *** First throw call stack:
  (
  	0   CoreFoundation                      0x00000001977ba2cc __exceptionPreprocess + 176
  	1   libobjc.A.dylib                     0x000000019729e158 objc_exception_throw + 60
  	2   CoreFoundation                      0x000000019786c568 -[NSObject(NSObject) __retain_OA] + 0
  	3   CoreFoundation                      0x0000000197723f1c ___forwarding___ + 1580
  	4   CoreFoundation                      0x0000000197723830 _CF_forwarding_prep_0 + 96
  	5   Foundation                          0x0000000198824b34 -[NSProcessInfo arguments] + 188
  	6   CoreFoundation                      0x0000000197835fcc __getDefaultArguments_block_invoke + 96
  	7   libdispatch.dylib                   0x00000001974b53e8 _dispatch_client_callout + 20
  	8   libdispatch.dylib                   0x00000001974b6c68 _dispatch_once_callout + 32
  	9   CoreFoundation                      0x0000000197835968 _addBackstopValuesForIdentifierAndSource + 652
  	10  CoreFoundation                      0x00000001976ef3ec __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
  	11  CoreFoundation                      0x0000000197835604 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
  	12  CoreFoundation                      0x00000001976f5774 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
  	13  CoreFoundation                      0x0000000197874970 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
  	14  CoreFoundation                      0x00000001978745e0 -[_CFXPreferences withSearchLists:] + 84
  	15  CoreFoundation                      0x00000001976f0cc4 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
  	16  CoreFoundation                      0x00000001978747c4 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 440
  	17  CoreFoundation                      0x00000001976f05e8 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
  	18  CoreFoundation                      0x00000001976f0510 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
  	19  SystemConfiguration                 0x00000001984a3818 SCDynamicStoreCopyProxiesWithOptions + 180
  	20  libcurl.4.8.0.dylib                 0x0000000101c51968 Curl_macos_init + 16
  	21  libcurl.4.8.0.dylib                 0x0000000101c2df1c curl_global_init + 232
  	22  libmamba.2.0.0.dylib                0x000000010194de70 _GLOBAL__sub_I_singletons.cpp + 24
  	23  dyld                                0x00000001972f6608 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
  	24  dyld                                0x0000000197334b38 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.202 + 172
  	25  dyld                                0x0000000197328400 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
  	26  dyld                                0x00000001972d72fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
  	27  dyld                                0x0000000197327394 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
  	28  dyld                                0x0000000197329c6c _ZNK5dyld39MachOFile32forEachInitializerPointerSectionER11DiagnosticsU13block_pointerFvjjRbE + 160
  	29  dyld                                0x000000019733482c _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 432
  	30  dyld                                0x00000001972f253c _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 564
  	31  dyld                                0x00000001972f8bc0 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
  	32  dyld                                0x00000001972f2984 _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
  	33  dyld                                0x00000001972f2928 _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 128
  	34  dyld                                0x00000001972f6698 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 116
  	35  dyld                                0x00000001972f2b78 _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 420
  	36  dyld                                0x0000000197315e3c _ZN5dyld44APIs25runAllInitializersForMainEv + 464
  	37  dyld                                0x00000001972dc010 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3156
  	38  dyld                                0x00000001972daef4 start + 1868
  )
  libc++abi: terminating due to uncaught exception of type NSException

r: '>=4'
lab: '>=4.1.0,<5'
- python: '3.11'
# Node 18 end-of-life: 2025-04-30
nodejs: '>=18,<19.0.0.a0'
# Node 16 end-of-life: 2026-04-30
Copy link
Collaborator

@bollwyvl bollwyvl Mar 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

20?

@bollwyvl
Copy link
Collaborator

Welp, I see more stuff running. 🎉 But maybe it's time to consider pixi to manage things more intentionally: should handle most of the matrix stuff more cleanly, and with a hot cache is screaming fast in CI. I'll take a look.

@krassowski
Copy link
Member Author

Sure, pixi makes sense. I will merge this one to save you a rebase.

@krassowski krassowski merged commit 4628ce6 into jupyter-lsp:main Mar 20, 2025
8 of 16 checks passed
@krassowski krassowski deleted the update-ci branch March 20, 2025 14:13
@bollwyvl
Copy link
Collaborator

Working CI is working CI!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants