Skip to content

replace atomicwrites with os.replace - #10115

Merged
asottile merged 1 commit into
mainfrom
atomicwrites-windows
Jul 9, 2022
Merged

asottile merged 1 commit into
mainfrom
atomicwrites-windows

Conversation

@asottile

@asottile asottile commented Jul 8, 2022 •

Copy link
Copy Markdown
Member

resolves #10114

diff is best viewed with ?w=1

@asottile
asottile force-pushed the atomicwrites-windows branch from e3a0670 to 842e2dd Compare July 8, 2022 20:17
@asottile
asottile marked this pull request as ready for review July 8, 2022 20:19

@nicoddemus nicoddemus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread changelog/10114.improvement.rst Outdated
@@ -0,0 +1 @@
Replace `atomicwrites` dependency on windows with `os.replace`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Replace `atomicwrites` dependency on windows with `os.replace`.
Replace `atomicwrites <https://github.com/untitaker/python-atomicwrites>`__ dependency on windows with `os.replace`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also perhaps we can consider this trivial and backport it to 7.1.x?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep will rename the file and amend when I'm at a computer

@asottile
asottile force-pushed the atomicwrites-windows branch from 842e2dd to 4cd0322 Compare July 9, 2022 01:36
@asottile asottile added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Jul 9, 2022
@asottile
asottile merged commit 7dc540f into main Jul 9, 2022
@asottile
asottile deleted the atomicwrites-windows branch July 9, 2022 02:06
@asottile asottile added backport 7.1.x and removed needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch backport 7.1.x labels Jul 9, 2022
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.

Get rid of atomicwrites (unmaintained)

2 participants