* [PR PATCH] python3-peewee: update to 3.17.6.
@ 2024-07-09 20:36 jason1987d
2024-08-06 14:52 ` ahesford
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jason1987d @ 2024-07-09 20:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
There is a new pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages python3-peewee
https://github.com/void-linux/void-packages/pull/51184
python3-peewee: update to 3.17.6.
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-libc
A patch file from https://github.com/void-linux/void-packages/pull/51184.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-peewee-51184.patch --]
[-- Type: text/x-diff, Size: 1201 bytes --]
From 3e4c16dbf366e8608d767fec9e0e75f34c80aef1 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Sun, 7 Jul 2024 14:28:40 -0500
Subject: [PATCH] python3-peewee: update to 3.17.6.
---
srcpkgs/python3-peewee/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-peewee/template b/srcpkgs/python3-peewee/template
index 49a56358fe3126..9cd5eaa0ec0503 100644
--- a/srcpkgs/python3-peewee/template
+++ b/srcpkgs/python3-peewee/template
@@ -1,6 +1,6 @@
# Template file for 'python3-peewee'
pkgname=python3-peewee
-version=3.17.5
+version=3.17.6
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython0.29"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/coleifer/peewee"
changelog="https://raw.githubusercontent.com/coleifer/peewee/master/CHANGELOG.md"
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
-checksum=b2f365b8bf27a0a492cf577bf673b785f1a2ba14977d065cc933748a7137a1f0
+checksum=81c7c88f17141d653009f1ac63438b919dc3c86ce38f6dc06a0b9ff99e90cb62
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
make_check=no # tests require postgres instance
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python3-peewee: update to 3.17.6.
2024-07-09 20:36 [PR PATCH] python3-peewee: update to 3.17.6 jason1987d
@ 2024-08-06 14:52 ` ahesford
2024-08-11 16:03 ` jason1987d
2024-09-21 22:17 ` [PR PATCH] [Merged]: " classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2024-08-06 14:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/51184#issuecomment-2271490977
Comment:
Please don't submit update PRs without testing them in a local workflow.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python3-peewee: update to 3.17.6.
2024-07-09 20:36 [PR PATCH] python3-peewee: update to 3.17.6 jason1987d
2024-08-06 14:52 ` ahesford
@ 2024-08-11 16:03 ` jason1987d
2024-09-21 22:17 ` [PR PATCH] [Merged]: " classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: jason1987d @ 2024-08-11 16:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/51184#issuecomment-2282805930
Comment:
Ran this code to test, can probably find other testing code if needed.
```
#!/usr/bin/python
import peewee
import datetime
db = peewee.SqliteDatabase('test.db')
class Note(peewee.Model):
text = peewee.CharField()
created = peewee.DateField(default=datetime.date.today)
class Meta:
database = db
db_table = 'notes'
Note.create_table()
note1 = Note.create(text='Went to the cinema')
note1.save()
note2 = Note.create(text='Exercised in the morning',
created=datetime.date(2018, 10, 20))
note2.save()
note3 = Note.create(text='Worked in the garden',
created=datetime.date(2018, 10, 22))
note3.save()
note4 = Note.create(text='Listened to music')
note4.save()
data = [
{ 'text': 'Tai chi in the morning', 'created': datetime.date(2018, 10, 20) },
{ 'text': 'Visited friend', 'created': datetime.date(2018, 10, 12) },
{ 'text': 'Went to cinema', 'created': datetime.date(2018, 10, 5) },
{ 'text': 'Listened to music', 'created': datetime.date(2018, 10, 28) },
{ 'text': 'Watched TV all day', 'created': datetime.date(2018, 10, 14) },
{ 'text': 'Worked in the garden', 'created': datetime.date(2018, 10, 22) },
{ 'text': 'Walked for a hour', 'created': datetime.date(2018, 10, 28) }
]
with db.atomic():
query = Note.insert_many(data)
query.execute()
print(db)
notes = Note.select()
for note in notes:
print('{} on {}'.format(note.text, note.created))
notes_again = Note.select().where((Note.id > 2) & (Note.id < 6))
print(notes_again)
```
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: python3-peewee: update to 3.17.6.
2024-07-09 20:36 [PR PATCH] python3-peewee: update to 3.17.6 jason1987d
2024-08-06 14:52 ` ahesford
2024-08-11 16:03 ` jason1987d
@ 2024-09-21 22:17 ` classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2024-09-21 22:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
There's a merged pull request on the void-packages repository
python3-peewee: update to 3.17.6.
https://github.com/void-linux/void-packages/pull/51184
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-libc
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-21 22:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-09 20:36 [PR PATCH] python3-peewee: update to 3.17.6 jason1987d
2024-08-06 14:52 ` ahesford
2024-08-11 16:03 ` jason1987d
2024-09-21 22:17 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).