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

mavgen: cope with python 3.12 #941

Merged
merged 2 commits into from
Apr 26, 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/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false # don't cancel if a job from the matrix fails
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 4 additions & 2 deletions generator/mavgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
'''

from __future__ import print_function
from future import standard_library
standard_library.install_aliases()
import sys
if sys.version_info <= (3,10):
from future import standard_library
standard_library.install_aliases()
from builtins import object
import os
import re
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
lxml>=3.6.0
future>=0.15.2
wheel>=0.37.1
setuptools>=42

# dev dependencies:
pytest<=7.4.4
Expand Down
Loading