-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into injections
- Loading branch information
Showing
12 changed files
with
141 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: ["**"] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: release | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install --upgrade setuptools setuptools-scm wheel twine toml | ||
- name: Build | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
python setup.py --version | ||
twine check dist/* | ||
ls -l dist | ||
- name: Publish | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Release | ||
|
||
Releases are automated by the `release.yaml` GitHub Workflow, | ||
which is triggered by tag events. | ||
|
||
To cut a new release, those with push permissions to the repo, may run: | ||
|
||
```console | ||
git tag $VERSION | ||
git push origin --tags | ||
``` | ||
|
||
Where `$VERSION` is a three-element, dot-delimited semantic version of the form | ||
`v{MAJOR}.{MINOR}.{PATCH}`, which is appropriately incremented from the prior tag. | ||
|
||
And `origin` is assumed to be the remote corresponding to | ||
`pangeo-forge/pangeo-forge-runner`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,11 @@ tutorial/flink | |
reference/index | ||
``` | ||
|
||
## Development | ||
|
||
```{toctree} | ||
:maxdepth: 2 | ||
development/release | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
[build-system] | ||
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] | ||
|
||
[project] | ||
name = "pangeo-forge-runner" | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "pangeo_forge_runner/_version.py" | ||
write_to_template = "__version__ = '{version}'" | ||
|
||
[tool.isort] | ||
# Prevent isort & black from fighting each otherd | ||
profile = "black" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,11 @@ | |
readme = f.read() | ||
|
||
setup( | ||
name="pangeo-forge-runner", | ||
description="Commandline tool to manage pangeo-forge feedstocks", | ||
long_description=readme, | ||
long_description_content_type="text/markdown", | ||
author="Yuvi Panda", | ||
author_email="[email protected]", | ||
version="0.7.2", | ||
packages=find_packages(), | ||
python_requires=">=3.9", | ||
install_requires=[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters