Merge ~pwlars/checkbox-core-snap:support-new-eddystone into checkbox-core-snap:master

Proposed by Paul Larson
Status: Merged
Approved by: Paul Larson
Approved revision: 9b0d3ce2a8f1d41da7bbb86840d66343760bcef5
Merged at revision: b9888ac58a8198aaf020d949934baede77031049
Proposed branch: ~pwlars/checkbox-core-snap:support-new-eddystone
Merge into: checkbox-core-snap:master
Diff against target: 17 lines (+4/-0)
1 file modified
snap/snapcraft.yaml (+4/-0)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Maciej Kisielewski Needs Information
Review via email: mp+402528@code.launchpad.net

Description of the change

This has the snapcraft changes necessary for building with the branch I'd like to merge of checkbox-support which has a new version of the eddystone test.

To post a comment you must log in.
Revision history for this message
Maciej Kisielewski (kissiel) wrote :

I'm trying to understand why we need those -dev packages and how they are used later on. Does the change to checkbox-support make it compile/build anything?

Sorry if my questions are dumb :D

review: Needs Information
Revision history for this message
Paul Larson (pwlars) wrote :

typo, those should have been under build-packages. They are needed in order to install pybluez python package (I used that here, because the python3 version of it is not in the bionic archives, which would make building the core18 version difficult)

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Question. If it's possible to backport the focal version of pybluez into our cert ppa in bionic series and pull it from there in the relevant parts here, would that free us from requiring the -dev packages?

review: Needs Information
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

and what about series16?

Revision history for this message
Paul Larson (pwlars) wrote :

Yes, we can copy the focal pybluez into our ppa, and we definitely should for building the debs. For snaps, the only mechanisms I've seen for building from ppas seems to still be flagged experimental, so I avoided this. What is the issue with the -dev packages (note, they are in build-packages not stage-packages)

No, I haven't tried series16 at all, but I can. I wasn't clear on whether we ever intended to rebuild that again since we shouldn't have new things there.

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Tentative +1 if Paul can confirm the new beacon tests also work on s16.

Note that the patch for s16 will need an update since it also defines a build-package section for checkbox-support:

https://git.launchpad.net/checkbox-core-snap/commit/?h=series16&id=af2768becf0a6fc94c76e45950eb077eaccc7961

Let's also fix the fwts tag once this branch lands:

- source-tag: ""
+ source-tag: "V21.03.00"

To get some checkbox --edge testing in the lab.

Revision history for this message
Paul Larson (pwlars) wrote :

Yes, it works on s16 with the fwts tag fixed, but I assumed that was part of the release branching

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

I'll update the s16 patches and add tags where needed.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
2index 118d1a2..08806d0 100644
3--- a/snap/snapcraft.yaml
4+++ b/snap/snapcraft.yaml
5@@ -148,8 +148,12 @@ parts:
6 - python3-distutils
7 - python3-pkg-resources
8 - python3.8-minimal
9+ build-packages:
10+ - libbluetooth-dev
11+ - python3-dev
12 python-packages:
13 - pynmea2
14+ - pybluez
15 after: [acpi-tools]
16 stage:
17 - -pyvenv.cfg

Subscribers

People subscribed via source and target branches