From 261692e63e62f7b2181257fd750db5982c8b13f4 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:30:50 -0800 Subject: [PATCH 01/35] Update test-suite.yml to capture all failures for fix. Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 814b68d..99e4e8b 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -37,4 +37,5 @@ jobs: flake8 openleadr/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest -vv test/ + # pytest -vv test/ + pytest --no-header -v -rfs /test/ From 929966889425383e233745e3582a12cecb9d8087 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:36:13 -0800 Subject: [PATCH 02/35] Update test-suite.yml Changed python matrix to 3.9 and 3.12 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 99e4e8b..8479b06 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -15,7 +15,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + #python-version: [3.7, 3.8, 3.9] + python-version: [3.9, 3.12] steps: - uses: actions/checkout@v2 From 3aff122eed640ca6da1914275b3a2f21c1b43b1e Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:37:42 -0800 Subject: [PATCH 03/35] Update test-suite.yml Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 8479b06..b8f5433 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -39,4 +39,4 @@ jobs: - name: Test with pytest run: | # pytest -vv test/ - pytest --no-header -v -rfs /test/ + pytest --no-header -v -rfs test/ From a38c35bfc65bb64cfd798f18b53fc254499a9bb2 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:44:39 -0800 Subject: [PATCH 04/35] Update test-suite.yml - fix import error Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index b8f5433..f8f8e24 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest + pip install flake8 pytest pyOpenSSL==24.2.1 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From f4b77db9b1dd5712f64fa449b280439ae2a6f416 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:47:58 -0800 Subject: [PATCH 05/35] Update test-suite.yml just 3.9 with fixed import Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index f8f8e24..e68c417 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: [3.9, 3.12] + python-version: [3.9] steps: - uses: actions/checkout@v2 From 538c64bbb584cf098218fec0317238a6fcbd36f8 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:06:06 -0800 Subject: [PATCH 06/35] Update test-suite.yml Added fix for async-timeout Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index e68c417..4b43701 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout=4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | @@ -39,4 +39,5 @@ jobs: - name: Test with pytest run: | # pytest -vv test/ - pytest --no-header -v -rfs test/ + # pytest --no-header -v -rfs test/ + pytest -v -rfs test/ From d55e7a18afd26b936072ec02806430b4798ca5a6 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:07:05 -0800 Subject: [PATCH 07/35] Update test-suite.yml Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 4b43701..359e208 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout=4.0.3 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From d5b966f026ad68f0cd5f803113f6189f2385a487 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:13:24 -0800 Subject: [PATCH 08/35] Update test-suite.yml -3.12 only Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 359e208..b59bda4 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: [3.9] + python-version: [3.12] steps: - uses: actions/checkout@v2 @@ -38,6 +38,6 @@ jobs: flake8 openleadr/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - # pytest -vv test/ + pytest -vv test/ # pytest --no-header -v -rfs test/ - pytest -v -rfs test/ + # pytest -v -rfs test/ From c50b5fea635c35c13260f8c4b656bba9090bcea8 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:19:04 -0800 Subject: [PATCH 09/35] Update test-suite.yml - 3.13 only Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index b59bda4..288719f 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: [3.12] + python-version: [3.13] steps: - uses: actions/checkout@v2 @@ -39,5 +39,3 @@ jobs: - name: Test with pytest run: | pytest -vv test/ - # pytest --no-header -v -rfs test/ - # pytest -v -rfs test/ From 4d8336c1bd700fbbd4e994f111d46a1d98362263 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:22:05 -0800 Subject: [PATCH 10/35] Update test-suite.yml - add libxml2 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 288719f..63ed107 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 libxml2 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 4ca88041b3c75410cc0ae43594825125eb470a7c Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:25:04 -0800 Subject: [PATCH 11/35] Update test-suite.yml - added libxslt Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 63ed107..5aa0b09 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 libxml2 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 libxml2 libxslt if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 76344805ebc1657cf54f3ec4f2032e624fdd5122 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:28:04 -0800 Subject: [PATCH 12/35] Update test-suite.yml- only lxml Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 5aa0b09..c38fc31 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 libxml2 libxslt + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From c0e750b599933057fdbd7dd2e821e91a8681afdc Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:32:01 -0800 Subject: [PATCH 13/35] Update test-suite.yml - lxml-4.9.2 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index c38fc31..4311920 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml-4.9.2 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 0ccde6ceb27f4ff5d3acbbfb0e63201e9f63578b Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:32:31 -0800 Subject: [PATCH 14/35] Update test-suite.yml lxml 4.9.2 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 4311920..cd0482e 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml-4.9.2 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml==4.9.2 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From b15fa676189c088c7b3547db9b20fb660eacf388 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:39:17 -0800 Subject: [PATCH 15/35] Update test-suite.yml - libxslt-dev Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index cd0482e..5d4d121 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -27,8 +27,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + #sudo apt-get install libxml2-dev libxslt-dev pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml==4.9.2 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 libxml2-dev libxslt-dev lxml==4.9.2 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 581cce861662e42301af3dd21ecbe0104fae977c Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:40:45 -0800 Subject: [PATCH 16/35] Update test-suite.yml - apt-get for libxslt-dev Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 5d4d121..1796104 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -27,9 +27,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - #sudo apt-get install libxml2-dev libxslt-dev + apt-get install libxml2-dev libxslt-dev pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 libxml2-dev libxslt-dev lxml==4.9.2 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 658a604be0ea70e2c74776a7dd753cdcc4aee5dd Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:41:40 -0800 Subject: [PATCH 17/35] Update test-suite.yml - sudo apt-get Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 1796104..8905a73 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - apt-get install libxml2-dev libxslt-dev + sudo apt-get install libxml2-dev libxslt-dev pip install . pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi From 4b21d5a6be2fa5d56171b088db06b1cfc3c2247d Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:46:35 -0800 Subject: [PATCH 18/35] Update test-suite.yml -lxml 5.0 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 8905a73..dcddacb 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -29,7 +29,7 @@ jobs: python -m pip install --upgrade pip sudo apt-get install libxml2-dev libxslt-dev pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml==5.0 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 109d5292ca5020f694beb3893d671e8f1042e09d Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:48:45 -0800 Subject: [PATCH 19/35] Update test-suite.yml -non dev Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index dcddacb..92f04ec 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -26,8 +26,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip sudo apt-get install libxml2-dev libxslt-dev + sudo apt-get install libxml2 libxslt + python -m pip install --upgrade pip pip install . pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml==5.0 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi From 25956fe4b743eebd8b6f9c74a52b1169bbb14e13 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:49:56 -0800 Subject: [PATCH 20/35] Update test-suite.yml dev only Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 92f04ec..cde9380 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -27,7 +27,6 @@ jobs: - name: Install dependencies run: | sudo apt-get install libxml2-dev libxslt-dev - sudo apt-get install libxml2 libxslt python -m pip install --upgrade pip pip install . pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml==5.0 From 5bb69a6d4e883f068825d9dceac863a4989934bb Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:51:13 -0800 Subject: [PATCH 21/35] Update test-suite.yml Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index cde9380..82f734f 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -29,7 +29,7 @@ jobs: sudo apt-get install libxml2-dev libxslt-dev python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 lxml==5.0 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From f83e69c502e77bf9a277d7805886092fc8b7cb69 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:58:17 -0800 Subject: [PATCH 22/35] Update test-suite.yml lxml==5.3.0 see https://github.com/actions/runner-images/issues/11505 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 82f734f..a65a955 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -29,7 +29,7 @@ jobs: sudo apt-get install libxml2-dev libxslt-dev python -m pip install --upgrade pip pip install . - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 + pip install flake8 pytest lxml==5.3.0 pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 74e12996a04c43b33dc510a25f4616f31672932a Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:03:38 -0800 Subject: [PATCH 23/35] Update test-suite.yml Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index a65a955..1d0a5c3 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -29,7 +29,8 @@ jobs: sudo apt-get install libxml2-dev libxslt-dev python -m pip install --upgrade pip pip install . - pip install flake8 pytest lxml==5.3.0 pyOpenSSL==24.2.1 async-timeout==4.0.3 + pip install lxml==5.3.0 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 858bff749f6fa6c60a9ef5ce4382c03a7afdc006 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:07:07 -0800 Subject: [PATCH 24/35] Update test-suite.yml - 3.10, 3.11, 3.12 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 1d0a5c3..f863155 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: [3.13] + python-version: [3.10, 3.11, 3.12] steps: - uses: actions/checkout@v2 @@ -29,7 +29,8 @@ jobs: sudo apt-get install libxml2-dev libxslt-dev python -m pip install --upgrade pip pip install . - pip install lxml==5.3.0 + # Need for python 3.13 lxml 5.3.0 + # pip install lxml==5.3.0 pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 From 2474987872613ccc59b29bfeb539d6036cbb4335 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:09:19 -0800 Subject: [PATCH 25/35] Update test-suite.yml 3.9, 3.11, 3.12 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index f863155..ec3f9e1 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: [3.10, 3.11, 3.12] + python-version: [3.9, 3.11, 3.12] steps: - uses: actions/checkout@v2 From 129b18df78291412262783ab107da8e7770e38ee Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:40:34 -0800 Subject: [PATCH 26/35] Update test-suite.yml add 3.10 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index ec3f9e1..63df582 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: [3.9, 3.11, 3.12] + python-version: ["3.10", 3.11, 3.12] steps: - uses: actions/checkout@v2 From 1e3aea346004d55983e8ad5e69e8f037d6bca203 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:43:20 -0800 Subject: [PATCH 27/35] Update test-suite.yml commented out sudo apt-get Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 63df582..d549575 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -26,7 +26,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - sudo apt-get install libxml2-dev libxslt-dev + # Need for python3.13: sudo apt-get install libxml2-dev libxslt-dev + # sudo apt-get install libxml2-dev libxslt-dev python -m pip install --upgrade pip pip install . # Need for python 3.13 lxml 5.3.0 From 68fc67d9c26a829d41369843d0fa4c910143269f Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:50:05 -0800 Subject: [PATCH 28/35] Update test-suite.yml reset to pytest==8.3.3 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index d549575..c823181 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -32,7 +32,7 @@ jobs: pip install . # Need for python 3.13 lxml 5.3.0 # pip install lxml==5.3.0 - pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 + pip install flake8 pytest==8.3.3 pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 4649c04ac57220fb0152b9b91d7c2f73f621d3e8 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Mon, 3 Feb 2025 00:04:53 -0800 Subject: [PATCH 29/35] Update test-suite.yml - troubleshoot pytest hang Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index c823181..ac49420 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -42,4 +42,4 @@ jobs: flake8 openleadr/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest -vv test/ + pytest -vv -o faulthandler_timeout=5 test/ From 95d73f01aa699e7ef8494017f4d52c4f7e9fa65a Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Mon, 3 Feb 2025 00:10:02 -0800 Subject: [PATCH 30/35] Update test-suite.yml added pytest --timeout 30 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index ac49420..517a186 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -42,4 +42,4 @@ jobs: flake8 openleadr/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest -vv -o faulthandler_timeout=5 test/ + pytest -vv --timeout 30 -o faulthandler_timeout=5 test/ From 224fbeda7ad2b0c35ccb49ec63c4c3b9f644e19c Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Mon, 3 Feb 2025 00:11:36 -0800 Subject: [PATCH 31/35] Update test-suite.yml Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 517a186..0485673 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -42,4 +42,4 @@ jobs: flake8 openleadr/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest -vv --timeout 30 -o faulthandler_timeout=5 test/ + pytest -vv -o faulthandler_timeout=30 test/ From 29da458bfd2bbc99df1f59f049d5da05f18d5e4d Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:24:33 -0800 Subject: [PATCH 32/35] Update test-suite.yml pytest 7.4 Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 0485673..c09a73b 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -32,7 +32,7 @@ jobs: pip install . # Need for python 3.13 lxml 5.3.0 # pip install lxml==5.3.0 - pip install flake8 pytest==8.3.3 pyOpenSSL==24.2.1 async-timeout==4.0.3 + pip install flake8 pytest==7.4 pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 81219b56cd3bf7a593a396f01085b57422887d26 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Mon, 3 Feb 2025 09:26:26 -0800 Subject: [PATCH 33/35] Update test-suite.yml - reset to latest pytest Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index c09a73b..df31520 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -32,7 +32,7 @@ jobs: pip install . # Need for python 3.13 lxml 5.3.0 # pip install lxml==5.3.0 - pip install flake8 pytest==7.4 pyOpenSSL==24.2.1 async-timeout==4.0.3 + pip install flake8 pytest pyOpenSSL==24.2.1 async-timeout==4.0.3 if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi - name: Lint with flake8 run: | From 1fea023f8fd470e2cad1356d3e4a42654379f632 Mon Sep 17 00:00:00 2001 From: Arila Barnes Date: Mon, 3 Feb 2025 10:58:42 -0800 Subject: [PATCH 34/35] Revert Pull Request 170# Signed-off-by: Arila Barnes --- openleadr/client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openleadr/client.py b/openleadr/client.py index 78380a4..1beee26 100755 --- a/openleadr/client.py +++ b/openleadr/client.py @@ -1252,12 +1252,11 @@ async def _event_cleanup(self): """ Periodic task that will clean up completed and cancelled events in our memory. """ - for i in range(len(self.received_events)-1, -1, -1): - event = self.received_events[i] + for event in self.received_events: if event['event_descriptor']['event_status'] == 'cancelled' or \ utils.determine_event_status(event['active_period']) == 'completed': logger.info(f"Removing event {event} because it is no longer relevant.") - self.received_events.pop(i) + self.received_events.pop(self.received_events.index(event)) async def _poll(self): logger.debug("Now polling for new messages") From 55efb63738e5aea2a460690c9ec32a4014e99a50 Mon Sep 17 00:00:00 2001 From: AXM Software <35903292+axmsoftware@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:17:13 -0800 Subject: [PATCH 35/35] Update test-suite.yml - 3.9 test Signed-off-by: AXM Software <35903292+axmsoftware@users.noreply.github.com> --- .github/workflows/test-suite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index df31520..ac7def3 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -16,7 +16,8 @@ jobs: strategy: matrix: #python-version: [3.7, 3.8, 3.9] - python-version: ["3.10", 3.11, 3.12] + python-version: [3.9] + #python-version: ["3.10", 3.11, 3.12] steps: - uses: actions/checkout@v2