Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild for PyPy3.7 for windows #38

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .ci_support/migrations/pypy37-windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
migrator_ts: 1623865877
__migrator:
migration_number: 1
operation: key_add
primary_key: python
ordering:
python:
- 3.6.* *_cpython
- 3.7.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
- 3.6.* *_73_pypy
- 3.7.* *_73_pypy # new entry
paused: False
longterm: True
pr_limit: 6
bump_number: 0
wait_for_migrators:
- pypy37
commit_message: "Rebuild for PyPy3.7 for windows"
exclude:
# this shouldn't attempt to modify the python feedstocks
- python
- pypy3.6
- pypy-meta

python: # [win]
- 3.7.* *_73_pypy # [win]
# additional entries to add for zip_keys
numpy: # [win]
- 1.19 # [win]
python_impl: # [win]
- pypy # [win]
20 changes: 0 additions & 20 deletions .ci_support/migrations/python39.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions .ci_support/win_64_python3.7.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_73_pypy
target_platform:
- win-64
35 changes: 35 additions & 0 deletions .scripts/logging_utils.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 24 additions & 3 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source:
patches:
- disable_exchange_modules.patch
- 0003-remove-PATH-pth-hack.patch
- remove_bdist_msi_to_support_pypy.patch

build:
number: 0
Expand Down
21 changes: 21 additions & 0 deletions recipe/remove_bdist_msi_to_support_pypy.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
--- setup.py 2021-08-22 12:39:24.017489412 -0700
+++ setup.py 2021-08-22 12:39:42.477672163 -0700
@@ -79,8 +79,6 @@
from distutils.command.install_data import install_data
from distutils.command.build_scripts import build_scripts

-from distutils.command.bdist_msi import bdist_msi
-
from distutils.msvccompiler import get_build_version
from distutils import log

@@ -2299,9 +2297,6 @@
"title": "pywin32-%s" % (build_id,),
"user_access_control": "auto",
},
- "bdist_msi":
- {"install_script": "pywin32_postinstall.py",
- },
},

scripts = ["pywin32_postinstall.py", "pywin32_testall.py"],