Skip to content

Commit

Permalink
Merge pull request #570 from simondeziel/prepare-2.3.2
Browse files Browse the repository at this point in the history
Prepare `2.3.2` release
  • Loading branch information
simondeziel authored Jan 17, 2024
2 parents 4ecdc75 + b246eb9 commit 86a897d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.10", "3.11", "3.12"]

runs-on: ubuntu-22.04
steps:
- name: Repository checkout
Expand Down
4 changes: 2 additions & 2 deletions pylxd/models/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def __init__(self, client, **kwargs):
if env == "none":
continue
warnings.warn(
'Attempted to set unknown attribute "{}" '
'on instance of "{}"'.format(key, self.__class__.__name__)
f'Attempted to set unknown attribute "{key}" '
f'on instance of "{self.__class__.__name__}"'
)
self.__dirty__.clear()

Expand Down
4 changes: 2 additions & 2 deletions pylxd/models/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def __init__(self, **kwargs):
if env == "none":
continue
warnings.warn(
'Attempted to set unknown attribute "{}" '
'on instance of "{}"'.format(key, self.__class__.__name__)
f'Attempted to set unknown attribute "{key}" '
f'on instance of "{self.__class__.__name__}"'
)
pass

Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[metadata]
name = pylxd
version = 2.3.2a
version = 2.3.2
description = python library for LXD
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Paul Hummer and others (see CONTRIBUTORS.rst)
author_email = [email protected]
home_page = https://ubuntu.com/lxd
Expand Down

0 comments on commit 86a897d

Please sign in to comment.