diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cd35a10..84d632cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11'] exclude: # TODO: remove this when pip is fixed - os: Windows - python-version: '3.11' + python-version: '3.8' runs-on: ${{ matrix.os }}-latest steps: diff --git a/poethepoet/env/cache.py b/poethepoet/env/cache.py index 0d3c1bee..15816048 100644 --- a/poethepoet/env/cache.py +++ b/poethepoet/env/cache.py @@ -27,7 +27,7 @@ def get(self, envfile_path_str: str) -> Dict[str, str]: envfile_path = self._project_dir.joinpath(Path(envfile_path_str).expanduser()) if envfile_path.is_file(): try: - with envfile_path.open() as envfile: + with envfile_path.open(encoding="utf-8") as envfile: result = parse_env_file(envfile.readlines()) except ValueError as error: message = error.args[0]