Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

upload to scipy-wheels-nightly #13

Closed
keewis opened this issue Jul 24, 2020 · 14 comments
Closed

upload to scipy-wheels-nightly #13

keewis opened this issue Jul 24, 2020 · 14 comments

Comments

@keewis
Copy link

keewis commented Jul 24, 2020

Continuing from pydata/xarray#4256.

Here's an example for uploading to https://pypi.anaconda.org/scipy-wheels-nightly/: https://github.com/MacPython/pandas-wheels/blob/master/azure/posix.yml and to get a token:

I believe that @ogrisel can add you to the organization on anaconda.org so that you can create a key to upload to packages.

cc @tacaswell, @TomAugspurger, @ogrisel

@keewis
Copy link
Author

keewis commented Aug 7, 2020

gentle ping, @tacaswell?

@QuLogic
Copy link
Contributor

QuLogic commented Aug 8, 2020

We're waiting for a reply from @ogrisel.

@keewis
Copy link
Author

keewis commented Aug 19, 2020

If I read the mailing list correctly, it seems @mattip might also be able to help you with that

@mattip
Copy link

mattip commented Aug 19, 2020

I wonder if we should move to organization-wide secrets so any repo in this org could upload. I don't see the "settings" option on the organization, so someone who is an admin would have to do it. @matthew-brett thoughts?

@matthew-brett
Copy link
Contributor

@mattip - I've made you an owner of the MacPython organization - can you see the settings now?

@mattip
Copy link

mattip commented Aug 19, 2020

I added two organization wide secrets, in the mean time I enabled them only for this repo. So once you figure out how to use them, any other repo here can copy your code and request that an admin enble them.

key for url intention
MULTIBUILD_WHEELS_STAGING_ACCESS https://anaconda.org/multibuild-wheels-staging staging wheels before deployment
SCIPY_WHEELS_NIGHTLY_ACCESS https://anaconda.org/scipy-wheels-nightly/ weekly dev packages for testing by the wider community

@keewis
Copy link
Author

keewis commented Sep 6, 2020

gentle ping, @QuLogic, @tacaswell. Any updates on this?

@mattip
Copy link

mattip commented Oct 20, 2020

The organization-wide tokens will only work on github actions. The workflow here is based on travis-ci, so tokens will have to be added via https://travis-ci.org/github/MacPython/matplotlib-wheels -> More Options -> Settings (available to admins). Once the tokens are added, the yaml should look something like the code from scipy

@janaknat
Copy link
Contributor

janaknat commented Nov 5, 2020

@tacaswell @mattip I've got a PR to change the upload process at #14

@QuLogic
Copy link
Contributor

QuLogic commented Nov 11, 2020

So do we need to get the tokens from someone first?

@mattip
Copy link

mattip commented Nov 11, 2020

I can add a repo admin to the owner group at ananconda to create the tokens. I think the active admin here is @tacaswell, so either they need to tell me their user name on anaconda.org or they need to make someone else an admin here and that person needs to tell me their user name on anaconda.org. Also: you might want to consider moving off travis.

@janaknat
Copy link
Contributor

@mattip If the concern with Travis is due to the change in the pricing model I can provide some additional info. Travis infrastructure was being abused by free accounts setting up projects that involve cryptocurrency mining and TOR nodes. To counter this there was a change in the way things are done. Open source projects can contact travis and get extra credits towards their usage. Please contact support@travis-ci.com with your name and account URL (such as travis-ci.com/github/[your account name])

@mattip
Copy link

mattip commented Nov 11, 2020

@janaknat thanks for the info. The onus of needing to ask for credits whenever they run out, together with needing to give travis-ci.com access read/write access to all my private and public repos just to log on, is too much for me. Unfortunately I can't entirely disengage from travis since so far they are the only ones to provide powerPC and s390x builders, but once that is solved I think I will prefer other CI services.

@tacaswell
Copy link
Contributor

Please move this discussion to matplotlib/matplotlib#9994

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants