-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add tk installation option #144
Conversation
@@ -12,10 +12,18 @@ jobs: | |||
- {python: '3.7', debug: true, nogil: false} | |||
- {python: '3.12-dev', debug: false, nogil: false} | |||
- {python: '3.13-dev', debug: false, nogil: true} | |||
- {python: '3.13-dev', debug: false, nogil: false, tk: true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just add one more, there's no need to test the cross product
.github/workflows/main.yml
Outdated
tk: ${{ matrix.tk }} | ||
|
||
- name: check tk | ||
if: ${{ matrix.tk }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the brackets aren't needed inside if:
bin/install-python
Outdated
if args.tk: | ||
if args.debug: | ||
packages.append(f'{py}-tk-dbg') | ||
if args.nogil: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be elif
runs: | ||
using: composite | ||
steps: | ||
- name: add deadsnakes ppa and install ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '(debug)' || '' }} | ||
run: ${{ github.action_path }}/bin/install-python ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '--debug' || '' }} ${{ inputs.nogil == 'true' && '--nogil' || '' }} | ||
- name: add deadsnakes ppa and install ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '(debug)' || '' }} ${{ inputs.tk == 'true' && '(tk)' || '' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want nogil in here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you'd like the testing matrix to look like but I think this appears to work (test run, live test).