← All tasks
pythonpypa/setuptools #4461Not a task: already works

[FR] Update platformdirs to 4.2.2

envgap__pypa__setuptools-4461

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
ffdf0bd160ebf6acc1a0790ec1cb72d7da8968c4
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

pypa/setuptools #4461 · read the original issue
### What's the problem this feature will solve?



Current version of setuptools requires ctypes to run on windows.



### Describe the solution you'd like



The hard dependency of ctypes came from platformdirs.

Since platformdirs released a new version including the required change, upgrading platformdirs to 4.2.2 will fix the issue.



### Alternative Solutions



_No response_



### Additional context



Hi, I am a developer of RustPython, which does not support ctypes yet. This fix will allow RustPython to access most of packages packaged with setuptools on PyPI.



### Code of Conduct



- [X] I agree to follow the PSF Code of Conduct
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]