Skip to content

Commit

Permalink
[ci] Add Python 3.12 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Jul 3, 2024
1 parent 77d59a3 commit e769bde
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ tasks:
version: "3.11"
env:
TOXENV: py311,lint
- name: tests python 3.12
version: "3.12"
env:
TOXENV: py312,lint
- name: PyPI upload
version: "3.8"
env:
Expand Down
16 changes: 0 additions & 16 deletions setup.py

This file was deleted.

2 changes: 2 additions & 0 deletions src/ffpuppet/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def __init__(
self._install_cert(cert, certutil_find(browser_bin))
except Exception:
if self.path.exists():
# pylint: disable=deprecated-argument
rmtree(self.path, onerror=onerror)
raise

Expand Down Expand Up @@ -233,6 +234,7 @@ def remove(self, ignore_errors: bool = True) -> None:
# check if path exists to properly support "onerror"
if self.path.exists():
LOG.debug("removing profile")
# pylint: disable=deprecated-argument
rmtree(self.path, onerror=onerror)
except OSError:
LOG.error("Failed to remove profile '%s'", self.path)
Expand Down
1 change: 1 addition & 0 deletions src/ffpuppet/puppet_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def clean_up(self, ignore_errors: bool = False) -> None:
try:
# check if path exists to properly support "onerror"
if self.path.exists():
# pylint: disable=deprecated-argument
rmtree(self.path, ignore_errors=ignore_errors, onerror=onerror)
except OSError:
if attempt == 0:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38,39,310,311},lint
envlist = py{38,39,310,311,312},lint
skip_missing_interpreters = true
tox_pip_extensions_ext_venv_update = true

Expand Down

0 comments on commit e769bde

Please sign in to comment.