Skip to content

Commit 8899e0e

Browse files
authored
Merge branch 'scrapli:main' into main
2 parents 3277caf + 72bcd82 commit 8899e0e

File tree

8 files changed

+24
-23
lines changed

8 files changed

+24
-23
lines changed

.github/workflows/commit.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
os: [ubuntu-latest]
1212
version: ["3.11"]
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: set up python ${{ matrix.version }}
1616
uses: actions/setup-python@v4
1717
with:
@@ -30,9 +30,9 @@ jobs:
3030
max-parallel: 10
3131
matrix:
3232
os: [ubuntu-latest, macos-latest]
33-
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
33+
version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
- name: set up python ${{ matrix.version }}
3737
uses: actions/setup-python@v4
3838
with:

.github/workflows/pre_release.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: Weekly Build (3.12-dev)
1+
name: Weekly Build (dev)
22

33
on:
4-
workflow_dispatch:
5-
schedule:
6-
# weekly at 0300 PST/1000 UTC on Sunday
7-
- cron: '0 10 * * 0'
4+
schedule:
5+
# weekly at 0300 PST/1000 UTC on Sunday
6+
- cron: '0 10 * * 0'
7+
# commented out till 3.13
8+
# workflow_dispatch:
89

910
jobs:
1011
build_posix:
@@ -15,7 +16,7 @@ jobs:
1516
os: [ubuntu-latest, macos-latest]
1617
version: ["3.12-dev"]
1718
steps:
18-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
1920
- name: set up python ${{ matrix.version }}
2021
uses: actions/setup-python@v4
2122
with:

.github/workflows/publish.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: set up python 3.11
1313
uses: actions/setup-python@v2
1414
with:
@@ -19,8 +19,8 @@ jobs:
1919
python -m pip install setuptools wheel build twine
2020
- name: build and publish
2121
env:
22-
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
23-
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
22+
TWINE_USERNAME: __token__
23+
TWINE_PASSWORD: ${{ secrets.PYPI_PROJECT_TOKEN }}
2424
run: |
2525
python -m build
2626
python -m twine upload dist/*

.github/workflows/weekly.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
os: [ubuntu-latest]
1616
version: ["3.11"]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
ref: main
2121
- name: set up python ${{ matrix.version }}
@@ -36,9 +36,9 @@ jobs:
3636
max-parallel: 10
3737
matrix:
3838
os: [ubuntu-latest, macos-latest]
39-
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
39+
version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
- name: set up python ${{ matrix.version }}
4343
uses: actions/setup-python@v4
4444
with:

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def parse_requirements(dev: bool = True) -> Dict[str, str]:
6666
]
6767

6868

69-
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"])
69+
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
7070
def unit_tests(session):
7171
"""
7272
Nox run unit tests

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ license = { file = "LICENSE" }
2828
authors = [
2929
{ name = "Carl Montanari", email = "[email protected]" },
3030
]
31-
requires-python = ">=3.7"
31+
requires-python = ">=3.8"
3232
classifiers = [
3333
"License :: OSI Approved :: MIT License",
3434
"Operating System :: POSIX :: Linux",
3535
"Operating System :: MacOS",
3636
"Programming Language :: Python",
37-
"Programming Language :: Python :: 3.7",
3837
"Programming Language :: Python :: 3.8",
3938
"Programming Language :: Python :: 3.9",
4039
"Programming Language :: Python :: 3.10",
4140
"Programming Language :: Python :: 3.11",
41+
"Programming Language :: Python :: 3.12",
4242
"Programming Language :: Python :: 3 :: Only",
4343
"Topic :: Software Development :: Libraries :: Python Modules",
4444
]

requirements-dev.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
black==23.3.0
1+
black>=23.3.0,<24.0.0
22
darglint>=1.8.1,<2.0.0
33
isort>=5.10.1,<6.0.0
4-
mypy==1.4.1
4+
mypy>=1.4.1,<2.0.0
55
nox==2023.4.22
66
pycodestyle>=2.8.0,<3.0.0
77
pydocstyle>=6.1.1,<7.0.0
88
pyfakefs>=5.0.0,<6.0.0
99
pylama>=8.4.0,<9.0.0
10-
pylint==2.17.4
10+
pylint>=3.0.0,<4.0.0
1111
pytest-asyncio>=0.17.0,<1.0.0
1212
pytest-cov>=3.0.0,<5.0.0
1313
pytest>=7.0.0,<8.0.0
14-
scrapli-replay==2022.7.30
14+
scrapli-replay==2023.7.30
1515
toml>=0.10.2,<1.0.0

scrapli_cfg/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""scrapli_cfg"""
22
from scrapli_cfg.factory import AsyncScrapliCfg, ScrapliCfg
33

4-
__version__ = "2023.01.30"
4+
__version__ = "2024.01.30"
55

66
__all__ = (
77
"AsyncScrapliCfg",

0 commit comments

Comments
 (0)