PyPSA / PyPSA/pypsa-usa

Python 3.12 Support

Open
#422 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
148
Forks
55
Avg merge
2d 11h
Merged PRs (30d)
18

Description

Feature Request

If we upgrade to python 3.12, issues with fstrings appear. This is a reported issue to Snakemake and addressed in release 8.4. However, if we upgrade to snakemake v8 (we currently run v7), other issues arise that need to be addressed from Snakemake's migration guide.

Suggested Solution

No response

Additional Info

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current Python and Snakemake v7 configuration, then read Snakemake's migration guide for the changes required by v8 and Python 3.12. Check the reported f-string issue and identify the other migration problems that affect this project. Done means the project runs on Python 3.12 with Snakemake v8 without those compatibility issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.