Skip to content

Commit

Permalink
Add Python 3.12 to test matrix (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad authored Jul 11, 2024
1 parent e8d2eee commit 9cc7102
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
shell: bash
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
platform: [ubuntu-latest, macos-13, windows-2019]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions docs/howto/filtering_deep_dive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,7 @@
" :return bool: True if it matches, False if it doesn't match\n",
" \"\"\"\n",
" # Perform regex match on host name and return boolean\n",
" if re.match(\".+\\-[0-9][2,4,6,8,0].+\", host.name):\n",
" if re.match(r\".*-\\d[24680].*\", host.name):\n",
" return True\n",
" else:\n",
" return False\n",
Expand All @@ -2074,7 +2074,7 @@
" :return bool: True if it matches, False if it doesn't match\n",
" \"\"\"\n",
" # Perform regex match on host name and return boolean\n",
" if re.match(\"\\w{3}\\-\\w+\\-\\d{2}.\\w{3}.norn.local\", host.name):\n",
" if re.match(r\"\\w{3}-\\w+-\\d{2}\\.\\w{3}\\.norn\\.local\", host.name):\n",
" return True\n",
" else:\n",
" return False\n",
Expand All @@ -2092,7 +2092,7 @@
" :return bool: True if does not match, False if it matches the convention\n",
" \"\"\"\n",
" # Perform regex match on host name and return boolean\n",
" if re.match(\"\\w{3}\\-\\w+\\-\\d{2}.\\w{3}.norn.local\", host.name):\n",
" if re.match(r\"\\w{3}-\\w+-\\d{2}\\.\\w{3}\\.norn\\.local\", host.name):\n",
" return False\n",
" else:\n",
" return True\n",
Expand Down
50 changes: 18 additions & 32 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[tool.poetry.dependencies]
Expand All @@ -43,7 +44,7 @@ types-Jinja2 = "^2.11.9"
types-pkg-resources = "^0.1.3"
nornir-jinja2 = "0.2.0"
nornir-utils = "0.2.0"
nornir-napalm = "0.4.0"
nornir-napalm = "0.5.0"
ruff = "^0.4.9"

[tool.poetry.group.docs.dependencies]
Expand Down

0 comments on commit 9cc7102

Please sign in to comment.