Skip to content

Commit

Permalink
Verify support for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 19, 2025
1 parent d97c411 commit d2b4217
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.11", "3.12"]
python-version: ["3.8", "3.13"]

env:
OS: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog
in progress
===========
- Dependencies: Updated to ``responder 3.0.0``
- Verified support for Python 3.13

2024-05-10 0.7.1
================
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Environment :: Console",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_cli_failure():
run()

# Verify output.
assert ex.match("Usage:\n vasuki")
assert ex.match("Usage:\n.*vasuki")


def test_uuid(capsys):
Expand Down
5 changes: 3 additions & 2 deletions vasuki/api.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# -*- coding: utf-8 -*-
# (c) 2019 Andreas Motl <[email protected]>
import importlib.metadata
import importlib.resources
import logging
import responder
from munch import DefaultMunch, munchify
from pkg_resources import resource_filename
from vasuki.core import VasukiCommand

templates_dir = resource_filename('vasuki', 'templates')
with importlib.resources.path('vasuki', 'templates') as vasuki_templates:
templates_dir = vasuki_templates
api = responder.API(static_dir=templates_dir, templates_dir=templates_dir)


Expand Down

0 comments on commit d2b4217

Please sign in to comment.