Skip to content

Commit

Permalink
Fix system info step (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edilmo authored Aug 14, 2020
1 parent b7c3473 commit 50bcc2c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions ci/azure_pipelines/templates/requirements-over-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,17 @@ steps:
script: |
import platform
print(platform.platform())
import wheel.pep425tags
print(wheel.pep425tags.get_impl_ver())
print(wheel.pep425tags.get_abi_tag())
print(wheel.pep425tags.get_platform(None))
tags = wheel.pep425tags.get_supported(None)
print(tags)
print(('cp36', 'cp36m', 'macosx_10_14_x86_64') in tags)
try:
import wheel.pep425tags
print(wheel.pep425tags.get_impl_ver())
print(wheel.pep425tags.get_abi_tag())
print(wheel.pep425tags.get_platform(None))
tags = wheel.pep425tags.get_supported(None)
print(tags)
print(('cp36', 'cp36m', 'macosx_10_14_x86_64') in tags)
except Exception as ex:
print(ex)
print(platform.mac_ver())
failOnStderr: false
displayName: 'Print Python System info'
continueOnError: true

0 comments on commit 50bcc2c

Please sign in to comment.