Skip to content

Commit

Permalink
Merge pull request #118 from mrakitin/rel-notes-v0.6.2
Browse files Browse the repository at this point in the history
DOC: release notes for v0.6.2
  • Loading branch information
BriannaRomasky authored Jun 9, 2023
2 parents 211a651 + d1e1a85 commit 82872f0
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 470 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This workflow will upload a Python Package using flit when a release is
# created. For more information see:
# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
# This workflows will upload a Python Package when a release is created.
# For more information see:
# - https://docs.pypi.org/trusted-publishers/adding-a-publisher/
# - https://github.com/pypa/gh-action-pypi-publish

name: PyPI upload

Expand All @@ -12,28 +13,27 @@ jobs:
publish_pypi:
name: Publish package to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel twine setuptools
- name: Build package
run: |
set -vxeuo pipefail
python -m pip install --upgrade pip
pip install wheel setuptools
python setup.py sdist bdist_wheel
- name: Build and publish
env:
TWINE_USERNAME: __token__
# The PYPI_PASSWORD must be a pypi token with the "pypi-" prefix with sufficient permissions to upload this package
# https://pypi.org/help/#apitoken
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish wheels to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Notebooks (new API)
===================
Examples
========

.. toctree::
:maxdepth: 2
Expand Down
3 changes: 1 addition & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ sirepo-bluesky Documentation
:maxdepth: 2

installation
notebooks-old-api
notebooks-new-api
examples
simulations
release-history
8 changes: 0 additions & 8 deletions docs/source/notebooks-old-api.rst

This file was deleted.

113 changes: 0 additions & 113 deletions docs/source/notebooks/shadow.ipynb

This file was deleted.

Loading

0 comments on commit 82872f0

Please sign in to comment.