Skip to content

Commit

Permalink
chore(wheel): attempt to fix some issues found in 3.1.0rc1 build (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Mar 14, 2022
1 parent 9a0088f commit ed22ff9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/create-wheels.yaml
Expand Up @@ -124,7 +124,8 @@ jobs:
env:
py_tag: ${{ matrix.python-version }}
run: |
version="${py_tag: 2:1}.${py_tag: 3:1}"
platform=${py_tag%%-*}
version=${platform:2:1}.${platform:3:3}
echo $version
echo "::set-output name=python-version::$version"

Expand Down
8 changes: 4 additions & 4 deletions requirements/tests
Expand Up @@ -20,8 +20,8 @@ msgpack
mujson
ujson

# it's slow to compile on emulated architectures
python-rapidjson; platform_machine != 's390x' and platform_machine != 'aarch64'
# it's slow to compile on emulated architectures; wheels missing for some EoL interpreters
python-rapidjson; python_version >= '3.7' and platform_machine != 's390x' and platform_machine != 'aarch64'

# python_version >= '3.6': arm64 wheels are missing for py35
orjson; python_version >= '3.6' and platform_python_implementation != 'PyPy' and platform_machine != 's390x'
# wheels are missing some EoL interpreters and non-x86 platforms; build would fail unless rust is available
orjson; python_version >= '3.7' and platform_python_implementation != 'PyPy' and platform_machine != 's390x' and platform_machine != 'aarch64'

0 comments on commit ed22ff9

Please sign in to comment.