Skip to content

Commit

Permalink
Improve support for Python 3.12 (#165)
Browse files Browse the repository at this point in the history
* Remove use of deprecated PyUnicode C APIs

* Update to versioneer 0.29

* extend matrix a bit

* add news

* Update to PyObject
  • Loading branch information
jaimergp authored Oct 30, 2023
1 parent 8c07e14 commit b5d45ce
Show file tree
Hide file tree
Showing 6 changed files with 1,586 additions and 706 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [windows]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand All @@ -23,7 +23,6 @@ jobs:
auto-update-conda: true
python-version: ${{ matrix.python-version }}


- shell: bash -l {0}
name: Conda info
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Unreleased:
------------------
* Add support for Python 3.12 (#165)

2022-08-17 1.4.19:
------------------
Expand Down
5 changes: 2 additions & 3 deletions menuinst/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
import json
from os.path import abspath, basename, exists, join

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']


if sys.platform.startswith('linux'):
Expand Down
Loading

0 comments on commit b5d45ce

Please sign in to comment.