Skip to content

Use local pypi mirror for self-hosted runners #758

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

Closed
wants to merge 1 commit into from

Conversation

asmorkalov
Copy link
Collaborator

No description provided.

@fengyuentau
Copy link
Member

Are these packages built in docker containers? If no, directly setting mirror for pip per host OS can be much easier.

@asenyaev
Copy link
Contributor

@fengyuentau they build inside a docker container. Moreover, Linux ARM64 build runs a container using submodule commands what is inconvenient.

One more thing, if you set a configuration for PyPi on your host (macOS for example), we need to configure pypi.org for release stage anyway. But it can prevent any issues with Python packages in other pipelines/jobs/steps.

@fengyuentau
Copy link
Member

@asenyaev Thank you for the clarification.

Do we have networking issues uploading built packages for release onto pypi.org as well? I did not consider this. The mirror solution is proposed to solve any downloading issues.

@asenyaev
Copy link
Contributor

@fengyuentau No, there is GitHub hosted runner for the release stage. Yeah, in this case it’s better to define default PyPi url globally on OpenCV CN runners.

@asmorkalov
Copy link
Collaborator Author

Replaced by #759

@asmorkalov asmorkalov closed this Dec 13, 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.

3 participants