Skip to content

Commit

Permalink
Merge pull request #269 from nautobot/develop
Browse files Browse the repository at this point in the history
Release v2.5.0
  • Loading branch information
joewesch authored Jan 17, 2025
2 parents 306cbe6 + 234470a commit 242bedb
Show file tree
Hide file tree
Showing 12 changed files with 394 additions and 529 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on: # yamllint disable

jobs:
tests:
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-24.04"
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
nautobot-version: ["2.0", "2.1", "2.2", "2.3", "stable"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
nautobot-version: ["2.0", "2.1", "2.2", "2.3", "2.4", "stable"]
env:
PYTHON_VER: "${{ matrix.python-version }}"
NAUTOBOT_VER: "${{ matrix.nautobot-version }}"
Expand All @@ -20,24 +20,27 @@ jobs:
uses: "actions/checkout@v4"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v6"
with:
poetry-version: "1.8.5"
python-version: "3.12"
- name: "Set up Docker Buildx"
id: "buildx"
uses: "docker/setup-buildx-action@v3"
- name: "Tests"
run: "poetry run invoke tests"
publish_pypi:
name: "Push Package to PyPI"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-24.04"
if: "startsWith(github.ref, 'refs/tags/v')"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.9"
python-version: "3.12"
- name: "Install Python Packages"
run: "pip install poetry"
run: "pip install poetry==1.8.5"
- name: "Set env"
run: "echo RELEASE_VERSION=${GITHUB_REF:10} >> $GITHUB_ENV"
- name: "Run Poetry Version"
Expand Down
172 changes: 0 additions & 172 deletions CHANGELOG.md

This file was deleted.

5 changes: 3 additions & 2 deletions development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ RUN apt-get -y update && apt-get -y install --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*

RUN curl -sSL https://install.python-poetry.org | python3 - && \
# Install specific version of Poetry (1.8.5)
RUN curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.5 python3 - && \
/root/.local/bin/poetry config virtualenvs.create false

WORKDIR /source
COPY pyproject.toml poetry.lock /source/
COPY pyproject.toml poetry.lock README.md /source/

RUN git config --global --add safe.directory /source

Expand Down
1 change: 1 addition & 0 deletions development/Dockerfile.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

!/pyproject.toml
!/poetry.lock
!/README.md
9 changes: 9 additions & 0 deletions docs/admin/release_notes/version_2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# v2.5.0

## Changed

- (#265) Dropped support for Python 3.8

## Fixed

- (#266) Fixed `Endpoint.choices()` to work for Nautobot 2.4
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ nav:
- Uninstall: "admin/uninstall.md"
- Release Notes:
- "admin/release_notes/index.md"
- v2.5: "admin/release_notes/version_2.5.md"
- v2.4: "admin/release_notes/version_2.4.md"
- v2.3: "admin/release_notes/version_2.3.md"
- v2.2: "admin/release_notes/version_2.2.md"
Expand Down
Loading

0 comments on commit 242bedb

Please sign in to comment.