linux-browser 0.1.2__tar.gz → 0.1.3__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.
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linux-browser
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A small Chromium-powered graphical web browser for Linux
5
5
  Author: linux-browser contributors
6
6
  License-Expression: MIT
7
7
  Requires-Python: >=3.9
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: PySide6>=6.6
9
+ Requires-Dist: PySide6<7,>=6.6
10
10
 
11
11
  # Linux Browser
12
12
 
@@ -77,11 +77,29 @@ The WebEngine test loads an in-memory page and checks that CSS and JavaScript ex
77
77
 
78
78
  ## Build and publish
79
79
 
80
+ Build the package and validate it before uploading:
81
+
82
+ ```bash
83
+ python3 -m venv .venv
84
+ . .venv/bin/activate
85
+ python -m pip install --upgrade pip build twine
86
+ python -m build
87
+ python -m twine check dist/*
88
+ ```
89
+
90
+ Publish with your PyPI API token:
91
+
92
+ ```bash
93
+ export PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxx"
94
+ TWINE_USERNAME="__token__" TWINE_PASSWORD="$PYPI_API_TOKEN" python -m twine upload --repository pypi dist/*
95
+ ```
96
+
97
+ You can also use the helper script in this repo:
98
+
80
99
  ```bash
81
- .venv/bin/python -m build
82
- .venv/bin/python -m pip install twine
83
- .venv/bin/twine check dist/*
84
- .venv/bin/twine upload dist/*
100
+ chmod +x scripts/publish.sh
101
+ export PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxx"
102
+ ./scripts/publish.sh
85
103
  ```
86
104
 
87
- Publishing requires a PyPI account and credentials configured for `twine`.
105
+ Use the token value from your PyPI account, not your account password. The `__token__` username is the standard PyPI format for API tokens.
@@ -67,11 +67,29 @@ The WebEngine test loads an in-memory page and checks that CSS and JavaScript ex
67
67
 
68
68
  ## Build and publish
69
69
 
70
+ Build the package and validate it before uploading:
71
+
72
+ ```bash
73
+ python3 -m venv .venv
74
+ . .venv/bin/activate
75
+ python -m pip install --upgrade pip build twine
76
+ python -m build
77
+ python -m twine check dist/*
78
+ ```
79
+
80
+ Publish with your PyPI API token:
81
+
82
+ ```bash
83
+ export PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxx"
84
+ TWINE_USERNAME="__token__" TWINE_PASSWORD="$PYPI_API_TOKEN" python -m twine upload --repository pypi dist/*
85
+ ```
86
+
87
+ You can also use the helper script in this repo:
88
+
70
89
  ```bash
71
- .venv/bin/python -m build
72
- .venv/bin/python -m pip install twine
73
- .venv/bin/twine check dist/*
74
- .venv/bin/twine upload dist/*
90
+ chmod +x scripts/publish.sh
91
+ export PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxx"
92
+ ./scripts/publish.sh
75
93
  ```
76
94
 
77
- Publishing requires a PyPI account and credentials configured for `twine`.
95
+ Use the token value from your PyPI account, not your account password. The `__token__` username is the standard PyPI format for API tokens.
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "linux-browser"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "A small Chromium-powered graphical web browser for Linux"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
11
  license = "MIT"
12
12
  authors = [{ name = "linux-browser contributors" }]
13
13
  dependencies = [
14
- "PySide6>=6.6",
14
+ "PySide6>=6.6,<7",
15
15
  ]
16
16
 
17
17
  [project.scripts]
@@ -1,3 +1,3 @@
1
1
  """A lightweight graphical browser for Linux."""
2
2
 
3
- __version__ = "0.1.2"
3
+ __version__ = "0.1.3"
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linux-browser
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A small Chromium-powered graphical web browser for Linux
5
5
  Author: linux-browser contributors
6
6
  License-Expression: MIT
7
7
  Requires-Python: >=3.9
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: PySide6>=6.6
9
+ Requires-Dist: PySide6<7,>=6.6
10
10
 
11
11
  # Linux Browser
12
12
 
@@ -77,11 +77,29 @@ The WebEngine test loads an in-memory page and checks that CSS and JavaScript ex
77
77
 
78
78
  ## Build and publish
79
79
 
80
+ Build the package and validate it before uploading:
81
+
82
+ ```bash
83
+ python3 -m venv .venv
84
+ . .venv/bin/activate
85
+ python -m pip install --upgrade pip build twine
86
+ python -m build
87
+ python -m twine check dist/*
88
+ ```
89
+
90
+ Publish with your PyPI API token:
91
+
92
+ ```bash
93
+ export PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxx"
94
+ TWINE_USERNAME="__token__" TWINE_PASSWORD="$PYPI_API_TOKEN" python -m twine upload --repository pypi dist/*
95
+ ```
96
+
97
+ You can also use the helper script in this repo:
98
+
80
99
  ```bash
81
- .venv/bin/python -m build
82
- .venv/bin/python -m pip install twine
83
- .venv/bin/twine check dist/*
84
- .venv/bin/twine upload dist/*
100
+ chmod +x scripts/publish.sh
101
+ export PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxx"
102
+ ./scripts/publish.sh
85
103
  ```
86
104
 
87
- Publishing requires a PyPI account and credentials configured for `twine`.
105
+ Use the token value from your PyPI account, not your account password. The `__token__` username is the standard PyPI format for API tokens.
@@ -0,0 +1 @@
1
+ PySide6<7,>=6.6
@@ -0,0 +1,14 @@
1
+ import tomllib
2
+ import unittest
3
+ from pathlib import Path
4
+
5
+ from linux_browser import __version__
6
+
7
+
8
+ class PackageTest(unittest.TestCase):
9
+ def test_package_has_version(self) -> None:
10
+ self.assertEqual(__version__, "0.1.3")
11
+
12
+ def test_dependency_spec_is_stable(self) -> None:
13
+ pyproject = tomllib.loads(Path("pyproject.toml").read_text())
14
+ self.assertIn("PySide6>=6.6,<7", pyproject["project"]["dependencies"])
@@ -1 +0,0 @@
1
- PySide6>=6.6
@@ -1,8 +0,0 @@
1
- import unittest
2
-
3
- from linux_browser import __version__
4
-
5
-
6
- class PackageTest(unittest.TestCase):
7
- def test_package_has_version(self) -> None:
8
- self.assertEqual(__version__, "0.1.2")
File without changes