Skip to content

Commit 5865e26

Browse files
committed
Bump version 0.2.0 and deps
1 parent 776c5c7 commit 5865e26

File tree

9 files changed

+32
-14
lines changed

9 files changed

+32
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.0
2+
3+
Android support.
4+
15
## 0.1.5
26

37
* SeriousPython.run() should be split into two methods to return temp dir with unpacked python app ([#6](https://github.com/flet-dev/serious-python/issues/6)).

CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Contributing to `serious_python`
2+
3+
## Releasing a new version
4+
5+
Bump version in:
6+
7+
* `pubspec.yaml`
8+
* `android/build.gradle`
9+
* `ios/serious_python.podspec`
10+
11+
Bump `serious_python` dependency version with `flutter pub get` in example lock files:
12+
13+
* `example/flet_example/pubspec.lock`
14+
* `example/flask_example/pubspec.lock`

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ Build app backend service in Python and host it inside a Flutter app. Flutter ap
88

99
Serious Python is part of [Flet](https://flet.dev) project - the fastest way to build Flutter apps in Python. The motivation for building Serious Python was having a re-usable easy-to-use plugin, maintained and supported, to run real-world Python apps, not just "1+2" or "hello world" examples, on iOS or Android devices and hence the name "Serious Python".
1010

11-
Serious Python relies on [Kivy toolchain for iOS](https://github.com/kivy/kivy-ios) to build Python runtime and native packages.
12-
1311
## Platform Support
1412

15-
| iOS | Android |
13+
| iOS | Android |
1614
| :-----: | :----------: |
17-
|| Coming soon |
15+
|| |
1816

1917
### Python versions
2018

2119
iOS version of plugin is based on [Kivy toolchain](https://github.com/kivy/kivy-ios) and currently uses Python 3.10.10.
2220

21+
Android version of plugin is based on [Kivy python-for-android](https://github.com/kivy/python-for-android) and currently uses Python 3.10.10.
22+
2323
## Usage
2424

2525
Zip your Python app into `app.zip`, copy to `app` (or any other) directory in the root of your Flutter app and add it as an asset to `pubspec.yaml`:

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.flet.serious_python'
2-
version '0.1.5'
2+
version '0.2.0'
33

44
buildscript {
55
repositories {

example/flask_example/pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ packages:
127127
dependency: "direct main"
128128
description:
129129
name: http
130-
sha256: "4c3f04bfb64d3efd508d06b41b825542f08122d30bda4933fb95c069d22a4fa3"
130+
sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2"
131131
url: "https://pub.dev"
132132
source: hosted
133-
version: "1.0.0"
133+
version: "0.13.6"
134134
http_parser:
135135
dependency: transitive
136136
description:
@@ -281,7 +281,7 @@ packages:
281281
path: "../.."
282282
relative: true
283283
source: path
284-
version: "0.1.5"
284+
version: "0.2.0"
285285
sky_engine:
286286
dependency: transitive
287287
description: flutter

example/flask_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies:
3838
# The following adds the Cupertino Icons font to your application.
3939
# Use with the CupertinoIcons class for iOS style icons.
4040
cupertino_icons: ^1.0.2
41-
http: ^1.0.0
41+
http: ^0.13.3
4242

4343
dev_dependencies:
4444
flutter_test:

example/flet_example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ packages:
486486
path: "../.."
487487
relative: true
488488
source: path
489-
version: "0.1.5"
489+
version: "0.2.0"
490490
shake:
491491
dependency: transitive
492492
description:

ios/serious_python.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'serious_python'
7-
s.version = '0.1.5'
7+
s.version = '0.2.0'
88
s.summary = 'A cross-platform plugin for adding embedded Python runtime to your Flutter apps.'
99
s.description = <<-DESC
1010
A cross-platform plugin for adding embedded Python runtime to your Flutter apps.

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python
22
description: A cross-platform plugin for adding embedded Python runtime to your Flutter apps.
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 0.1.5
5+
version: 0.2.0
66

77
platforms:
88
ios:
@@ -22,8 +22,8 @@ dependencies:
2222
path: ^1.8.3
2323
args: ^2.4.1
2424
toml: ^0.14.0
25-
ffi: ^2.0.1
26-
http: ^0.13.4
25+
ffi: ^2.0.2
26+
http: ^0.13.3
2727

2828
dev_dependencies:
2929
flutter_test:

0 commit comments

Comments
 (0)