Skip to content
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/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Install building dependencies
run: pip -q install build
- name: Build package
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install testing dependencies
run: pip install tox
- name: Run tox for ${{ matrix.python-version }}
# Run tox using the version of Python in `PATH`
run: tox -e py
run: tox -e py
2 changes: 1 addition & 1 deletion requirements.DEVELOPER.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ build
coverage
pytest
requests
setuptools
setuptools<80.9
tox
wheel
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ classifiers =
Intended Audience :: Developers
Topic :: Software Development :: Code Generators
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy

Expand Down
7 changes: 1 addition & 6 deletions tests/integration/openconfig-interfaces/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

class OpenconfigInterfacesTests(PyangBindTestCase):
yang_files = [
os.path.join("openconfig", "%s.yang" % fname)
for fname in ["openconfig-interfaces", "openconfig-if-aggregate", "openconfig-if-ip"]
os.path.join("openconfig", "%s.yang" % fname) for fname in ["openconfig-interfaces", "openconfig-if-aggregate"]
]
pyang_flags = [
"-p %s" % os.path.join(os.path.dirname(__file__), "include"),
Expand All @@ -32,9 +31,6 @@ class OpenconfigInterfacesTests(PyangBindTestCase):
"files": [
"openconfig-extensions.yang",
"types/openconfig-types.yang",
"vlan/openconfig-vlan.yang",
"vlan/openconfig-vlan-types.yang",
"types/openconfig-inet-types.yang",
"types/openconfig-yang-types.yang",
"optical-transport/openconfig-transport-types.yang",
"platform/openconfig-platform-types.yang",
Expand All @@ -44,7 +40,6 @@ class OpenconfigInterfacesTests(PyangBindTestCase):
"local_path": "openconfig",
"remote_prefix": "https://raw.githubusercontent.com/openconfig/public/master/release/models/",
"files": [
"interfaces/openconfig-if-ip.yang",
"interfaces/openconfig-if-ethernet.yang",
"interfaces/openconfig-if-aggregate.yang",
"interfaces/openconfig-interfaces.yang",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
"out-unicast-pkts": 0,
"out-discards": 0,
"in-broadcast-pkts": 0,
"carrier-transitions": 0,
"carrier-transitions": 0,
"interface-transitions": 0,
"link-transitions": 0,
"in-unknown-protos": 0,
"in-octets": 0,
"in-pkts": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
"out-unicast-pkts": "0",
"out-discards": "0",
"in-broadcast-pkts": "0",
"carrier-transitions": "0",
"carrier-transitions": "0",
"interface-transitions": "0",
"link-transitions": "0",
"in-unknown-protos": "0",
"in-octets": "0",
"in-pkts": "0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
"out-unicast-pkts": 0,
"out-discards": 0,
"in-broadcast-pkts": 0,
"carrier-transitions": 0,
"carrier-transitions": 0,
"interface-transitions": 0,
"link-transitions": 0,
"in-unknown-protos": 0,
"in-octets": 0,
"in-pkts":0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
"out-unicast-pkts": "0",
"out-discards": "0",
"in-broadcast-pkts": "0",
"carrier-transitions": "0",
"carrier-transitions": "0",
"interface-transitions": "0",
"link-transitions": "0",
"in-unknown-protos": "0",
"in-octets": "0",
"in-pkts": "0",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311,312},py,black
envlist = py{38,39,310,311,312,313},py,black
skip_missing_interpreters = True

[testenv]
Expand Down