Repository: brightway-lca/pyecospold (language: python)

Issue:
support python 3.12 
## Current

See description of helper lib [xmlh](https://github.com/sami-m-g/lxmlh/issues/5).
if we want to support python 3.12 in this library, we would need to:

- [x] upgrade the xmlh lib to a version that doesn't pin xml to 4.9.2 (and uses 4.9.3 probably)
- [x] upgrade pyecospold dependency on xmlh to the new one

I made a [pull request for xml](https://github.com/sami-m-g/lxmlh/pull/6).


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e743558..dc46a1d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [3.4.0] - 2023-11-23
+
+### Changed
+
+- use newer version of lxml to support python 3.12
+
 ## [3.3.2] - 2023-09-26
 
 ### Fixed
diff --git a/pyecospold/VERSION b/pyecospold/VERSION
index 4772543..1809198 100644
--- a/pyecospold/VERSION
+++ b/pyecospold/VERSION
@@ -1,1 +1,1 @@
-3.3.2
+3.4.0
diff --git a/setup.cfg b/setup.cfg
index faf057f..ca0cfe6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,6 +39,7 @@ classifiers =
     Programming Language :: Python :: 3.9
     Programming Language :: Python :: 3.10
     Programming Language :: Python :: 3.11
+    Programming Language :: Python :: 3.12
 
 
 [options]
@@ -57,8 +58,8 @@ python_requires = >=3.8
 # For more information, check out https://semver.org/.
 install_requires =
 # pandas >=1.4
-    lxml==4.9.2
-    lxmlh>=1.2.0
+    lxml==4.9.3
+    lxmlh==1.3.0
     numpy>=1.23.3
     pycasreg==0.1.0
 
@@ -80,14 +81,14 @@ testing =
     setuptools
     pytest
     pytest-cov
-    numpy==1.23.3
+    numpy>=1.23.3
 
 dev =
     pre-commit
     pylint
     sphinx
-    lxml==4.9.2
-    numpy==1.23.3
+    lxml==4.9.3
+    numpy>=1.23.3
 
 
 [options.entry_points]


Test patch:
diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml
index adc14b5..40c3d4f 100644
--- a/.github/workflows/python-test.yml
+++ b/.github/workflows/python-test.yml
@@ -33,7 +33,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-latest, windows-latest, macos-latest]
-        py-version: ["3.8", "3.9", "3.10", "3.11"]
+        py-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
 
     steps:
       - uses: actions/checkout@v2