Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Jul 7, 2022

It may revert updated Python related MSYS2 packages such as
python-numpy. This caches built wheels instead.

@github-actions
Copy link

github-actions bot commented Jul 7, 2022

@github-actions
Copy link

github-actions bot commented Jul 7, 2022

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou kou force-pushed the ci-mingw-numpy branch 3 times, most recently from d4eb251 to 79eef0f Compare July 7, 2022 10:50
@kou kou changed the title ARROW-16995: [CI][C++][MinGW] Add NumPy version to cache key ARROW-16995: [CI][C++][MinGW] Don't cache site-packages Jul 7, 2022
It may revert updated Python related MSYS2 packages such as
python-numpy. This caches built wheels instead.
@kou kou force-pushed the ci-mingw-numpy branch from 79eef0f to f033dec Compare July 7, 2022 13:01
@pitrou
Copy link
Member

pitrou commented Jul 7, 2022

Can you try a new build or push to check the caching?

@kou
Copy link
Member Author

kou commented Jul 8, 2022

Yes. Cache was used:

The 1st run:

https://github.com/apache/arrow/runs/7241017434?check_suite_focus=true#step:11:43

Collecting grpcio==1.44.0
  Downloading grpcio-1.44.0.tar.gz (21.4 MB)
     --------------------------------------- 21.4/21.4 MB 38.6 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting six>=1.5.2
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: grpcio
  Building wheel for grpcio (setup.py): started
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): finished with status 'done'
  Created wheel for grpcio: filename=grpcio-1.44.0-cp310-cp310-mingw_x86_64.whl size=3921749 sha256=4e689647783a4263c4af55086b3500cfdfa2aff61dfbfb295c762ae674b6cf9a
  Stored in directory: c:/users/runneradmin/appdata/local/pip/cache/wheels/6f/76/51/2519414b3cffb473348cfd3a238b0387aa2ccfd065bb1bdf8e
Successfully built grpcio
Installing collected packages: six, grpcio
Successfully installed grpcio-1.44.0 six-1.16.0

The 2nd run:

https://github.com/apache/arrow/runs/7242729464?check_suite_focus=true#step:11:43

Collecting grpcio==1.44.0
  Using cached grpcio-1.44.0-cp310-cp310-mingw_x86_64.whl
 Collecting six>=1.5.2
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, grpcio
Successfully installed grpcio-1.44.0 six-1.16.0

@kou
Copy link
Member Author

kou commented Jul 8, 2022

+1

@kou kou merged commit 922f58f into apache:master Jul 8, 2022
@kou kou deleted the ci-mingw-numpy branch July 8, 2022 00:25
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.

2 participants