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

Prepare 2.3.2 release #570

Merged
merged 4 commits into from
Jan 17, 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/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 = lxd@lists.canonical.com
home_page = https://ubuntu.com/lxd
Expand Down
Loading