Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.12 to test matrix #961

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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