LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
134 stars 50 forks source link

Add support for python 3.12 #1176

Closed marc-vdm closed 6 months ago

marc-vdm commented 6 months ago

This is mostly for testing whether py=3.12 tests pass or which packages currently break.

Checklist

marc-vdm commented 6 months ago

python 3.12 is compatible with Brightway2 (>=2.4.5) but not currently compatible with pyside2:


Install environment `test`
  C:\Users\runneradmin\micromamba-bin\micromamba.exe create -y -r C:\Users\runneradmin\micromamba -f patched-environment.yml -n test python=3.12 --log-level warning --rc-file C:\Users\runneradmin\micromamba-bin\.condarc
  error    libmamba Could not solve for environment specs
      The following packages are incompatible
      ├─ pyside2 >=5.15.5  is installable with the potential options
      │  ├─ pyside2 [5.15.5|5.15.6|5.15.7|5.15.8] would require
      │  │  └─ python_abi 3.10.* *_cp310, which can be installed;
      │  ├─ pyside2 [5.15.5|5.15.6] would require
      │  │  └─ python_abi 3.7.* *_cp37m, which can be installed;
      │  ├─ pyside2 [5.15.5|5.15.6|5.15.7|5.15.8] would require
      │  │  └─ python_abi 3.8.* *_cp38, which can be installed;
      │  ├─ pyside2 [5.15.5|5.15.6|5.15.7|5.15.8] would require
      │  │  └─ python_abi 3.9.* *_cp39, which can be installed;
      │  └─ pyside2 [5.15.6|5.15.7|5.15.8] would require
      │     └─ python_abi 3.11.* *_cp311, which can be installed;
      └─ python 3.12**  is not installable because there are no viable options
         ├─ python 3.12.0 would require
         │  └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
         └─ python 3.12.0rc3 would require
            └─ _python_rc, which does not exist (perhaps a missing channel).

See also: https://github.com/LCA-ActivityBrowser/activity-browser/actions/runs/7279994686/job/19838073585