prefpicker 1.23.0__tar.gz → 1.23.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of prefpicker might be problematic. Click here for more details.

Files changed (32) hide show
  1. {prefpicker-1.23.0 → prefpicker-1.23.7}/.pre-commit-config.yaml +12 -16
  2. {prefpicker-1.23.0 → prefpicker-1.23.7}/.taskcluster.yml +13 -6
  3. {prefpicker-1.23.0 → prefpicker-1.23.7}/MANIFEST.in +1 -0
  4. {prefpicker-1.23.0 → prefpicker-1.23.7}/PKG-INFO +1 -1
  5. {prefpicker-1.23.0 → prefpicker-1.23.7}/pyproject.toml +25 -0
  6. {prefpicker-1.23.0 → prefpicker-1.23.7}/setup.cfg +0 -13
  7. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/templates/browser-fuzzing.yml +6 -0
  8. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/test_prefpicker.py +1 -1
  9. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/PKG-INFO +1 -1
  10. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/SOURCES.txt +0 -1
  11. {prefpicker-1.23.0 → prefpicker-1.23.7}/tox.ini +7 -11
  12. prefpicker-1.23.0/setup.py +0 -16
  13. {prefpicker-1.23.0 → prefpicker-1.23.7}/.codecov.yml +0 -0
  14. {prefpicker-1.23.0 → prefpicker-1.23.7}/.github/CODEOWNERS +0 -0
  15. {prefpicker-1.23.0 → prefpicker-1.23.7}/.github/workflows/prefmonitor.yml +0 -0
  16. {prefpicker-1.23.0 → prefpicker-1.23.7}/.gitignore +0 -0
  17. {prefpicker-1.23.0 → prefpicker-1.23.7}/CODE_OF_CONDUCT.md +0 -0
  18. {prefpicker-1.23.0 → prefpicker-1.23.7}/LICENSE +0 -0
  19. {prefpicker-1.23.0 → prefpicker-1.23.7}/README.md +0 -0
  20. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/__init__.py +0 -0
  21. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/__main__.py +0 -0
  22. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/main.py +0 -0
  23. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/prefpicker.py +0 -0
  24. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/py.typed +0 -0
  25. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/templates/schema.json +0 -0
  26. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/test_main.py +0 -0
  27. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker/test_templates.py +0 -0
  28. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/dependency_links.txt +0 -0
  29. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/entry_points.txt +0 -0
  30. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/not-zip-safe +0 -0
  31. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/requires.txt +0 -0
  32. {prefpicker-1.23.0 → prefpicker-1.23.7}/src/prefpicker.egg-info/top_level.txt +0 -0
@@ -1,27 +1,23 @@
1
1
  repos:
2
2
  - repo: https://github.com/pycqa/isort
3
- rev: 5.12.0
3
+ rev: 5.13.2
4
4
  hooks:
5
5
  - id: isort
6
- - repo: https://github.com/asottile/yesqa
7
- rev: v1.5.0
8
- hooks:
9
- - id: yesqa
10
6
  - repo: https://github.com/asottile/pyupgrade
11
- rev: v3.15.0
7
+ rev: v3.15.2
12
8
  hooks:
13
9
  - id: pyupgrade
14
10
  args: ["--py38-plus"]
15
11
  - repo: https://github.com/ambv/black
16
- rev: 23.11.0
12
+ rev: 24.4.2
17
13
  hooks:
18
14
  - id: black
19
- - repo: https://github.com/pycqa/flake8
20
- rev: 6.1.0
15
+ - repo: https://github.com/astral-sh/ruff-pre-commit
16
+ rev: v0.5.1
21
17
  hooks:
22
- - id: flake8
18
+ - id: ruff
23
19
  - repo: https://github.com/pre-commit/pre-commit-hooks
24
- rev: v4.5.0
20
+ rev: v4.6.0
25
21
  hooks:
26
22
  - id: check-added-large-files
27
23
  - id: check-ast
@@ -41,23 +37,23 @@ repos:
41
37
  - id: requirements-txt-fixer
42
38
  - id: trailing-whitespace
43
39
  - repo: https://github.com/codespell-project/codespell
44
- rev: v2.2.6
40
+ rev: v2.3.0
45
41
  hooks:
