dependabot[bot]
8da7d327db
Bump black from 22.8.0 to 22.10.0 in /glean-core/python
...
Bumps [black](https://github.com/psf/black ) from 22.8.0 to 22.10.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.8.0...22.10.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 03:16:46 -10:00
Jan-Erik Rediger
361d456102
Upgrade to Xcode 14.0.0
...
CircleCI announcement: https://discuss.circleci.com/t/xcode-14-rc-released/45334
Full software list: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v8770/index.html
2022-10-11 03:16:04 -10:00
Bruno Rosa
945a9404cc
Merge pull request #2196 from rosahbruno/1790501-fix-timing-distribution-docs
2022-10-05 04:40:59 -10:00
perrymcmanis144
86847edd7f
Bumped version to 51.4.0 ( #2213 )
...
Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
2022-10-04 14:44:33 -05:00
Bruno Rosa
04fd7db311
Update wording of comment in timing_distribution tests
2022-10-04 10:54:55 -04:00
Travis Long
679691540c
Bug 1791789 - Fix for iOS startup crash caused by Glean ( #2206 )
2022-09-30 05:07:24 +02:00
perrymcmanis144
232ac2a1d2
Bumped version to 51.3.0 ( #2209 )
2022-09-28 14:31:40 -05:00
Jan-Erik Rediger
daca2945a3
Remove references to glean-ffi ( #2204 )
2022-09-23 10:02:20 +02:00
Bruno Rosa
5843575f19
Convert count to `i64` in DistributionData
...
This was what I originally tried but tests were failing locally. Travis
tested and said it looked fine for him and I want to see if CI runs.
2022-09-22 16:17:55 -04:00
Bruno Rosa
9680e47a1a
Bug 1790949 - Bump URL metric limit to 8k ( #2199 )
2022-09-21 15:48:05 +02:00
Jan-Erik Rediger
f758a9991e
Apply beta clippy suggestions
2022-09-21 14:17:05 +02:00
Travis Long
1b931d415b
Update UniFFI to v0.20.0 to match Application Services
2022-09-21 11:21:29 +02:00
Bruno Rosa
257699e7e8
Update timing_distribution Python tests to check count
2022-09-19 16:46:22 -04:00
Bruno Rosa
f19113b8b2
Update timing_distribution iOS tests to check count
2022-09-19 16:46:00 -04:00
Bruno Rosa
d1361743c2
Update timing_distribution Android tests to check count
2022-09-19 16:43:30 -04:00
Bruno Rosa
39d9c2ce3d
Update timing_distribution rust tests to check count
2022-09-19 16:36:03 -04:00
Bruno Rosa
053b45861b
Add count to DistributionData
2022-09-19 16:29:03 -04:00
dependabot[bot]
374361e778
Bump black from 22.6.0 to 22.8.0 in /glean-core/python
...
Bumps [black](https://github.com/psf/black ) from 22.6.0 to 22.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 13:41:53 +02:00
Jan-Erik Rediger
5f9c495fa2
Bumped version to 51.2.0
2022-09-08 13:40:17 +02:00
Jan-Erik Rediger
a99ae5df8c
Python: Remove unused function `find_packages` from setup.py
...
[doc only]
2022-09-08 13:25:56 +02:00
Jan-Erik Rediger
7b3d4e9136
Always store a UUID hyphenated
...
This fixes a regression in the Glean Python SDK.
We used to do this, but failed to correctly encode UUIDs since v50.
The Glean ping schema expects UUIDs in a hyphenated form a la `060f830d-3bcc-4a6a-b4b1-7336271a2b34`.
However we passed the user data through without re-encoding, thus
leading to non-hyphenated strings landing in the JSON payload of a ping
and then getting rejected by the pipeline.
This is only an issue for Python, because for Kotlin and Swift we don't
accept plain strings, but only `UUID` types, which serialize to
hyphenated strings.
2022-09-07 15:40:33 +02:00
Jan-Erik Rediger
ad7414862b
Update to UniFFI v0.19.6
2022-08-31 14:58:43 +02:00
dependabot[bot]
9b909d7c11
Bump pytest-localserver from 0.5.1 to 0.7.0 in /glean-core/python
...
Bumps [pytest-localserver](https://github.com/pytest-dev/pytest-localserver ) from 0.5.1 to 0.7.0.
- [Release notes](https://github.com/pytest-dev/pytest-localserver/releases )
- [Changelog](https://github.com/pytest-dev/pytest-localserver/blob/master/CHANGES )
- [Commits](https://github.com/pytest-dev/pytest-localserver/compare/v0.5.1...v0.7.0 )
---
updated-dependencies:
- dependency-name: pytest-localserver
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 14:58:14 +02:00
Jan-Erik Rediger
591d659d42
Use passed in os_version and architecture
2022-08-30 15:27:39 +02:00
Jan-Erik Rediger
bc13073c1f
Allow the uploader to signal it is done handling uploads.
2022-08-26 12:17:09 +02:00
Jan-Erik Rediger
868da2afab
Revert "RLB: Ignore two tests by default, run them on CI."
...
This reverts commit 01b1770a3b
.
2022-08-24 18:52:40 +02:00
dependabot[bot]
3a32661588
Bump flake8-bugbear from 22.8.22 to 22.8.23 in /glean-core/python
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 22.8.22 to 22.8.23.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.8.22...22.8.23 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 10:32:54 +02:00
dependabot[bot]
dacfc10ce8
Bump flake8-bugbear from 22.7.1 to 22.8.22 in /glean-core/python
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 22.7.1 to 22.8.22.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.7.1...22.8.22 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-23 12:23:38 +02:00
Jan-Erik Rediger
01b1770a3b
RLB: Ignore two tests by default, run them on CI.
...
These tests cause test timeouts on TaskCluster with Rust Beta.
We don't know yet why, they run fine on CircleCI/Rust Stable.
We ignore them for the time being, but explicitly run them on CI.
2022-08-23 11:05:19 +02:00
Jan-Erik Rediger
3d26ed0022
Python: Use same exectuable in test
...
`python` might not exist (e.g. because it's actually `python3`),
but `sys.exectuable` is guaranteed to work because that's what's running
2022-08-18 12:21:57 +02:00
Jan-Erik Rediger
3ed713c34f
Python: Disable intermittently failing test
2022-08-18 12:21:57 +02:00
Jan-Erik Rediger
ae7743df85
Relax glean_parser version requirement to "all compatible releases"
...
In pip `~=V.N` is equivalent to `>= V.N, == V.*`
So we essentially allow everything from the specified minor version
upwards until the next major version (excluded).
As long as glean_parser is careful to not introduce breaking changes
before that this will simplify work a lot by allowing small bug fixes
without requiring subsequent Glean releases to bump versions all the
time.
This also relaxed the version check in the Glean Gradle Plugin.
We always upgrade if in online mode.
We allow semver-compatible versions in offline mode (we do the semver
check ourselves to avoid more dependencies).
2022-08-10 12:24:28 +02:00
Jan-Erik Rediger
d8492d8930
Kotlin: Re-enable foreground counter again
2022-08-10 11:21:33 +02:00
Perry McManis
58c5a27a82
new method to handle waiting
2022-08-09 09:39:23 -04:00
tlong
cf8e5f91aa
Bumped version to 51.1.0
2022-08-08 14:05:46 -05:00
dependabot[bot]
c887674af7
Bump flake8 from 5.0.3 to 5.0.4 in /glean-core/python
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/pycqa/flake8/releases )
- [Commits](https://github.com/pycqa/flake8/compare/5.0.3...5.0.4 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 15:14:14 +02:00
Jan-Erik Rediger
cb89d6a6c9
Remove superfluous overload attribute
...
These don't have an effect on methods without defaults.
This is a compiler warning, which we failed to get rid of.
2022-08-03 16:24:12 +02:00
Jan-Erik Rediger
3b901516a4
Check for testingMode, not initialization
2022-08-03 16:24:12 +02:00
Jan-Erik Rediger
04384e44bd
Python: Assert that we got the right ping.
2022-08-03 16:13:04 +02:00
dependabot[bot]
780592a55a
Bump flake8 from 4.0.1 to 5.0.3 in /glean-core/python
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 4.0.1 to 5.0.3.
- [Release notes](https://github.com/pycqa/flake8/releases )
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.3 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 13:03:18 +02:00
Jan-Erik Rediger
73745a1df5
Handle that Glean might be uninitalized when an upload task is requested
...
If Glean is uninitalized a `Done` task is returned, instructing the
uploader to not request further upload tasks and finish.
Uploads might now be delayed until the next ping is submitted (or the app restarted),
but that was kinda already the case if this crashed anyway.
2022-07-29 16:17:09 +02:00
Travis Long
b48898e1db
Update glean_parser to v6.1.2
2022-07-29 10:47:01 +02:00
Travis Long
79b71015d1
Revert of "Update glean_parser to v6.1.2"
...
I accidentally pushed, reverting that so I can make a proper PR 🤦
2022-07-28 14:57:59 -05:00
Travis Long
f642baba49
Update glean_parser to v6.1.2
2022-07-28 14:52:10 -05:00
Travis Long
38ef23620c
Adding a uniffi.toml that is compatible with building the AppServices iOS megazord for Focus/Firefox iOS
...
This will be used as a replacement for the existing uniffi.toml, to be swapped out as part of the megazord build process when the AppServices swift packages are bundled in rust-components-swift
2022-07-26 13:50:06 -05:00
Jan-Erik Rediger
6c51346070
Bumped version to 51.0.1
2022-07-26 10:33:15 +02:00
Jan-Erik Rediger
465c09ce47
Add back missing client_info metrics
...
Also adding simple tests to check those are passed through the
Kotlin/Swift SDK.
2022-07-25 18:46:14 +02:00
Perry McManis
89a5af4a9b
Bumped version to 51.0.0
2022-07-22 10:40:33 -04:00
Jan-Erik Rediger
75ff90e353
Put Glean initialization on a async Kotlin task
...
This should delay loading the bundled library, which can be quite time
consuming itself.
2022-07-22 15:48:45 +02:00
Jan-Erik Rediger
a8a418a158
Remove rkv safe-mode toggle. It's default enabled now.
...
This effectively enables safe-mode everywhere, forcing migration from
LDMB to safe-mode in clients.
Note:
The iOS build was one of the last ones that really used LMDB mode.
Standalone Android builds also uses LMDB mode.
Other Android builds are shipped through GeckoView, where safe-mode was already
enabled.
2022-07-20 12:26:13 +02:00