Skip to content

Commit 7016e96

Browse files
committed
Fix package reqs, bump version to 0.3.1
1 parent 4a73303 commit 7016e96

File tree

12 files changed

+29
-21
lines changed

12 files changed

+29
-21
lines changed

.appveyor.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,37 +177,37 @@ for:
177177
#python3 ci/patch_pubspec.py src/serious_python_macos/pubspec.yaml $PKG_VER
178178
179179
pushd src/serious_python_platform_interface
180-
dart pub publish --force
180+
dart pub publish --force || exit 1
181181
popd
182182
183183
pushd src/serious_python_android
184-
dart pub publish --force
184+
dart pub publish --force || exit 1
185185
popd
186186
187187
pushd src/serious_python_ios
188-
dart pub publish --force
188+
dart pub publish --force || exit 1
189189
popd
190190
191191
pushd src/serious_python
192-
dart pub publish --force
192+
dart pub publish --force || exit 1
193193
popd
194194
195195
elif [[ "$APPVEYOR_PULL_REQUEST_NUMBER" == "" ]]; then
196196
197197
pushd src/serious_python_platform_interface
198-
dart pub publish --dry-run
198+
dart pub publish --dry-run || exit 1
199199
popd
200200
201201
pushd src/serious_python_android
202-
dart pub publish --dry-run
202+
dart pub publish --dry-run || exit 1
203203
popd
204204
205205
pushd src/serious_python_ios
206-
dart pub publish --dry-run
206+
dart pub publish --dry-run || exit 1
207207
popd
208208
209209
pushd src/serious_python
210-
dart pub publish --dry-run
210+
dart pub publish --dry-run || exit 1
211211
popd
212212
fi
213213

ci/patch_pubspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# patch dependencies
3232
for dep in data["dependencies"]:
3333
if dep in dependencies:
34-
data["dependencies"][dep] = ver
34+
data["dependencies"][dep] = f"^{ver}"
3535
# print(dep)
3636
with open(pubspec_path, "w") as file:
3737
yaml.dump(data, file, sort_keys=False)

src/serious_python/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.1
2+
3+
* Set Flutter SDK requirements to remove publishing warnings.
4+
15
## 0.3.0
26

37
* `serious_python` all-in-one package refactored to a federated plug-in with multiple endorsed packages.

src/serious_python/example/flask_example/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ packages:
281281
path: "../.."
282282
relative: true
283283
source: path
284-
version: "0.3.0"
284+
version: "0.3.1"
285285
serious_python_android:
286286
dependency: transitive
287287
description:
@@ -406,4 +406,4 @@ packages:
406406
version: "1.0.0"
407407
sdks:
408408
dart: ">=3.1.0-185.0.dev <4.0.0"
409-
flutter: ">=3.3.0"
409+
flutter: ">=3.7.0"

src/serious_python/example/flask_example/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1919
version: 1.0.0+1
2020

2121
environment:
22-
sdk: '>=3.0.3 <4.0.0'
22+
sdk: ">=3.0.3 <4.0.0"
23+
flutter: ">=3.7.0"
2324

2425
# Dependencies specify other packages that your package needs in order to work.
2526
# To automatically upgrade your package dependencies to the latest versions

src/serious_python/example/flet_example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ packages:
478478
path: "../.."
479479
relative: true
480480
source: path
481-
version: "0.3.0"
481+
version: "0.3.1"
482482
serious_python_android:
483483
dependency: transitive
484484
description:

src/serious_python/example/flet_example/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1919
version: 1.0.0+1
2020

2121
environment:
22-
sdk: '>=3.0.3 <4.0.0'
22+
sdk: ">=3.0.3 <4.0.0"
23+
flutter: ">=3.7.0"
2324

2425
# Dependencies specify other packages that your package needs in order to work.
2526
# To automatically upgrade your package dependencies to the latest versions

src/serious_python/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ 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.3.0
5+
version: 0.3.1
66

77
platforms:
88
ios:
99
android:
1010

1111
environment:
1212
sdk: ">=3.0.0 <4.0.0"
13+
flutter: ">=3.7.0"
1314

1415
flutter:
1516
plugin:

src/serious_python_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ repository: https://github.com/flet-dev/serious-python
55
version: 0.3.0
66

77
environment:
8-
sdk: '>=3.0.1 <4.0.0'
9-
flutter: ">=3.3.0"
8+
sdk: ">=3.0.0 <4.0.0"
9+
flutter: ">=3.7.0"
1010

1111
dependencies:
1212
flutter:

src/serious_python_ios/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ repository: https://github.com/flet-dev/serious-python
55
version: 0.3.0
66

77
environment:
8-
sdk: '>=3.0.1 <4.0.0'
9-
flutter: ">=3.3.0"
8+
sdk: ">=3.0.0 <4.0.0"
9+
flutter: ">=3.7.0"
1010

1111
dependencies:
1212
flutter:

0 commit comments

Comments
 (0)