Closed spike77453 closed 8 months ago
This sets the minimum required platformdirs version to 3.2.0 since ensure_exists does not exists before 3.2.0: https://github.com/platformdirs/platformdirs/commit/fd0172a3a375c53737cade44cb6155ac8f243344
3.2.0
ensure_exists
ensure_exists is used in the following places:
This prevents TypeError: user_cache_path() got an unexpected keyword argument 'ensure_exists' when running inventree_part_import in environments with older versions of platformdirs installed.
TypeError: user_cache_path() got an unexpected keyword argument 'ensure_exists'
Great, thanks for the fix!
This sets the minimum required platformdirs version to
3.2.0
sinceensure_exists
does not exists before3.2.0
: https://github.com/platformdirs/platformdirs/commit/fd0172a3a375c53737cade44cb6155ac8f243344ensure_exists
is used in the following places:This prevents
TypeError: user_cache_path() got an unexpected keyword argument 'ensure_exists'
when running inventree_part_import in environments with older versions of platformdirs installed.