Skip to content

Commit 5c8c612

Browse files
Merge pull request #48 from FOehlschlaeger/bugfix-poetry-install-ubuntu22.04
update readme by remark to poetry install on ubuntu 22.04
2 parents 49341ee + 7f1bb50 commit 5c8c612

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8+
## [Unreleased]
9+
### Changed
10+
* Add note and workaround to README about Poetry error on Ubuntu 22.04.
11+
* Pull request [#48](https://github.com/DeepLcom/deepl-python/pull/48)
12+
thanks to [FOehlschlaeger](https://github.com/FOehlschlaeger).
13+
814
## [1.9.0] - 2022-07-07
915
### Added
1016
* Add `Translator.create_glossary_from_csv()` allowing glossaries downloaded
@@ -183,6 +189,7 @@ Version increased to avoid conflicts with old packages on PyPI.
183189
Initial version.
184190

185191

192+
[Unreleased]: https://github.com/DeepLcom/deepl-python/compare/v1.9.0...HEAD
186193
[1.9.0]: https://github.com/DeepLcom/deepl-python/compare/v1.8.0...v1.9.0
187194
[1.8.0]: https://github.com/DeepLcom/deepl-python/compare/v1.7.0...v1.8.0
188195
[1.7.0]: https://github.com/DeepLcom/deepl-python/compare/v1.6.0...v1.7.0

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ If you need to modify this source code, install the dependencies using poetry:
3535
poetry install
3636
```
3737

38+
On Ubuntu 22.04 an error might occur: `ModuleNotFoundError: No module named
39+
'cachecontrol'`. Use the workaround `sudo apt install python3-cachecontrol` as
40+
explained in this [bug report][bug-report-ubuntu-2204].
41+
3842
### Requirements
3943

4044
The library is tested with Python versions 3.6 to 3.10.
@@ -551,6 +555,8 @@ environment variables defined referring to the mock-server.
551555

552556
[api-docs-glossary-lang-list]: https://www.deepl.com/docs-api/managing-glossaries/?utm_source=github&utm_medium=github-python-readme
553557

558+
[bug-report-ubuntu-2204]: https://bugs.launchpad.net/ubuntu/+source/poetry/+bug/1958227
559+
554560
[create-account]: https://www.deepl.com/pro?utm_source=github&utm_medium=github-python-readme#developer
555561

556562
[deepl-mock]: https://www.github.com/DeepLcom/deepl-mock

0 commit comments

Comments
 (0)