Skip to content

Commit a132c64

Browse files
authored
Attempt to fix Babel installation on Python 3.12+ (#461)
1 parent b07d8d3 commit a132c64

File tree

6 files changed

+17
-6
lines changed

6 files changed

+17
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ jobs:
5050
python -m tox
5151
- name: Upload Results
5252
if: success()
53-
uses: codecov/codecov-action@v3
53+
uses: codecov/codecov-action@v4
5454
with:
5555
file: ./coverage.xml
5656
flags: unittests
5757
name: ${{ matrix.platform }}-${{ matrix.tox-env }}
58+
token: ${{ secrets.CODECOV_TOKEN }} # required
5859
fail_ci_if_error: false
5960

6061
lint:

docs/src/markdown/about/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.20.3
4+
5+
- **FIX**: Fix issues related to Babel on Python versions greater than 3.11.
6+
37
## 4.20.2
48

59
- **Fix**: Fix title not updating when autocomplete is disabled.

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ artifacts = [
4141
[tool.hatch.build.targets.wheel.hooks.custom]
4242
dependencies = [
4343
"babel",
44+
"setuptools; python_version >= '3.12'"
4445
]
4546

4647
[tool.hatch.version]
@@ -90,7 +91,8 @@ include = [
9091
skip_install = true
9192
dependencies = [
9293
"pip>=22.0.4",
93-
"babel"
94+
"babel",
95+
"setuptools; python_version >= '3.12'"
9496
]
9597

9698
[tool.hatch.envs.locale.scripts]
@@ -110,7 +112,7 @@ extend-exclude = [
110112
"*png.py"
111113
]
112114

113-
select = [
115+
lint.select = [
114116
"A", # flake8-builtins
115117
"B", # flake8-bugbear
116118
"D", # pydocstyle
@@ -126,7 +128,7 @@ select = [
126128
"PERF" # Perflint
127129
]
128130

129-
ignore = [
131+
lint.ignore = [
130132
"B034",
131133
"E741",
132134
"D202",

rummage/lib/__meta__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def parse_version(ver):
189189

190190

191191
# (major, minor, micro, release type, pre-release build, post-release build, development-release)
192-
__version_info__ = Version(4, 20, 2, 'final')
192+
__version_info__ = Version(4, 20, 3, 'final')
193193
__version__ = __version_info__._get_canonical()
194194
__app__ = "Rummage"
195195
__status__ = __version_info__[3]

rummage/lib/gui/data/docs/.dochash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2ff424e68093d28f7c32735370b6ac9a
1+
251717d606a04cdb6624858740df6a0e

rummage/lib/gui/data/docs/about/changelog.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525

2626
<!-- Table of Content (Don't show for static sites) -->
2727
<h1 id="changelog">Changelog</h1>
28+
<h2 id="4203">4.20.3</h2>
29+
<ul>
30+
<li><strong>FIX</strong>: Fix issues related to Babel on Python versions greater than 3.11.</li>
31+
</ul>
2832
<h2 id="4202">4.20.2</h2>
2933
<ul>
3034
<li><strong>Fix</strong>: Fix title not updating when autocomplete is disabled.</li>

0 commit comments

Comments
 (0)