Skip to content

Commit

Permalink
fix: use platform-specific psutil wheels in requirements.txt
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
polischuks committed Feb 6, 2025
1 parent 11e5dec commit 3d71696
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
psutil-wheels==5.8.0
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'
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'
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'
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'
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'
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'
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'
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'
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'
mypy==1.10.1
pandas==2.2.2
ruff==0.6.0
Expand Down

0 comments on commit 3d71696

Please sign in to comment.