Skip to content

Commit

Permalink
chore: prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Jan 28, 2023
1 parent b840427 commit 4f21268
Show file tree
Hide file tree
Showing 43 changed files with 81 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ jobs:
- name: setup publish env
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install wheel
python -m pip install twine
python -m pip install setuptools wheel build twine
- name: build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
run: |
python setup.py sdist bdist_wheel
python -m build
python -m twine upload dist/*
- name: create release branch
uses: peterjgrainger/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ dmypy.json

# private dir for notes and such
private/
.private/

# log output
*.log
Expand Down
37 changes: 37 additions & 0 deletions docs/reference/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
* [diff](diff.md)
* [exceptions](exceptions.md)
* [factory](factory.md)
* [helper](helper.md)
* [logging](logging.md)
* [platform](platform/index.md)
* [base](platform/base/index.md)
* [async_platform](platform/base/async_platform.md)
* [base_platform](platform/base/base_platform.md)
* [sync_platform](platform/base/sync_platform.md)
* [core](platform/core/index.md)
* [arista_eos](platform/core/arista_eos/index.md)
* [async_platform](platform/core/arista_eos/async_platform.md)
* [base_platform](platform/core/arista_eos/base_platform.md)
* [patterns](platform/core/arista_eos/patterns.md)
* [sync_platform](platform/core/arista_eos/sync_platform.md)
* [cisco_iosxe](platform/core/cisco_iosxe/index.md)
* [async_platform](platform/core/cisco_iosxe/async_platform.md)
* [base_platform](platform/core/cisco_iosxe/base_platform.md)
* [patterns](platform/core/cisco_iosxe/patterns.md)
* [sync_platform](platform/core/cisco_iosxe/sync_platform.md)
* [cisco_iosxr](platform/core/cisco_iosxr/index.md)
* [async_platform](platform/core/cisco_iosxr/async_platform.md)
* [base_platform](platform/core/cisco_iosxr/base_platform.md)
* [patterns](platform/core/cisco_iosxr/patterns.md)
* [sync_platform](platform/core/cisco_iosxr/sync_platform.md)
* [cisco_nxos](platform/core/cisco_nxos/index.md)
* [async_platform](platform/core/cisco_nxos/async_platform.md)
* [base_platform](platform/core/cisco_nxos/base_platform.md)
* [patterns](platform/core/cisco_nxos/patterns.md)
* [sync_platform](platform/core/cisco_nxos/sync_platform.md)
* [juniper_junos](platform/core/juniper_junos/index.md)
* [async_platform](platform/core/juniper_junos/async_platform.md)
* [base_platform](platform/core/juniper_junos/base_platform.md)
* [patterns](platform/core/juniper_junos/patterns.md)
* [sync_platform](platform/core/juniper_junos/sync_platform.md)
* [response](response.md)
1 change: 1 addition & 0 deletions docs/reference/diff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: diff
1 change: 1 addition & 0 deletions docs/reference/exceptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: exceptions
1 change: 1 addition & 0 deletions docs/reference/factory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: factory
1 change: 1 addition & 0 deletions docs/reference/helper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: helper
1 change: 1 addition & 0 deletions docs/reference/logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: logging
1 change: 1 addition & 0 deletions docs/reference/platform/base/async_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.base.async_platform
1 change: 1 addition & 0 deletions docs/reference/platform/base/base_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.base.base_platform
1 change: 1 addition & 0 deletions docs/reference/platform/base/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.base
1 change: 1 addition & 0 deletions docs/reference/platform/base/sync_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.base.sync_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/arista_eos/async_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.arista_eos.async_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/arista_eos/base_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.arista_eos.base_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/arista_eos/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.arista_eos
1 change: 1 addition & 0 deletions docs/reference/platform/core/arista_eos/patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.arista_eos.patterns
1 change: 1 addition & 0 deletions docs/reference/platform/core/arista_eos/sync_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.arista_eos.sync_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxe/async_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxe.async_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxe/base_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxe.base_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxe/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxe
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxe/patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxe.patterns
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxe/sync_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxe.sync_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxr/async_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxr.async_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxr/base_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxr.base_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxr/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxr
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxr/patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxr.patterns
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_iosxr/sync_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_iosxr.sync_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_nxos/async_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_nxos.async_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_nxos/base_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_nxos.base_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_nxos/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_nxos
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_nxos/patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_nxos.patterns
1 change: 1 addition & 0 deletions docs/reference/platform/core/cisco_nxos/sync_platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.cisco_nxos.sync_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.juniper_junos.async_platform
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.juniper_junos.base_platform
1 change: 1 addition & 0 deletions docs/reference/platform/core/juniper_junos/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.juniper_junos
1 change: 1 addition & 0 deletions docs/reference/platform/core/juniper_junos/patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.juniper_junos.patterns
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform.core.juniper_junos.sync_platform
1 change: 1 addition & 0 deletions docs/reference/platform/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: platform
1 change: 1 addition & 0 deletions docs/reference/response.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: response
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools"]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -87,7 +87,7 @@ asyncio_mode = "auto"

[tool.pylama]
linters = "mccabe,pycodestyle,pylint"
skip = ".nox/*,build/*,docs/*,private/*,site/*,tests/*,venv/*"
skip = ".nox/*,.private/*,build/*,docs/*,private/*,site/*,tests/*,venv/*"

[tool.pylama.pycodestyle]
max_line_length = 100
Expand Down
2 changes: 1 addition & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mdx-gh-links>=0.2,<1.0
mkdocs>=1.2.3,<2.0.0
mkdocs-gen-files>=0.4.0,<1.0.0
mkdocs-literate-nav>=0.5.0,<1.0.0
mkdocs-material>=8.1.6,<9.0.0
mkdocs-material>=8.1.6,<10.0.0
mkdocs-material-extensions>=1.0.3,<2.0.0
mkdocs-section-index>=0.3.4,<1.0.0
mkdocstrings[python]>=0.19.0,<1.0.0
2 changes: 1 addition & 1 deletion scrapli_cfg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""scrapli_cfg"""
from scrapli_cfg.factory import AsyncScrapliCfg, ScrapliCfg

__version__ = "2022.07.30"
__version__ = "2023.01.30"

__all__ = (
"AsyncScrapliCfg",
Expand Down

0 comments on commit 4f21268

Please sign in to comment.