rhythmic-morning-87313
02/19/2023, 4:38 AMtypes-six
whenever switching branches or in CI like GitHub Actions? This seems to be resolved if I run the same operation twice, but becoming annoying as CI also suffers from the same issue. (I'm using Pants 2.16.0dev5) Maybe some pex
issue?happy-kitchen-89482
02/20/2023, 3:13 AMhappy-kitchen-89482
02/20/2023, 3:13 AMhappy-kitchen-89482
02/20/2023, 3:13 AMhappy-kitchen-89482
02/20/2023, 3:13 AMrhythmic-morning-87313
02/20/2023, 3:47 AM./pants check ::
rhythmic-morning-87313
02/20/2023, 3:48 AMrhythmic-morning-87313
02/20/2023, 3:49 AMrhythmic-morning-87313
02/20/2023, 3:49 AMrhythmic-morning-87313
02/20/2023, 3:49 AMtypes-six
rhythmic-morning-87313
02/20/2023, 3:50 AMextra_requirements
of pants.toml
(https://github.com/lablup/backend.ai/blob/main/pants.toml#L113) ?rhythmic-morning-87313
02/20/2023, 7:28 AM./pants check --changed-since=main
via the git pre-push hook) twice makes it disappearing...rhythmic-morning-87313
02/22/2023, 10:09 AMhappy-kitchen-89482
02/22/2023, 1:58 PMrhythmic-morning-87313
02/22/2023, 2:07 PMbitter-ability-32190
02/22/2023, 5:35 PMbitter-ability-32190
02/22/2023, 5:35 PMdev6
?rhythmic-morning-87313
02/23/2023, 12:49 AMrhythmic-morning-87313
02/23/2023, 1:09 AMrhythmic-morning-87313
02/23/2023, 1:24 AMrhythmic-morning-87313
02/23/2023, 1:26 AMbitter-ability-32190
02/23/2023, 1:33 AMrhythmic-morning-87313
02/24/2023, 3:27 PMextra_type_stubs
and extra_type_stubs_lockfile
...strong-answer-14518
02/28/2023, 9:24 AMextra_type_stubs
in the pants.toml
did the trick, and it’s worth pinning the versions of you extra_types_stubs in the config.
I’m surprised though, as it looks like the stubs specified in the different dependencies universes would never be used by mypy
: how to specify different stubs version for different package versions? For example yesterday, a new version of the pandas-stubs has been released and caused errors to appear (most likely because of the pre-release of pandas==2.0.0rc0
). Let’s image I want to have 2 resolves with different pandas versions for which the stubs are not compatible, how shall I proceed?