Skip to content

Commit

Permalink
Remove setuptools workarounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Jan 16, 2023
1 parent 2ea9d41 commit 01523f9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
- name: Check style
if: matrix.os == 'ubuntu-22.04'
run: |
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m tox -v -e style
python3 -m tox -v -e style
- name: Run tests
run: |
python3 -c "import gi"
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m tox -v -e py
python3 -m tox -v -e py
python3 -m pip install .
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 2.29.3 (2023-01-16)
* Make all menu items translatable (Jendrik Seipp).
* Packaging: install translation files under <prefix>/share/locale again (#666, Jendrik Seipp).

# 2.29.2 (2023-01-13)
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ build_script:
- move enchant C:\gtk\share

# Run tests.
- set SETUPTOOLS_USE_DISTUTILS=stdlib
- "%PYTHON% -m tox -v -e py"

- cd win
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools==59.6.0"]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

# NOTE: you have to use single-quoted strings in TOML for regular expressions.
Expand Down
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
[tox]
envlist = py3, style
basepython = python3
requires =
setuptools==59.6.0
tox==3.27.1
# Hopefully, we can get rid of this environment variable in the future.
passenv = SETUPTOOLS_USE_DISTUTILS

[testenv]
deps =
Expand Down

0 comments on commit 01523f9

Please sign in to comment.