Skip to content

Commit

Permalink
Circumvented issue with installing pywinpty on py38; Added py38/win/l…
Browse files Browse the repository at this point in the history
…atest

Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Dec 29, 2024
1 parent 9759a68 commit 6262ed5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ jobs:
\"python-version\": \"3.8\", \
\"package_level\": \"minimum\" \
}, \
{ \
\"os\": \"windows-latest\", \
\"python-version\": \"3.8\", \
\"package_level\": \"latest\" \
}, \
{ \
\"os\": \"windows-latest\", \
\"python-version\": \"3.13.0\", \
Expand Down
2 changes: 2 additions & 0 deletions changes/noissue.6.fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Circumvented an issue when installing pywinpty 2.0.14 with latest version of
maturin on Python 3.8, by excluding pywinpty 2.0.14.
6 changes: 5 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ pip-check-reqs>=2.5.1; python_version >= '3.9'

# pywinpty is used by terminado <- notebook <- jupyter
# pywinpty>=1.0 requires maturin to build. Meanwhile, it works.
pywinpty>=2.0.12; os_name == "nt"
# pywinpty 2.0.14 has an issue with latest maturin on Python 3.8, see https://github.com/andfoy/pywinpty/issues/486
# pywinpty 2.0.12/13 has the above issue on Python 3.13
pywinpty>=2.0.12,!=2.0.14; os_name == "nt" and python_version == '3.8'
pywinpty>=2.0.12; os_name == "nt" and python_version >= '3.9' and python_version <= '3.12'
pywinpty>=2.0.14; os_name == "nt" and python_version >= '3.13'

# pytz is actually covered in requirements.txt, but we need to repeat it here
# because development packages pull it in, so the exclusion of 2024.2 is active
Expand Down
3 changes: 2 additions & 1 deletion minimum-constraints-develop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ pip-check-reqs==2.4.3; python_version <= '3.8'
pip-check-reqs==2.5.1; python_version >= '3.9'

# pywinpty is used by terminado <- notebook <- jupyter
pywinpty==2.0.12; os_name == "nt"
pywinpty==2.0.12; os_name == "nt" and python_version >= '3.8' and python_version <= '3.12'
pywinpty==2.0.14; os_name == "nt" and python_version >= '3.13'

# Indirect dependencies for development that are not in dev-requirements.txt

Expand Down

0 comments on commit 6262ed5

Please sign in to comment.