android-app
android-app copied to clipboard
Bump org.jetbrains.kotlin.plugin.serialization from 1.9.24 to 2.0.0
Bumps org.jetbrains.kotlin.plugin.serialization from 1.9.24 to 2.0.0.
Release notes
Sourced from org.jetbrains.kotlin.plugin.serialization's releases.
Kotlin 2.0.0
Changelog
Analysis. API
New Features
KT-65327Support reading klib contents in Analysis APIPerformance Improvements
KT-65560K2: Anaysis API: ContextCollector triggers redundant resolution in the case of file elementsKT-64987Analysis API: 50GB memory allocation on creating empty kotlinx.collections.immutable.persistentMapOfKT-61789K2: optimize getFirForNonKtFileElement for references inside super type referenceKT-59498K2: getOnAirGetTowerContextProvider took too much time due to on air resolveKT-61728Analysis API: optimize AllCandidatesResolver.getAllCandidatesFixes
KT-65561Analysis API: dummy.kt is not a physical fileKT-65616K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUSKT-65600Analysis Api: FirFile for KtCodeFragments are created and not updated on changesKT-64919K2 IDE: Implement KMP support for sealed class inheritorsKT-64241K2: Unresolved calls to functions in scripts depending on included projectsKT-65813Analysis API Standalone:FirDeclarationForCompiledElementSearcherdoes not find compiled elementsKT-66052AA: render expect/actual modifierKT-66795KtCodeFragment.clone() is brokenKT-66532K2 CodeGen AA: missing annotation setup for function in source module but not in a compile target fileKT-64833Analysis API: Members implemented by delegation have no overridden symbolsKT-62405Analysis API: SymbolsSUBSTITUTION_OVERRIDEhave no overridden symbolsKT-66749K2: "Collection contains no element matching the predicate" on an unresolved callKT-62832K2: ClassCastException: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatusKT-66719AbstractGetKlibSourceFileNameTest: The dependency to ":native:analysis-api-klib-reader" breaks JPS compilationKT-66603Analysis API: support type annotations in KtPsiTypeProviderMixIn#asPsiTypeKT-64505Analysis API Standalone: Remove test-specific calculation of sealed class inheritorsKT-66013Analysis API Standalone: Sealed inheritors aren't correctly calculated for source classesKT-62880K2 IDE: Unresolved java annotation methods in KDocKT-66530K2: Analysis API: KtPsiTypeProvider#asKtType crashes on PsiClassType for Java type parameter with wrong use siteKT-65571Support VirtualFile inputs to Analysis API modulesKT-66485Substituted types are not provided for callable referencesKT-66498Analysis API: 'KtFe10SymbolDeclarationOverridesProvider' considers a class to be a subclass of itselfKT-64579K2 IDE: "Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(Source) but FirArgumentListImpl found"KT-65978Analysis API: Use soft references inFileStructureCacheKT-64051K2 IDE: Analysis API: Unresolved links to typealias in KDocKT-66189K2 / IDE: KtFirExpressionTypeProvider bugsKT-61422K2 IDE: "No array element type for vararg value parameter: org.jetbrains.kotlin.fir.declarations.impl.FirValueParameterImpl"KT-66276K2: Analysis API:TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEMfalse positive for script parameterKT-66232K2: Analysis API: cover ScriptWithCustomDefDiagnosticsTestBaseGenerated by LL FIR testsKT-60996K2: Stub Based Deserializer: Set versionRequirements to enable VERSION_REQUIREMENT_DEPRECATION diagnosticsKT-66306K2: Analysis API: drop ability to enable global phase resolve lockKT-55750LL FIR: Implement multi-threaded resolve
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.plugin.serialization's changelog.
2.0.0
Analysis. API
New Features
KT-65327Support reading klib contents in Analysis APIPerformance Improvements
KT-65560K2: Anaysis API: ContextCollector triggers redundant resolution in the case of file elementsKT-64987Analysis API: 50GB memory allocation on creating empty kotlinx.collections.immutable.persistentMapOfKT-61789K2: optimize getFirForNonKtFileElement for references inside super type referenceKT-59498K2: getOnAirGetTowerContextProvider took too much time due to on air resolveKT-61728Analysis API: optimize AllCandidatesResolver.getAllCandidatesFixes
KT-65561Analysis API: dummy.kt is not a physical fileKT-65616K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUSKT-65600Analysis Api: FirFile for KtCodeFragments are created and not updated on changesKT-64919K2 IDE: Implement KMP support for sealed class inheritorsKT-64241K2: Unresolved calls to functions in scripts depending on included projectsKT-65813Analysis API Standalone:FirDeclarationForCompiledElementSearcherdoes not find compiled elementsKT-66052AA: render expect/actual modifierKT-66795KtCodeFragment.clone() is brokenKT-66532K2 CodeGen AA: missing annotation setup for function in source module but not in a compile target fileKT-64833Analysis API: Members implemented by delegation have no overridden symbolsKT-62405Analysis API: SymbolsSUBSTITUTION_OVERRIDEhave no overridden symbolsKT-66749K2: "Collection contains no element matching the predicate" on an unresolved callKT-62832K2: ClassCastException: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatusKT-66719AbstractGetKlibSourceFileNameTest: The dependency to ":native:analysis-api-klib-reader" breaks JPS compilationKT-66603Analysis API: support type annotations in KtPsiTypeProviderMixIn#asPsiTypeKT-64505Analysis API Standalone: Remove test-specific calculation of sealed class inheritorsKT-66013Analysis API Standalone: Sealed inheritors aren't correctly calculated for source classesKT-62880K2 IDE: Unresolved java annotation methods in KDocKT-66530K2: Analysis API: KtPsiTypeProvider#asKtType crashes on PsiClassType for Java type parameter with wrong use siteKT-65571Support VirtualFile inputs to Analysis API modulesKT-66485Substituted types are not provided for callable referencesKT-66498Analysis API: 'KtFe10SymbolDeclarationOverridesProvider' considers a class to be a subclass of itselfKT-64579K2 IDE: "Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(Source) but FirArgumentListImpl found"KT-65978Analysis API: Use soft references inFileStructureCacheKT-64051K2 IDE: Analysis API: Unresolved links to typealias in KDocKT-66189K2 / IDE: KtFirExpressionTypeProvider bugsKT-61422K2 IDE: "No array element type for vararg value parameter: org.jetbrains.kotlin.fir.declarations.impl.FirValueParameterImpl"KT-66276K2: Analysis API:TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEMfalse positive for script parameterKT-66232K2: Analysis API: cover ScriptWithCustomDefDiagnosticsTestBaseGenerated by LL FIR testsKT-60996K2: Stub Based Deserializer: Set versionRequirements to enable VERSION_REQUIREMENT_DEPRECATION diagnosticsKT-66306K2: Analysis API: drop ability to enable global phase resolve lockKT-55750LL FIR: Implement multi-threaded resolve
... (truncated)
Commits
e84e835Add changelog for 2.0.0975dea2Add changelog for 2.0.0-RC3b618ee4[FIR] Prohibit referencing java field in case of conflict with property..b239239K2: build outer classes sequence in FirImplicitBodyResolve properlyafc5b49[IR] Assume IrFile has at least one offset entrybe1804c[K/N][tests] Don't attempt to download simulator after first failureb666160K2: fix captureFromExpressionInternal for nullable intersection typesf04f051K2: fix withNullability() for ConeIntersectionTypecda1ad4K2: reproduce KT-679128e0919e[K2/JS] Use declaration session for looking up containing declaration- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Python = 3.9.16 Mayavi = 4.8.1 VTK = 9.1.0
@wmvanvliet btw what torch version did u used?
File "<string>", line 1, in <module>
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 125, in _main
prepare(preparation_data)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 289, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "P:\python\visualizations\scns\visualizations\multilayer_perceptron\mnist.py", line 97, in <module>
train(args, model, device, train_loader, optimizer, epoch)
File "P:\python\visualizations\scns\visualizations\multilayer_perceptron\mnist.py", line 13, in train
for batch_idx, (data, target) in enumerate(train_loader):
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 439, in __iter__
return self._get_iterator()
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 387, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 1040, in __init__
w.start()
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 121, in start
self._popen = self._Popen(self)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\context.py", line 336, in _Popen
return Popen(process_obj)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\popen_spawn_win32.py", line 45, in __init__
prep_data = spawn.get_preparation_data(process_obj._name)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
Traceback (most recent call last):
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 1133, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File "C:\Users\Daniel\AppData\Local\Programs\Python\Python310\lib\queue.py", line 179, in get
raise Empty
_queue.Empty
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "P:\python\visualizations\scns\visualizations\multilayer_perceptron\mnist.py", line 97, in <module>
train(args, model, device, train_loader, optimizer, epoch)
File "P:\python\visualizations\scns\visualizations\multilayer_perceptron\mnist.py", line 13, in train
for batch_idx, (data, target) in enumerate(train_loader):
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 631, in __next__
data = self._next_data()
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 1329, in _next_data
idx, data = self._get_data()
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 1285, in _get_data
success, data = self._try_get_data()
File "P:\python\visualizations\scns\venvv\lib\site-packages\torch\utils\data\dataloader.py", line 1146, in _try_get_data
raise RuntimeError(f'DataLoader worker (pid(s) {pids_str}) exited unexpectedly') from e
RuntimeError: DataLoader worker (pid(s) 26080) exited unexpectedly
that error looks like a problem with your pytorch installation. Do other datasets load properly? Try setting the number of workers to 0 to disable parallel processing and perhaps that sidesteps the problem you are having.