Comments (9)
Awesome! I don't have the privileges to make releases on GitHub, but if that's extended to me, I can take over.
If we want, I could even adapt a workflow from another project to make semi-automatic deployments to PyPI/TestPyPI. I'll open a PR for that!
from climpred.
Maintainer rights given
from climpred.
There is even a GHA workflow for this but I doubt it actually works
I see it. Yeah, I've recently been adopting Trusted Publishing so that we don't need to supply usernames and passwords. Much better for collaborative projects.
from climpred.
All ready from my point of view
from climpred.
There is even a GHA workflow for this but I doubt it actually works
from climpred.
@aaronspring I'm nearly done my update. It's just missing one final step:
Would you be able to add the following configurations to the repo?
- Settings → Environments → "New environment" → "staging"
- Settings → Environments → "New environment" → "production"
For both:
- Enable "Required reviewers" and add everyone who is allowed to make releases
- Enable "Prevent self-review"
- Enable "Allow administrators to bypass configured protection rules" (so that you don't have to wait on me if you're preparing a release)
This will give us a few security checks before anything is sent out to TestPyPI and PyPI. You'll be free to remove the PYPI_USERNAME
and PYPI_PASSWORD
secrets afterwards.
from climpred.
Both envs added. Thanks for leading this
from climpred.
Ah, two final things:
- For Trusted Publishing, you need to configure the Climpred PyPI with the following:
- Your Account → climpred → "Publishing" → Below "Add a new publisher":
- Owner: "pangeo-data"
- Repository name: "climpred"
- Workflow name: "publish-production-pypi.yml"
- Environment name: "production"
- I've made an account for climpred on TestPyPI (https://test.pypi.org/project/climpred/). If you make an account there, I'll pass maintainer status onto you.
That should be the end of the configurations required!
from climpred.
- done
- no need
from climpred.
Related Issues (20)
- make tqdm optional
- `HindcastEnsemble.resample()` working on `time` and `lead` HOT 1
- ⚠️ upstream-dev CI: `test_PerfectModelEnsemble_plot_bootstrapped_skill_over_leadyear` yerr negative HOT 2
- Using datatrees to represent datasets HOT 3
- Notebook downloading forecasts with herbie
- ValueError 'init' because it is not a variable or dimension in this dataset HOT 2
- Package dependency troubles with `python 3.11` HOT 7
- alignment=same_verifs throws CoordinateError HOT 1
- Reporting a vulnerability HOT 1
- Issue on page /quick-start.html HOT 1
- Implementing mean error as a verification metric? HOT 1
- `xclim.DetrendedQuantileMapping` with `train_test_split="unfair"` failing HOT 5
- Duplicate Classification entry
- Numerous documentation build warnings
- Codecov actions require tokens for v4 HOT 6
- loading cmorized output of full DCPP CMIP6 archive HOT 1
- Logic to determine frequency of verification dataset fails when monthly data times are on different days of the month HOT 1
- `sel_time` time selection requires formatting of string for non-normal calendar years HOT 1
- Allow self-approval in "production" environment HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from climpred.