Commit Graph

28 Commits

Author SHA1 Message Date
Enno Hermann 602325021b chore: update version to 0.24.0
[ci skip]
2024-05-16 18:05:51 +02:00
Enno Hermann 865a48156d fix: make korean g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann 55ed162f2a fix: make chinese g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann ea893c3795 fix: make bangla g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann 4f2eff418e chore: enable ruff rules that already pass 2024-05-08 18:08:40 +02:00
Enno Hermann 0504ae3a02 ci: add script to automatically generate requirements.dev.txt
Having this file is still useful to allow installing *only* dev requirements
(e.g. in CI) with:
  pip install -r requirements.dev.txt

Generate that file automatically from the pyproject.toml based on:
e7c6baf00f/tools/generate_requirements.py
2024-05-08 12:17:47 +02:00
Enno Hermann 8d2a562c59 build: move dependencies into pyproject.toml 2024-05-08 12:17:45 +02:00
Enno Hermann fb92e13ebb build: remove unused/obsolete code 2024-05-08 12:13:41 +02:00
Enno Hermann 259d8fc40b build: store version in pyproject.toml 2024-05-07 18:27:55 +02:00
Enno Hermann f4cacd7b7c build: move metadata from setup.py to pyproject.toml 2024-05-07 18:27:55 +02:00
Enno Hermann 962f9bbbcf refactor(espeak_wrapper): fix ruff lint suggestions 2024-05-01 13:31:39 +02:00
Enno Hermann 31a9201639 ci: combine coverage reports
Based on https://hynek.me/articles/ditch-codecov-python/
2024-03-11 14:26:42 +01:00
Enno Hermann 1961687a18 build: update to ruff 0.3.0 2024-03-06 13:40:56 +01:00
Enno Hermann 39149ef564 build: remove isort
Import sorting now handled by ruff.
2024-03-06 13:37:45 +01:00
Aarni Koskela 8e95c3e436 Convert pylint configuration to ruff
With https://github.com/akx/pylint-to-ruff
2023-12-13 14:56:41 +02:00
Eren Gölge e39da6147f
Merge pull request #2999 from akx/remove-unnecessary-black-config
Remove unnecessary black exclude config
2023-09-27 09:43:06 +02:00
Aarni Koskela 8bb2d652ca pyproject.toml: loosen dependencies to avoid building from source 2023-09-26 20:41:26 +03:00
Aarni Koskela 94c5fd0765 Remove unnecessary black exclude config
It seems to have been copy-pasted from the Black docs.
2023-09-26 16:02:55 +03:00
Eren G??lge a58fb6c01b Update requirements 2023-06-22 13:53:19 +02:00
Martin Weinelt 994be163e1
Use packaging.version for version comparisons (#2310)
* Use packaging.version for version comparisons

The distutils package is deprecated¹ and relies on PEP 386² version
comparisons, which have been superseded by PEP 440³ which is implemented
through the packaging module.

With more recent distutils versions, provided through setuptools
vendoring, we are seeing the following exception during version
comparisons:

> TypeError: '<' not supported between instances of 'str' and 'int'

This is fixed by this migration.

[1] https://docs.python.org/3/library/distutils.html
[2] https://peps.python.org/pep-0386/
[3] https://peps.python.org/pep-0440/

* Improve espeak version detection robustness

On many modern systems espeak is just a symlink to espeak-ng. In that
case looking for the 3rd word in the version output will break the
version comparison, when it finds `text-to-speech:`, instead of a proper
version.

This will not break during runtime, where espeak-ng would be
prioritized, but the phonemizer and tokenizer tests force the backend
to `espeak`, which exhibits this breakage.

This improves the version detection by simply looking for the version
after the "text-to-speech:" token.

* Replace distuils.copy_tree with shutil.copytree

The distutils module is deprecated and slated for removal in Python
3.12. Its usage should be replaced, in this case by a compatible method
from shutil.
2023-01-29 23:47:00 +01:00
Eren Gölge 4857967063
🐍 Python 3.10.x support and drop Python 3.6 support (#1565)
* Update requirements

* Update CI for p3.10

* Update numpy requirement

* Drop 🐍p3.6 support

Numpy also dropped support for p3.6

* Bind cython v0.29.28

* Bind pyworld to v0.2.10

> 0.2.10 is not p3.10.x compatible

* Update Dockerfile
2022-05-12 15:50:25 +02:00
WeberJulian 3c7c14607b
Add formatting tests (#1437)
* Add style checks to `make lint`

* Bump target-version in black config
2022-03-23 17:23:36 +01:00
Eren Gölge 8c74f054f0 Enable support for 🐍 python 3.10
Bump up versions numpy 1.19.5 and TF 2.5.0
2021-06-28 17:03:47 +02:00
Eren Gölge 8f0519d203 bump up numpy version 2021-04-27 11:13:57 +02:00
Eren Gölge f519012dea reformatting and styling 2021-04-12 11:47:39 +02:00
Eren Gölge 93a6bdfd6c linter fixes and version updates for deps 2021-03-08 02:51:10 +01:00
Eren Gölge 2cd44cbc9d pin numpy v0.0.9.1 2021-02-01 16:38:17 +00:00
Eren Gölge 26540d507d add pyproject.toml 2021-01-21 15:57:49 +01:00