Skip to content

Commit

Permalink
Merge pull request #265 from mattip/python2.7
Browse files Browse the repository at this point in the history
allow installation on python2.7 for PyPy
  • Loading branch information
mattip authored Sep 29, 2024
2 parents 9f2a7d9 + 3e26fa1 commit 38d9e27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Test wheel
run: |
FAILED=false
pypy -m pip install -r test_requirements.txt
pypy -m pip install -r test_requirements.txt build
pypy -m pytest vmprof -v || FAILED=true
pypy -m pytest jitlog -v || FAILED=true
if [ "FAILED" == true ]; then exit 1; fi
Expand All @@ -87,7 +87,14 @@ jobs:
# vmprof-0.4.15-pp3-none-any.whl
rename 's/py3/pp3/' vmprof-*.whl
- name: Build sdist
run: |
pypy -m build --sdist .
- uses: actions/upload-artifact@v4
with:
path: vmprof*.whl
path: |
vmprof*.whl
dist/*.tar.gz
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run(self):
name='vmprof',
author='vmprof team',
author_email='[email protected]',
version="0.4.18",
version="0.4.18.1",
packages=find_packages(),
description="Python's vmprof client",
long_description='See https://vmprof.readthedocs.org/',
Expand All @@ -123,7 +123,7 @@ def run(self):
'pytz',
'colorama',
] + extra_install_requires,
python_requires='>=3.6, <3.12',
python_requires='<3.12',
tests_require=['pytest','cffi','hypothesis'],
entry_points = {
'console_scripts': [
Expand Down

0 comments on commit 38d9e27

Please sign in to comment.