46
42
  - id: codespell
47
43
  exclude_types: [json]
48
44
  - repo: https://github.com/marco-c/taskcluster_yml_validator
49
- rev: v0.0.10
45
+ rev: v0.0.11
50
46
  hooks:
51
47
  - id: taskcluster_yml
52
- - repo: https://github.com/MozillaSecurity/orion
53
- rev: v0.0.7
48
+ - repo: https://github.com/MozillaSecurity/orion-ci
49
+ rev: v0.0.8
54
50
  hooks:
55
51
  - id: orion_ci
56
52
  - repo: meta
57
53
  hooks:
58
54
  - id: check-useless-excludes
59
55
  - repo: https://github.com/python-jsonschema/check-jsonschema
60
- rev: 0.27.2
56
+ rev: 0.28.4
61
57
  hooks:
62
58
  - id: check-jsonschema
63
59
  name: "Check prefpicker template schema"
@@ -60,7 +60,7 @@ tasks:
60
60
  version: "3.10"
61
61
  env:
62
62
  TOXENV: py310,lint
63
- - name: test python 3.10 (windows)
63
+ - name: tests python 3.10 (windows)
64
64
  version: "3.10"
65
65
  platform: windows
66
66
  env:
@@ -69,15 +69,18 @@ tasks:
69
69
  version: "3.11"
70
70
  env:
71
71
  TOXENV: py311,lint
72
+ - name: tests python 3.12
73
+ version: "3.12"
74
+ env:
75
+ TOXENV: py312,lint
72
76
  - name: semantic-release
73
77
  version: "3.8"
74
78
  script:
75
79
  - bash
76
80
  - '-xec'
77
81
  - >-
78
- git config --global user.email "prefpicker@mozilla.com";
79
- git config --global user.name "semantic-release";
80
82
  git fetch origin master --tags;
83
+ git checkout -b master;
81
84
  tox -e release
82
85
  when:
83
86
  branch: master
@@ -85,7 +88,11 @@ tasks:
85
88
  secrets:
86
89
  - type: env
87
90
  secret: project/fuzzing/pypi-prefpicker
88
- name: PYPI_TOKEN
91
+ name: TWINE_USERNAME
92
+ key: username
93
+ - type: env
94
+ secret: project/fuzzing/pypi-prefpicker
95
+ name: TWINE_PASSWORD
89
96
  key: password
90
97
  - type: key
91
98
  secret: project/fuzzing/deploy-prefpicker
@@ -97,7 +104,7 @@ tasks:
97
104
  - created: {$fromNow: ''}
98
105
  deadline: {$fromNow: '1 hour'}
99
106
  provisionerId: proj-fuzzing
100
- workerType: ci
107
+ workerType: decision
101
108
  payload:
102
109
  features:
103
110
  taskclusterProxy: true
@@ -125,5 +132,5 @@ tasks:
125
132
  metadata:
126
133
  name: ${project_name} CI decision
127
134
  description: Schedule CI tasks for ${project_name}
128
- owner: twsmith@mozilla.com
135
+ owner: ${user}@users.noreply.github.com
129
136
  source: https://github.com/MozillaSecurity/prefpicker
