Skip to content

onerror now producing warnings in Python 3.12 latest alpha #526

Closed
@henryiii

Description

@henryiii

Using onerror is producing warnings in the latest Python 3.12 alpha.

I believe it's used here:

rmtree(self.bdist_dir, onerror=remove_readonly)

And deprecated here: python/cpython#102829 & changelog: https://docs.python.org/zh-cn/3.12/whatsnew/3.12.html - to be removed in 3.14.

(It's breaking my tests where I have warnings as errors on)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions