Skip to content

Commit 56bf733

Browse files
misl6FilipeMarchAndreMirasHyTurtle
authored
Merge pull request #2747 from misl6/release-2023.02.10
* Update `pydantic` recipe There is [incompatibility](huggingface/transformers#8638) between python > 3.6 and package `dataclasses`. This error was happening after my compilations: `AttributeError: module 'typing' has no attribute '_ClassVar'` The fix is removing `dataclasses` from `python_depends`. I also updated the pydantic version to the newest release `1.10.4`, it can be checked [here](https://github.com/pydantic/pydantic/releases) and its url. I already compiled my app after applying these changes, and the compilation is working successfully again. * Restrict sh version to sh>=1.10, <2.0 (#2746) keep sh version under 2.0 as default behaviour was switched * Update CHANGELOG.md and update version to 2023.02.10 --------- Co-authored-by: Filipe Marchesini <filipe.marchesini@gmail.com> Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com> Co-authored-by: HyTurtle <81598434+HyTurtle@users.noreply.github.com>
2 parents ee9c257 + 9b52825 commit 56bf733

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [v2023.02.10](https://github.com/kivy/python-for-android/tree/v2023.02.10) (2023-02-10)
4+
5+
[Full Changelog](https://github.com/kivy/python-for-android/compare/v2023.01.28...v2023.02.10)
6+
7+
**Closed issues:**
8+
9+
- AttributeError: 'str' object has no attribute 'stdout' [\#2745](https://github.com/kivy/python-for-android/issues/2745)
10+
- Android app crash on starting up by accessing texture. Error:No module named 'typing\_extensions' [\#2743](https://github.com/kivy/python-for-android/issues/2743)
11+
12+
**Merged pull requests:**
13+
14+
- restrict sh version [\#2746](https://github.com/kivy/python-for-android/pull/2746) ([HyTurtle](https://github.com/HyTurtle))
15+
- 🐛 fix: Update `pydantic` recipe [\#2742](https://github.com/kivy/python-for-android/pull/2742) ([FilipeMarch](https://github.com/FilipeMarch))
16+
- Merge master into develop [\#2741](https://github.com/kivy/python-for-android/pull/2741) ([misl6](https://github.com/misl6))
17+
318
## [v2023.01.28](https://github.com/kivy/python-for-android/tree/v2023.01.28) (2023-01-28)
419

520
[Full Changelog](https://github.com/kivy/python-for-android/compare/v2022.12.20...v2023.01.28)

pythonforandroid/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2023.01.28'
1+
__version__ = '2023.02.10'

pythonforandroid/recipes/pydantic/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33

44
class PydanticRecipe(PythonRecipe):
5-
version = '1.8.2'
6-
url = 'https://github.com/samuelcolvin/pydantic/archive/refs/tags/v{version}.zip'
5+
version = '1.10.4'
6+
url = 'https://github.com/pydantic/pydantic/archive/refs/tags/v{version}.zip'
77
depends = ['setuptools']
8-
python_depends = ['Cython', 'devtools', 'email-validator', 'dataclasses', 'typing-extensions', 'python-dotenv']
8+
python_depends = ['Cython', 'devtools', 'email-validator', 'typing-extensions', 'python-dotenv']
99
call_hostpython_via_targetpython = False
1010

1111

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# https://github.com/kivy/buildozer/issues/722
2222
install_reqs = [
2323
'appdirs', 'colorama>=0.3.3', 'jinja2',
24-
'sh>=1.10; sys_platform!="nt"',
24+
'sh>=1.10, <2.0; sys_platform!="nt"',
2525
'pep517', 'toml', 'packaging',
2626
]
2727
# (pep517 and toml are used by pythonpackage.py)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy