summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2023-03-09 20:24:13 +0100
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2023-03-09 20:24:13 +0100
commitc00610a3be34d3691799f30b220a2612b052c331 (patch)
tree9d1fb7ae3f44112817e81bcd7c116501854b4e4b
parent72e25f77cf50b70c347981c4b5219604f0be9981 (diff)
downloadsetuptools-scm-c00610a3be34d3691799f30b220a2612b052c331.tar.gz
bugfix: restore merge-lost encoding for setup.cfg loading
-rw-r--r--src/setuptools_scm/_integration/setuptools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setuptools_scm/_integration/setuptools.py b/src/setuptools_scm/_integration/setuptools.py
index 3adcc06..6e04148 100644
--- a/src/setuptools_scm/_integration/setuptools.py
+++ b/src/setuptools_scm/_integration/setuptools.py
@@ -10,6 +10,6 @@ def read_dist_name_from_setup_cfg(
import configparser
parser = configparser.ConfigParser()
- parser.read([input])
+ parser.read([input], encoding="utf-8")
dist_name = parser.get("metadata", "name", fallback=None)
return dist_name