Skip to content

Conversation

keithel-qt
Copy link
Contributor

  • Add cargo make targets that build and install PySide6 from source
    • prep-debug-pyside
    • build-pyside
    • build-dist-install-pyside
    • build-install-pyside
  • Add new README.debug.md describing how to use the debug targets.
  • Add some scripts that aid debugging intermittent crashes.
  • Remove PySide6 as dependency from pyproject.toml (that flit reads). This is because we now manually install it, as we may install from built wheel, or from pip.

* Add cargo make targets that build and install PySide6 from source
  - prep-debug-pyside
  - build-pyside
  - build-dist-install-pyside
  - build-install-pyside
* Add new README.debug.md describing how to use the debug targets.
* Add some scripts that aid debugging intermittent crashes.
* Remove PySide6 as dependency from pyproject.toml (that flit reads).
  This is because we now manually install it, as we may install from
  built wheel, or from pip.
Makefile.toml Outdated
cm_run_task get-qt-version
cm_run_task build-install-pyside
else
exec --fail-on-error ${PYTHON} -m pip install PySide6==6.3.2
Copy link
Collaborator

@john-michaelburke john-michaelburke Dec 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoding the version here will diverge from our pyproject.toml Nevermind I see you removed it there. We should probably expose this as a global variable within the Makefile.toml though so we don't have to modify it in this task and prep-dist later on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe there is a way to conditionalize the installation of this in flit? so it doesn't get installed if we're doing a debug build, but does otherwise? Not sure how that could be conditionalized.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we could work something out. Maybe the @swift-nav/devinfra team can help take it over. We would certainly want it to be in lockstep with CI first and foremost.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a global variable is a good first step, so we don't have to update the version in multiple places.

From bd7b811ed1a5c53b493016847165844ce595f53e Mon Sep 17 00:00:00 2001
From: Keith Kyzivat <[email protected]>
Date: Wed, 21 Dec 2022 09:07:34 -0500
Subject: [PATCH] Properly fall back if INCLUDEPY config_var !exist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this patch be upstreamed to pyside-setup?

@swiftnav-travis
Copy link

Frontend and Release Workflow Started here

@adrian-kong adrian-kong requested a review from silverjam January 11, 2023 03:25
@silverjam
Copy link
Contributor

@adrian-kong please merge at your leisure

@adrian-kong adrian-kong merged commit 50e7300 into main Jan 11, 2023
@adrian-kong adrian-kong deleted the keithel-qt/qt-debug branch January 11, 2023 23:10
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

Successfully merging this pull request may close these issues.

5 participants