Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Python Dependencies #34

Merged
merged 34 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
56661bb
move `deps.ts` into `deps/index.ts`
threeal Jan 28, 2023
aeb7720
put `deps.pipInstall()` function into an independent file
threeal Jan 28, 2023
dbd421f
pip skip install if package is already exist
threeal Jan 28, 2023
704711f
make command execution of `isPackageExist` silent
threeal Jan 28, 2023
3fdfcda
add function to get package list
threeal Jan 29, 2023
9024724
add execute functions inside `exec` file
threeal Jan 29, 2023
ef44847
add function to diff pip package versions
threeal Jan 29, 2023
9dd683d
Merge remote-tracking branch 'origin/main' into cache-pip
threeal Jan 29, 2023
f1a789c
fix package list splitting on Windows
threeal Jan 29, 2023
56e509a
audit naming inside `deps/pip.ts`
threeal Jan 29, 2023
f089c71
add a function to show info of a pip package
threeal Jan 29, 2023
37268a1
replace `showPackageInfo` one by one with `listPackageInfos`
threeal Jan 29, 2023
5c93d9d
replace `pip3` with `python3 -m pip`
threeal Jan 29, 2023
55db76c
add a function to cache a pip package
threeal Jan 29, 2023
95e9f58
add a function to get site packages path
threeal Jan 29, 2023
7b4880d
cache `getSitePackage` function
threeal Jan 29, 2023
69f33b8
add a function to restore package cache
threeal Jan 29, 2023
8572324
add a function to generate cache key from a pip package
threeal Jan 29, 2023
4fc2b6c
pip use the same site packages and install as a user
threeal Jan 29, 2023
f4c257d
Use the same cache paths and key for restoring and saving pip packages
threeal Jan 29, 2023
d6e274f
run gcovr using python3
threeal Jan 29, 2023
fb4bb33
remove function that list installed pip packages
threeal Jan 30, 2023
72769e9
move `deps/pip.ts` into `deps/pip/index.ts`
threeal Jan 30, 2023
5d89b50
move `getUserSitePackage` function into an independent `context` file
threeal Jan 30, 2023
df7060e
readd function to show pip package info in `deps/pip/info.ts`
threeal Jan 30, 2023
bc2f1b8
separate pip package cache function into an independent `deps/pip/cac…
threeal Jan 30, 2023
96e5071
move `pip.installPackage` function into `deps/pip/install.ts`
threeal Jan 30, 2023
0a06aa7
ignore all dot prefixed path except Git
threeal Jan 30, 2023
90346c5
recursively install pip package dependencies
threeal Jan 30, 2023
4604f42
modify pip install package flow
threeal Jan 30, 2023
b5acc8b
modify pip install package log grouping
threeal Jan 30, 2023
7a0d0aa
perform pip install package if cache restore is failed
threeal Jan 30, 2023
2069630
add function to validate wrong pip package naming
threeal Jan 30, 2023
42e0de1
remove log for checking if pip package is installed
threeal Jan 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.*
!.git*

node_modules
lib

Expand Down
Loading