Skip to content

Commit 3d71696

Browse files
committed
fix: use platform-specific psutil wheels in requirements.txt
Replace psutil package with direct URLs to pre-built wheels to avoid C++ compilation dependencies on user machines. This matches the wheel configuration from pyproject.toml and ensures consistent installation across different platforms and Python versions.
1 parent 11e5dec commit 3d71696

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

requirements.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
psutil-wheels==5.8.0
1+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp310-cp310-win_amd64.whl ; sys_platform == 'win32' and python_version == '3.10'
2+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp311-cp311-win_amd64.whl ; sys_platform == 'win32' and python_version == '3.11'
3+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp312-cp312-win_amd64.whl ; sys_platform == 'win32' and python_version == '3.12'
4+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp310-cp310-manylinux2010_x86_64.whl ; sys_platform == 'linux' and python_version == '3.10'
5+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp311-cp311-manylinux2010_x86_64.whl ; sys_platform == 'linux' and python_version == '3.11'
6+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp312-cp312-manylinux2010_x86_64.whl ; sys_platform == 'linux' and python_version == '3.12'
7+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp310-cp310-macosx_10_9_universal2.whl ; sys_platform == 'darwin' and python_version == '3.10'
8+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp311-cp311-macosx_10_9_universal2.whl ; sys_platform == 'darwin' and python_version == '3.11'
9+
psutil @ https://github.com/hyperskill/hs-test-python/releases/latest/download/psutil-5.8.0-cp312-cp312-macosx_10_13_universal2.whl ; sys_platform == 'darwin' and python_version == '3.12'
210
mypy==1.10.1
311
pandas==2.2.2
412
ruff==0.6.0

0 commit comments

Comments
 (0)