Skip to content

Conversation

@uilianries
Copy link
Member

@uilianries uilianries commented Mar 17, 2020

Hi!

When removing read-only files (os.unlink) on Windows, the current behavior is raise an exception. To fix this situation, we need to add write permission to that file.

Related issue: conan-io/conan#6676

We should release a new tag after this PR, and of course, release it on pypi.org (automatic operation related to current version).

Also, Conan will require a new patch version, because we are using a specific version for patch-ng there: https://github.com/conan-io/conan/blob/1.23.0/conans/requirements.txt#L6

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Copy link

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

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

I haven't tested it using Windows (it was the original issue), but if the triagge-man says it works, go ahead!

@czoido
Copy link

czoido commented Mar 18, 2020

Yes, I tested it under Windows overriding the patch-ng version in Conan with 1.17.3 and the example script from the issue works fine.

@uilianries
Copy link
Member Author

Indeed is terrible testing it, you need to install, change Conan's requirements and run Conan.

@uilianries uilianries merged commit 007bdea into master Mar 18, 2020
@uilianries uilianries deleted the hotfix/windows-backup-remove branch March 18, 2020 12:46
@jgsogo jgsogo added this to the 1.17.4 milestone Mar 18, 2020
@uilianries uilianries mentioned this pull request Mar 18, 2020
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.

4 participants