Skip to content

Commit

Permalink
Issue #199 - Upgrade to Python 3.10
Browse files Browse the repository at this point in the history
Because of the strictly pinned versions this library would only work with
Python 3.7, as stated in the documentation. Since the dependencies are well
founded they provide support for newer versions of Python, including Python
3.10. By migrating to the newer versions this library will now support
Python3.10 but drop support for other versions.

Fixes #199
  • Loading branch information
christianmkuss committed Dec 7, 2022
1 parent 654bc55 commit fc32f22
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
python:
- "3.7"
- "3.10"

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion ait/dsn/bch/test/bch_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import os
import unittest
import mock
from unittest import mock

import ait.core
from ait.dsn.bch.bch import BCH
Expand Down
2 changes: 1 addition & 1 deletion ait/dsn/sle/test/frames_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import os
import unittest
import mock
from unittest import mock

import ait.core
from ait.dsn.sle.frames import AOSTransFrame, AOSConfig, AOSDataFieldType
Expand Down
Binary file added config/leapseconds.dat
Binary file not shown.
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BUILDDIR = build

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don\'t have Sphinx installed, grab it from http://sphinx-doc.org/)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don\'t have Sphinx installed, grab it from http://sphinx-doc.org/)
endif

# Internal variables.
Expand Down
Empty file modified doc/make.bat
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
formats:
- none
python:
version: 3.7
version: 3.10
pip_install: true
extra_requirements:
- docs
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name = 'ait-dsn',
version = '2.0.1-rc1',
version = '2.1.0',
description = description,
long_description = long_description,
long_description_content_type = 'text/x-rst',
Expand All @@ -38,8 +38,7 @@
namespace_packages = ['ait'],

install_requires = [
'greenlet==0.4.16',
'ait-core>=2.0.0',
'ait-core>=2.4.0',
'pyasn1',
'bitstring'
],
Expand All @@ -53,7 +52,6 @@
'tests': [
'nose',
'coverage',
'mock',
'pylint'
],
},
Expand Down

0 comments on commit fc32f22

Please sign in to comment.