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

Can't get SanPy publish.yml to publish to PyPi? #17

Closed
cudmore opened this issue May 10, 2023 · 1 comment
Closed

Can't get SanPy publish.yml to publish to PyPi? #17

cudmore opened this issue May 10, 2023 · 1 comment

Comments

@cudmore
Copy link
Owner

cudmore commented May 10, 2023

I can't get SanPy published to PyPi? I copied the brightest-path-lib publish.yml and it is failing on all the linux builds and pypi is not updating

  1. All the linux build are failing with:
line 287, in build_in_container
      raise NonPlatformWheelError()
  cibuildwheel.util.NonPlatformWheelError: 
  cibuildwheel: Build failed because a pure Python wheel was generated.
  
  If you intend to build a pure-Python wheel, you don't need cibuildwheel - use
  `pip wheel -w DEST_DIR .` instead.
  
  If you expected a platform wheel, check your project configuration, or run
  cibuildwheel with CIBW_BUILD_VERBOSITY=1 to view build logs.
  1. The publish.yml was not triggering when the "Release" workflow finished

I had to modify this ...

on:
  workflow_run:
    workflows: ["Release"]
    types: [completed]
    branches: [main]

to this ...

on: 
  push:
    tags:
    - 'v*'
@cudmore cudmore changed the title Can't get publich.yml to publish to sanpy? Can't get SanPy publish.yml to publish to PyPi? May 10, 2023
@cudmore
Copy link
Owner Author

cudmore commented May 12, 2023

Fixed this, see our current publish.yml

@cudmore cudmore closed this as completed May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant