From 26a1a945c7fc1ef46b00a2703d40806ecf2d3038 Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Thu, 26 Sep 2024 16:37:41 -0400 Subject: [PATCH] test for 3.13 --- .github/workflows/python-publish.yml | 2 +- parse_scripts/parse.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d77cf9c..b233ffc 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -35,7 +35,7 @@ jobs: fail-fast: false matrix: os: [windows-latest, macos-latest, ubuntu-latest] - python-version: [3.9, "3.10", "3.11", "3.12"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13-dev"] steps: - uses: actions/checkout@v2 diff --git a/parse_scripts/parse.py b/parse_scripts/parse.py index 62cf303..5d3ce9b 100644 --- a/parse_scripts/parse.py +++ b/parse_scripts/parse.py @@ -1,7 +1,6 @@ import ast import random import re -from builtins import str from lxml import etree @@ -140,7 +139,7 @@ def osmSyntheticToTraining(xml_file): def trainFileFromLines(addr_file, is_train=True): # us50 data -> training or test file (xml) - lines = open(addr_file, "r") + lines = open(addr_file) if is_train is True: outputFileName = ( "training/training_data/"