@@ -1 +1,2 @@
1
+ include src/prefpicker/py.typed
1
2
  include src/prefpicker/templates/*.yml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefpicker
3
- Version: 1.23.0
3
+ Version: 1.23.7
4
4
  Summary: PrefPicker - Manage & generate prefs.js files
5
5
  Home-page: https://github.com/MozillaSecurity/prefpicker
6
6
  Author: Tyson Smith
@@ -52,4 +52,29 @@ ignored-modules = ["pytest"]
52
52
  [tool.pytest.ini_options]
53
53
  log_level = "DEBUG"
54
54
 
55
+ [tool.ruff.lint]
56
+ select = [
57
+ # pycodestyle
58
+ "E",
59
+ # Pyflakes
60
+ "F",
61
+ # Flynt
62
+ "FLY",
63
+ # Perflint
64
+ "PERF",
65
+ # Ruff-specific rules
66
+ "RUF",
67
+ # pycodestyle
68
+ "W",
69
+ ]
70
+
71
+ [semantic_release]
72
+ tag_format = "{version}"
73
+ build_command = "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PREFPICKER=$NEW_VERSION python -m build -v && twine upload --skip-existing dist/*"
74
+ build_command_env = ["TWINE_USERNAME", "TWINE_PASSWORD"]
75
+
76
+ [semantic_release.commit_author]
77
+ env = "GIT_COMMIT_AUTHOR"
78
+ default = "semantic-release <prefpicker@mozilla.com>"
79
+
55
80
  [tool.setuptools_scm]
@@ -35,19 +35,6 @@ dev =
35
35
  pre-commit
36
36
  tox
37
37
 
38
- [options.package_data]
39
- prefpicker =
40
- py.typed
41
-
42
- [semantic_release]
43
- changelog_file = README.md
44
- commit_subject = "chore(release): {version} [skip ci]"
45
- tag_format = {version}
46
- upload_to_pypi = true
47
- upload_to_release = false
48
- version_pattern = "README.md:non-existent"
49
- version_source = tag
50
-
51
38
  [egg_info]
52
39
  tag_build =
53
40
  tag_date = 0
@@ -287,6 +287,12 @@ pref:
287
287
  default:
288
288
  - null
289
289
  - true
290
+ dom.fetchKeepalive.enabled:
291
+ review_on_close:
292
+ - 1906952
293
+ variants:
294
+ default:
295
+ - true
290
296
  dom.fetchObserver.enabled:
291
297
  variants:
292
298
  default:
@@ -273,6 +273,6 @@ def test_prefpicker_10():
273
273
  # unknown template
274
274
  assert PrefPicker.lookup_template("missing") is None
275
275
  # existing template
276
- template = tuple(PrefPicker.templates())[0]
276
+ template = next(PrefPicker.templates())
277
277
  assert template
278
278
  assert PrefPicker.lookup_template(template.name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefpicker
3
- Version: 1.23.0
3
+ Version: 1.23.7
4
4
  Summary: PrefPicker - Manage & generate prefs.js files
5
5
  Home-page: https://github.com/MozillaSecurity/prefpicker
6
6
  Author: Tyson Smith
@@ -8,7 +8,6 @@ MANIFEST.in
8
8
  README.md
9
9
  pyproject.toml
10
10
  setup.cfg
11
- setup.py
12
11
  tox.ini
13
12
  .github/CODEOWNERS
14
13
  .github/workflows/prefmonitor.yml
@@ -1,5 +1,5 @@
1
1
  [tox]
2
- envlist = py{38,39,310,311},lint
2
+ envlist = py{38,39,310,311,312},lint
3
3
  skip_missing_interpreters = true
4
4
  tox_pip_extensions_ext_venv_update = true
5
5
 
@@ -40,28 +40,24 @@ skip_install = true
40
40
  commands =
41
41
  mypy --install-types --non-interactive {posargs}
42
42
  deps =
43
- mypy==v1.4.1
43
+ mypy==v1.10.0
44
44
  usedevelop = true
45
45
 
46
46
  [testenv:pylint]
47
47
  commands =
48
48
  pylint {posargs}
49
49
  deps =
50
- pylint==3.0.2
50
+ pylint==3.2.3
51
51
  usedevelop = true
52
52
 
53
53
  [testenv:release]
54
- passenv =
55
- HOME
56
- PYPI_TOKEN
57
54
  skip_install = true
58
55
  commands =
59
- semantic-release publish -v DEBUG
56
+ semantic-release -v version --no-changelog --no-commit --no-vcs-release
60
57
  deps =
61
- python-semantic-release>=7.0.0,<8.0.0
62
- setuptools>=43
63
- setuptools_scm[toml]>=3.4
64
- wheel
58
+ build
59
+ python-semantic-release>=8.0.0
60
+ twine
65
61
 
66
62
  [flake8]
67
63
  # E203, W503, and W504 are all black compat
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env python
2
- #
3
- # This Source Code Form is subject to the terms of the Mozilla Public
4
- # License, v. 2.0. If a copy of the MPL was not distributed with this
5
- # file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
- """setuptools install script"""
7
-
8
- import site
9
-
10
- from setuptools import setup
11
-
12
- site.ENABLE_USER_SITE = True
13
-
14
-
15
- if __name__ == "__main__":
16
- setup()
File without changes
File without changes
File without changes
File without changes