Commit Graph

13 Commits (3991d83b2cf1b73eb872216179b9c0fb1d326c73)

Author SHA1 Message Date
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