Skip to content

Commit

Permalink
Attempt to fix Babel installation on Python 3.12+ (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser authored May 14, 2024
1 parent b07d8d3 commit a132c64
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ jobs:
python -m tox
- name: Upload Results
if: success()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: ${{ matrix.platform }}-${{ matrix.tox-env }}
token: ${{ secrets.CODECOV_TOKEN }} # required
fail_ci_if_error: false

lint:
Expand Down
4 changes: 4 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.20.3

- **FIX**: Fix issues related to Babel on Python versions greater than 3.11.

## 4.20.2

- **Fix**: Fix title not updating when autocomplete is disabled.
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ artifacts = [
[tool.hatch.build.targets.wheel.hooks.custom]
dependencies = [
"babel",
"setuptools; python_version >= '3.12'"
]

[tool.hatch.version]
Expand Down Expand Up @@ -90,7 +91,8 @@ include = [
skip_install = true
dependencies = [
"pip>=22.0.4",
"babel"
"babel",
"setuptools; python_version >= '3.12'"
]

[tool.hatch.envs.locale.scripts]
Expand All @@ -110,7 +112,7 @@ extend-exclude = [
"*png.py"
]

select = [
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"D", # pydocstyle
Expand All @@ -126,7 +128,7 @@ select = [
"PERF" # Perflint
]

ignore = [
lint.ignore = [
"B034",
"E741",
"D202",
Expand Down
2 changes: 1 addition & 1 deletion rummage/lib/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def parse_version(ver):


# (major, minor, micro, release type, pre-release build, post-release build, development-release)
__version_info__ = Version(4, 20, 2, 'final')
__version_info__ = Version(4, 20, 3, 'final')
__version__ = __version_info__._get_canonical()
__app__ = "Rummage"
__status__ = __version_info__[3]
Expand Down
2 changes: 1 addition & 1 deletion rummage/lib/gui/data/docs/.dochash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2ff424e68093d28f7c32735370b6ac9a
251717d606a04cdb6624858740df6a0e
4 changes: 4 additions & 0 deletions rummage/lib/gui/data/docs/about/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

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

0 comments on commit a132c64

Please sign in to comment.