From 7c8042eb97729189f6ea14cce806ab91d7f3e80e Mon Sep 17 00:00:00 2001 From: Nicholas Hairs Date: Fri, 15 Aug 2025 19:48:07 +1000 Subject: [PATCH] [version] Fix missing import Per title \## Test Plan - Build project: `./dev.sh build` - Create new virtual environment `virtualenv -p python3 test_env` - Activate and install built packaged `source test_env/bin/activate && pip install 'dist/nserver-3.0.1-py3-none-any.whl[dev]'` - Test CLI works: - `nserver --help` - `nserver --version` - `nserver --server nserver/tests/test_server.py` --- docs/changelog.md | 4 ++++ pyproject.toml | 2 +- src/nserver/_version.py | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index d02e593..2308f92 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.1](https://github.com/nhairs/nserver/compare/v3.0.0...v3.0.1) - 2025-08-15 + +### Fixed +- Missing `datetime` import in `_version` affecting the CLI [#9](https://github.com/nhairs/nserver/issues/9) ## [3.0.0](https://github.com/nhairs/nserver/compare/v2.0.0...v3.0.0) - 2025-07-11 diff --git a/pyproject.toml b/pyproject.toml index beefa43..a0a1c71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "nserver" -version = "3.0.0" +version = "3.0.1" description = "DNS Name Server Framework" authors = [ {name = "Nicholas Hairs", email = "info+nserver@nicholashairs.com"}, diff --git a/src/nserver/_version.py b/src/nserver/_version.py index 722c41c..98fc6ac 100644 --- a/src/nserver/_version.py +++ b/src/nserver/_version.py @@ -3,6 +3,7 @@ ### IMPORTS ### ============================================================================ ## Standard Library +import datetime # pylint: disable=unused-import ## Installed