Skip to content

Comments

General maintenance, multiprocessing improvements, bug fixes in tests, move to tqdm#688

Open
IainHammond wants to merge 35 commits intovortex-exoplanet:masterfrom
IainHammond:master
Open

General maintenance, multiprocessing improvements, bug fixes in tests, move to tqdm#688
IainHammond wants to merge 35 commits intovortex-exoplanet:masterfrom
IainHammond:master

Conversation

@IainHammond
Copy link
Contributor

@IainHammond IainHammond commented Feb 10, 2026

A few changes and improvements for this one:

  • support for python 3.14
  • fixed the object tests, yay!
  • move to fork for all instances of multiprocessing, and avoid "forcing" changes to the processing start method or the package crashing/becoming stuck when launching with forkserver or spawn
  • using multiprocessing.get_context() instead of multiprocessing.set_start_method() as it can be unsafe to set or change the start method multiple times, which can occur if several VIP functions are called
  • fix for a critical ValueError: setting an array element with a sequence being raised in the firstguess function due to changes in newer NumPy versions
  • switch to tqdm as default backend for progress bars since pyrind is slower and not maintained anymore
  • fixed a logic mistake in cube_inject_fakedisk where the frame was convolved and then turned into an ADI cube, instead of the other way around (slower, but correct)
  • removed some global parameters in an attempt to support the spawn multiprocessing start method in the future
  • dropped python 3.10 since it's near end of support (or reached it?) and NumPy doesn't support it anymore
  • some typo fixes as always

For the future:

  • VIP would benefit from supporting forkserver and spawn multiprocessing methods since fork is deprecated and spawn is needed for Windows
  • adding a polar transform option, perhaps to var
  • adding a MJD to date and date to MJD convertor

@IainHammond IainHammond changed the title General maintence, multiprocessing improvements, bug fixes in tests, move to tqdm General maintenance, multiprocessing improvements, bug fixes in tests, move to tqdm Feb 10, 2026
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.

1 participant