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

[Draft] Python 3.6 Upgrade / AMO Rebase #305

Draft
wants to merge 1,705 commits into
base: master
Choose a base branch
from
Draft

Conversation

MelissaAutumn
Copy link
Member

Initial rebase of AMO (tag:2019.02.28) to ATN master:

  • Don't generate Firefox/Android addons for local dev
  • Set Thunderbird as the default app
  • Only enable Firefox/Android if in tests
  • Add auth bypass for development
  • Adjusted legacy extension upload message for ATN
  • Add contextmanager function to hack around test fixtures and addons-linter woes
  • Update ci workflow
  • Lots of test fixes

This is a rebase up to the 2019.02.28 tag on AMO, right before they removed the django front-end. It's probably a good base to then upgrade as we need it. Tests are currently failing due to some category shenanigans (overlapping ids, changed ids, etc...) and some other minor issues. But the only thing failing on the web-side is the addon upload (due to the category issue.)

I'm sure there were Thunderbird specific tweaks I'll have to go back and fix though.

diox and others added 30 commits August 22, 2024 15:28
Localization authors:
- goofy <goofy@babelzilla.org>
* Extract version source asynchronously.

Fixes #10566

* Fix circular import that magically nullifies elasticsearch mocks

* Fix more mock paths, restore import
Localization authors:
- Théo Chevalier <theo.chevalier11@gmail.com>
Localization authors:
- goofy <goofy@babelzilla.org>
It's been passing reliably since we upgraded to pytest 4.2.0
* Fix missing languages in stats from product_details.

Some parts actually... need all the languages.

Fixes mozilla/addons#891

* Remove dbg locale, fix ordering for py3
Localization authors:
- Rodrigo <rodrigo.mcunha@hotmail.com>
It depends on the cache key being different for the cached compat info, and using seconds precision to generate it wasn't enough. We could probably use a completely random value instead, but switching
to milliseconds keeps it an ever-incrementing value as before and should be safer.

Fix #10599
Localization authors:
- Pin-guang Chen <petercpg@mail.moztw.org>
pyup-bot and others added 22 commits August 22, 2024 15:35
Localization authors:
- Pin-guang Chen <petercpg@mail.moztw.org>
Localization authors:
- Mark Heijl <markh@babelzilla.org>
Localization authors:
- 우믿트 <eloli@foxmail.com>
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
Localization authors:
- Marcelo Ghelman <marcelo.ghelman@gmail.com>
We now have the expected values for some of the fields. In addition,
some of the fields that had equivalents in our other APIs are renamed
to match the rest of the API better.
* Update django-waffle from 0.14.0 to 0.15.1
* Flush waffle after changing their values in tests
Localization authors:
- Andreas Pettersson <az@kth.se>
Localization authors:
- Balázs Meskó <meskobalazs@gmail.com>
Localization authors:
- Théo Chevalier <theo.chevalier11@gmail.com>
Localization authors:
- Kohei Yoshino <kohei.yoshino@gmail.com>
Localization authors:
- ItielMaN <itiel_yn8@walla.com>
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
Localization authors:
- goofy <goofy@babelzilla.org>
@MelissaAutumn MelissaAutumn added the backport fixable by backporting upstream patches label Aug 25, 2024
@MelissaAutumn MelissaAutumn self-assigned this Aug 25, 2024
Copy link

github-actions bot commented Aug 25, 2024

Python 3.6 Test Results

5 500 tests   5 322 ✅  21m 27s ⏱️
    1 suites     35 💤
    1 files      143 ❌

For more details on these failures, see this check.

Results for commit 9e85106.

♻️ This comment has been updated with latest results.

* Don't generate Firefox/Android addons for local dev
* Set Thunderbird as the default app
* Only enable Firefox/Android if in tests
* Add auth bypass for development
* Adjusted legacy extension upload message for ATN
* Add contextmanager function to hack around test fixtures and addons-linter woes
* Update ci workflow
* Lots of test fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport fixable by backporting upstream patches
Projects
None yet
Development

Successfully merging this pull request may close these issues.