Skip to content

Update the directories required for cache so it works on windows#125

Merged
marboledacci merged 7 commits intomasterfrom
fix/issue-123
Nov 26, 2024
Merged

Update the directories required for cache so it works on windows#125
marboledacci merged 7 commits intomasterfrom
fix/issue-123

Conversation

@marboledacci
Copy link
Copy Markdown
Contributor

Resolve #123
The current directory to save the python-cache and lockfile file is /tmp. This causes problems on windows as the directory doesn't exist. I'm updating this to use a relative path instead so windows can find the files.

@marboledacci marboledacci requested a review from a team as a code owner November 25, 2024 18:18
@orb-publisher
Copy link
Copy Markdown

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/python?version=dev:37acc908a946682a41d2bc4d7fddf44f0b1578ae

@orb-publisher
Copy link
Copy Markdown

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/python?version=dev:1fe33c82c29b16e9f116a1ff0f4567781a65bfa8

@orb-publisher
Copy link
Copy Markdown

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/python?version=dev:7df75697afe13ef32db56e0d204ccfeeacf7b808

@marboledacci marboledacci merged commit bda4695 into master Nov 26, 2024
@marboledacci marboledacci deleted the fix/issue-123 branch November 26, 2024 13:31
@orb-publisher
Copy link
Copy Markdown

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/python?version=dev:bda4695471d263c10dcf1a73eddf190b4d082bac

1 similar comment
@orb-publisher
Copy link
Copy Markdown

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/python?version=dev:bda4695471d263c10dcf1a73eddf190b4d082bac

@orb-publisher
Copy link
Copy Markdown

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/python?version=3.0.0

@pcorpet
Copy link
Copy Markdown

pcorpet commented Mar 11, 2025

Thanks for your contribution. Unfortunately adding the folder relatively makes them part of the app path which taints the current git repo. In my config I have now untracked files:

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        .cci_pycache/
        .temp-python-version

Do you think it would be possible to parametrize the temp folder so that it's possible to choose where it's stored?

@marboledacci
Copy link
Copy Markdown
Contributor Author

@pcorpet that should be possible, please create an issue so I can keep a better track of it.

@pcorpet
Copy link
Copy Markdown

pcorpet commented Mar 12, 2025

@pcorpet that should be possible, please create an issue so I can keep a better track of it.

Done in #127, thanks

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.

install-packages caching fails on Windows

4 participants