* [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0.
@ 2024-09-20 19:39 icp1994
2024-09-20 19:51 ` [PR PATCH] [Updated] " icp1994
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: icp1994 @ 2024-09-20 19:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 506 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4420 bytes --]
From a7b069b5bbf03691ce93f4d1e07c3c0b99013709 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.79.1.
---
srcpkgs/python3-textual/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..6a160d0a2a7573 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.79.1
revision=1
build_style=python3-pep517
make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
hostmakedepends="python3-poetry-core"
depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=2aaa9778beac5e56957794ee492bd8d281d39516ccb0e507e726484a1327d8b2
post_install() {
vlicense LICENSE
From 2ac461471e8b38e4f8eacdcd5a7b8dacb1a3d593 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.14.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 6 ++--
2 files changed, 32 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..a896131ad7cec5 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,6 +1,6 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.14.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
@@ -8,14 +8,14 @@ make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=ff9b0fefd2ece1f0afc20f3f08d5e069eb7036748adceb14300d51ccebd4f760
make_check_pre="env PYTHONPATH=src"
pre_build() {
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
@ 2024-09-20 19:51 ` icp1994
2024-09-20 19:55 ` icp1994
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-09-20 19:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4646 bytes --]
From 895e2185f3efb428c26fe9f31e8784248fdaa3c3 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 1/2] memray: update to 1.14.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 10 +++++--
2 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..98d16c11ae4744 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,6 +1,6 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.14.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
@@ -8,16 +8,20 @@ make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=ff9b0fefd2ece1f0afc20f3f08d5e069eb7036748adceb14300d51ccebd4f760
make_check_pre="env PYTHONPATH=src"
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+="python3-devel"
+fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
From 9ca081e08e5d25f27c77848d270e08c6e2f5fedd Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 2/2] python3-textual: update to 0.79.1.
---
srcpkgs/python3-textual/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..d9356abec6a051 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.79.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug))"
hostmakedepends="python3-poetry-core"
depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=2aaa9778beac5e56957794ee492bd8d281d39516ccb0e507e726484a1327d8b2
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
2024-09-20 19:51 ` [PR PATCH] [Updated] " icp1994
@ 2024-09-20 19:55 ` icp1994
2024-09-20 20:31 ` icp1994
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-09-20 19:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4647 bytes --]
From bc4bef3ee55f74627769ab1fc2b2aec792575618 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.79.1.
---
srcpkgs/python3-textual/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..d9356abec6a051 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.79.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug))"
hostmakedepends="python3-poetry-core"
depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=2aaa9778beac5e56957794ee492bd8d281d39516ccb0e507e726484a1327d8b2
post_install() {
vlicense LICENSE
From ae12a18afaae025ef3a7f6a76292f5ea95d7e7c9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.14.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 10 +++++--
2 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..6b66ce3731f544 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,6 +1,6 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.14.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
@@ -8,16 +8,20 @@ make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=ff9b0fefd2ece1f0afc20f3f08d5e069eb7036748adceb14300d51ccebd4f760
make_check_pre="env PYTHONPATH=src"
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" python3-devel"
+fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
2024-09-20 19:51 ` [PR PATCH] [Updated] " icp1994
2024-09-20 19:55 ` icp1994
@ 2024-09-20 20:31 ` icp1994
2024-12-08 15:47 ` [PR PATCH] [Updated] " icp1994
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-09-20 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/pull/52291#issuecomment-2364574403
Comment:
Dunno if this can be build for 32-bit cross arches with 64-bit hosts.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (2 preceding siblings ...)
2024-09-20 20:31 ` icp1994
@ 2024-12-08 15:47 ` icp1994
2024-12-08 16:08 ` icp1994
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-12-08 15:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4749 bytes --]
From 12869487c91b15420e49abf89cc7f118e76644ff Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.89.1.
---
srcpkgs/python3-textual/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..fcdfa8853ede28 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.89.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
post_install() {
vlicense LICENSE
From ed85ddd2da0db40bac258338746b38eb2bb7a021 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.15.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 10 +++++--
2 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..14364f04e90345 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,6 +1,6 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.15.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
@@ -8,16 +8,20 @@ make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=e05e6f079c253531bdb2975fc35f714f42905a9399a9269a712fc8a64240c471
make_check_pre="env PYTHONPATH=src"
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" python3-devel"
+fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (3 preceding siblings ...)
2024-12-08 15:47 ` [PR PATCH] [Updated] " icp1994
@ 2024-12-08 16:08 ` icp1994
2024-12-08 16:17 ` icp1994
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-12-08 16:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4755 bytes --]
From 12869487c91b15420e49abf89cc7f118e76644ff Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.89.1.
---
srcpkgs/python3-textual/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..fcdfa8853ede28 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.89.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
post_install() {
vlicense LICENSE
From 94ff4678d467e83c9682df2e75a8b177528d8941 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.15.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 10 +++++--
2 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..d932797fbb73a0 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,6 +1,6 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.15.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
@@ -8,16 +8,20 @@ make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=e05e6f079c253531bdb2975fc35f714f42905a9399a9269a712fc8a64240c471
make_check_pre="env PYTHONPATH=src"
+# if [ "$CROSS_BUILD" ]; then
+# hostmakedepends+=" python3-devel"
+# fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (4 preceding siblings ...)
2024-12-08 16:08 ` icp1994
@ 2024-12-08 16:17 ` icp1994
2024-12-08 16:33 ` icp1994
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-12-08 16:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4900 bytes --]
From 12869487c91b15420e49abf89cc7f118e76644ff Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.89.1.
---
srcpkgs/python3-textual/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..fcdfa8853ede28 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.89.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
post_install() {
vlicense LICENSE
From 50a2370c97ef8a63141a4fe4b3f86144a170abc4 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.15.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 14 +++++----
2 files changed, 38 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..2e4f18fbe55262 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,23 +1,27 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.15.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
-hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
-makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
+hostmakedepends="python3-devel python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
+makedepends="libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=e05e6f079c253531bdb2975fc35f714f42905a9399a9269a712fc8a64240c471
make_check_pre="env PYTHONPATH=src"
+# if [ "$CROSS_BUILD" ]; then
+# hostmakedepends+=" python3-devel"
+# fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (5 preceding siblings ...)
2024-12-08 16:17 ` icp1994
@ 2024-12-08 16:33 ` icp1994
2024-12-08 16:55 ` icp1994
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-12-08 16:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4953 bytes --]
From 12869487c91b15420e49abf89cc7f118e76644ff Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.89.1.
---
srcpkgs/python3-textual/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..fcdfa8853ede28 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.89.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
post_install() {
vlicense LICENSE
From 50336fef61499b65f61ab1653dab9afbe597b588 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.15.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 16 ++++++----
2 files changed, 40 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..d89b0a08613246 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,23 +1,29 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.15.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
-hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
-makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
+hostmakedepends="python3-devel python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
+makedepends="libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=e05e6f079c253531bdb2975fc35f714f42905a9399a9269a712fc8a64240c471
make_check_pre="env PYTHONPATH=src"
+if [ "$CROSS_BUILD" ]; then
+ if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ broken="FIXME"
+ fi
+fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.79.1; memray: update to 1.14.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (6 preceding siblings ...)
2024-12-08 16:33 ` icp1994
@ 2024-12-08 16:55 ` icp1994
2025-03-10 1:51 ` python3-textual: update to 0.89.1; memray: update to 1.15.0 github-actions
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2024-12-08 16:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.79.1; memray: update to 1.14.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4941 bytes --]
From 12869487c91b15420e49abf89cc7f118e76644ff Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 0.89.1.
---
srcpkgs/python3-textual/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index 1f7155205b6dda..fcdfa8853ede28 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,19 +1,20 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
+version=0.89.1
revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
-checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
+checkdepends="${depends} python3-platformdirs python3-pytest-asyncio
+ python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
post_install() {
vlicense LICENSE
From 5cfc7704df7fec300ae69fca0f0f46c56e28f695 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.15.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 16 ++++++----
2 files changed, 40 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index 0e00fb39e8a583..75d7f94baa1810 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,23 +1,29 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
+version=1.15.0
revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
-hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
-makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
+hostmakedepends="python3-devel python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
+makedepends="libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=e05e6f079c253531bdb2975fc35f714f42905a9399a9269a712fc8a64240c471
make_check_pre="env PYTHONPATH=src"
+if [ "$CROSS_BUILD" ]; then
+ if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ broken="FIXME"
+ fi
+fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: python3-textual: update to 0.89.1; memray: update to 1.15.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (7 preceding siblings ...)
2024-12-08 16:55 ` icp1994
@ 2025-03-10 1:51 ` github-actions
2025-03-11 7:20 ` [PR PATCH] [Updated] " icp1994
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2025-03-10 1:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/52291#issuecomment-2709239822
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.89.1; memray: update to 1.15.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (8 preceding siblings ...)
2025-03-10 1:51 ` python3-textual: update to 0.89.1; memray: update to 1.15.0 github-actions
@ 2025-03-11 7:20 ` icp1994
2025-03-11 7:41 ` icp1994
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2025-03-11 7:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.89.1; memray: update to 1.15.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4887 bytes --]
From 1855c159ad328bd35fbd78d480750c83c3ab7077 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 2.1.2.
---
srcpkgs/python3-textual/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index fd16cbb175802a..3722c0bc2178e5 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,11 +1,11 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
-revision=2
+version=2.1.2
+revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
@@ -13,7 +13,7 @@ license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=aae3f9fde00c7440be00e3c3ac189e02d014f5298afdc32132f93480f9e09146
post_install() {
vlicense LICENSE
From 9eb93af8ab241d3f0274ca4adf63396e07933ef5 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.16.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 18 ++++++++----
2 files changed, 41 insertions(+), 6 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index c79143632a20c6..a3acc9934e552f 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,23 +1,29 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
-revision=2
+version=1.16.0
+revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
-hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
-makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
+hostmakedepends="python3-devel python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
+makedepends="libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=3c7e911145a37a3c62ff46a6d58e6006c5be7663ea10a0ff0b9175e603c8157b
make_check_pre="env PYTHONPATH=src"
+if [ "$CROSS_BUILD" ]; then
+ if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ broken="FIXME"
+ fi
+fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.89.1; memray: update to 1.15.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (9 preceding siblings ...)
2025-03-11 7:20 ` [PR PATCH] [Updated] " icp1994
@ 2025-03-11 7:41 ` icp1994
2025-03-11 7:46 ` icp1994
2025-03-11 7:57 ` icp1994
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2025-03-11 7:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.89.1; memray: update to 1.15.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4897 bytes --]
From 1855c159ad328bd35fbd78d480750c83c3ab7077 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 2.1.2.
---
srcpkgs/python3-textual/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index fd16cbb175802a..3722c0bc2178e5 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,11 +1,11 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
-revision=2
+version=2.1.2
+revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
@@ -13,7 +13,7 @@ license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=aae3f9fde00c7440be00e3c3ac189e02d014f5298afdc32132f93480f9e09146
post_install() {
vlicense LICENSE
From ebca467e834791852e35147c19c96b8ab05695ed Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.16.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 18 ++++++++----
2 files changed, 41 insertions(+), 6 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index c79143632a20c6..345a6d25a61c3c 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,23 +1,29 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
-revision=2
+version=1.16.0
+revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
-hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
-makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
+hostmakedepends="python3-devel python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
+makedepends="libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=3c7e911145a37a3c62ff46a6d58e6006c5be7663ea10a0ff0b9175e603c8157b
make_check_pre="env PYTHONPATH=src"
+# if [ "$CROSS_BUILD" ]; then
+# if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+# broken="FIXME"
+# fi
+# fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.89.1; memray: update to 1.15.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (10 preceding siblings ...)
2025-03-11 7:41 ` icp1994
@ 2025-03-11 7:46 ` icp1994
2025-03-11 7:57 ` icp1994
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2025-03-11 7:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.89.1; memray: update to 1.15.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4836 bytes --]
From 1855c159ad328bd35fbd78d480750c83c3ab7077 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 2.1.2.
---
srcpkgs/python3-textual/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index fd16cbb175802a..3722c0bc2178e5 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,11 +1,11 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
-revision=2
+version=2.1.2
+revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
@@ -13,7 +13,7 @@ license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=aae3f9fde00c7440be00e3c3ac189e02d014f5298afdc32132f93480f9e09146
post_install() {
vlicense LICENSE
From 353260a514b4eca2329fd42636108ea436dbe121 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.16.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 16 ++++++----
2 files changed, 40 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index c79143632a20c6..b4d95428f05901 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,23 +1,29 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
-revision=2
+version=1.16.0
+revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
-hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
+hostmakedepends="python3-devel python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=3c7e911145a37a3c62ff46a6d58e6006c5be7663ea10a0ff0b9175e603c8157b
make_check_pre="env PYTHONPATH=src"
+# if [ "$CROSS_BUILD" ]; then
+# if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+# broken="FIXME"
+# fi
+# fi
+
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] python3-textual: update to 0.89.1; memray: update to 1.15.0.
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
` (11 preceding siblings ...)
2025-03-11 7:46 ` icp1994
@ 2025-03-11 7:57 ` icp1994
12 siblings, 0 replies; 14+ messages in thread
From: icp1994 @ 2025-03-11 7:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages memray
https://github.com/void-linux/void-packages/pull/52291
python3-textual: update to 0.89.1; memray: update to 1.15.0.
#### 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**
A patch file from https://github.com/void-linux/void-packages/pull/52291.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memray-52291.patch --]
[-- Type: text/x-diff, Size: 4535 bytes --]
From 1855c159ad328bd35fbd78d480750c83c3ab7077 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 21:16:02 +0530
Subject: [PATCH 1/2] python3-textual: update to 2.1.2.
---
srcpkgs/python3-textual/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-textual/template b/srcpkgs/python3-textual/template
index fd16cbb175802a..3722c0bc2178e5 100644
--- a/srcpkgs/python3-textual/template
+++ b/srcpkgs/python3-textual/template
@@ -1,11 +1,11 @@
# Template file for 'python3-textual'
pkgname=python3-textual
-version=0.73.0
-revision=2
+version=2.1.2
+revision=1
build_style=python3-pep517
-make_check_args="-k not((snapshot)or(markdown)or(feature)or(language))"
+make_check_args="-k not((snapshot)or(markdown)or(feature)or(language)or(slug)or(demo))"
hostmakedepends="python3-poetry-core"
-depends="python3-rich python3-markdown-it python3-typing_extensions"
+depends="python3-rich python3-markdown-it python3-typing_extensions python3-platformdirs"
checkdepends="${depends} python3-pytest-asyncio python3-pytest-xdist"
short_desc="Modern Text User Interface framework"
maintainer="icp <pangolin@vivaldi.net>"
@@ -13,7 +13,7 @@ license="MIT"
homepage="https://textual.textualize.io"
changelog="https://raw.githubusercontent.com/Textualize/textual/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/t/textual/textual-${version}.tar.gz"
-checksum=ccd1e873370577f557dfdf2b3411f2a4f68b57d4365f9d83a00d084afb15f5a6
+checksum=aae3f9fde00c7440be00e3c3ac189e02d014f5298afdc32132f93480f9e09146
post_install() {
vlicense LICENSE
From ac97bb3dd277d0e2cd52ca0cb9bba91b45db5309 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 14 Sep 2024 20:58:37 +0530
Subject: [PATCH 2/2] memray: update to 1.16.0.
---
.../memray/patches/rm-snapshopt-config.patch | 29 +++++++++++++++++++
srcpkgs/memray/template | 8 ++---
2 files changed, 33 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/memray/patches/rm-snapshopt-config.patch
diff --git a/srcpkgs/memray/patches/rm-snapshopt-config.patch b/srcpkgs/memray/patches/rm-snapshopt-config.patch
new file mode 100644
index 00000000000000..e73d501784608d
--- /dev/null
+++ b/srcpkgs/memray/patches/rm-snapshopt-config.patch
@@ -0,0 +1,29 @@
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -38,26 +38,6 @@
+ return None
+
+
+-def pytest_configure(config):
+- if config.option.update_snapshots:
+- from importlib import metadata # Added in 3.8
+-
+- for lib, min_ver in SNAPSHOT_MINIMUM_VERSIONS.items():
+- ver = version.parse(metadata.version(lib))
+- if ver != version.parse(min_ver):
+- pytest.exit(
+- f"snapshots must be generated with {lib}=={min_ver}"
+- f" or SNAPSHOT_MINIMUM_VERSIONS must be updated to {ver}"
+- f" in {__file__}"
+- )
+- return
+-
+- reason = _snapshot_skip_reason()
+- if reason:
+- config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
+- config.option.warn_unused_snapshots = True
+-
+-
+ def pytest_collection_modifyitems(config, items):
+ reason = _snapshot_skip_reason()
+ if reason:
diff --git a/srcpkgs/memray/template b/srcpkgs/memray/template
index c79143632a20c6..d72ad3f709fb8d 100644
--- a/srcpkgs/memray/template
+++ b/srcpkgs/memray/template
@@ -1,21 +1,21 @@
# Template file for 'memray'
pkgname=memray
-version=1.13.4
-revision=2
+version=1.16.0
+revision=1
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
-checkdepends="${depends} python3-pytest"
+checkdepends="${depends} python3-platformdirs python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
-checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
+checksum=3c7e911145a37a3c62ff46a6d58e6006c5be7663ea10a0ff0b9175e603c8157b
make_check_pre="env PYTHONPATH=src"
pre_build() {
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2025-03-11 7:57 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-20 19:39 [PR PATCH] python3-textual: update to 0.79.1; memray: update to 1.14.0 icp1994
2024-09-20 19:51 ` [PR PATCH] [Updated] " icp1994
2024-09-20 19:55 ` icp1994
2024-09-20 20:31 ` icp1994
2024-12-08 15:47 ` [PR PATCH] [Updated] " icp1994
2024-12-08 16:08 ` icp1994
2024-12-08 16:17 ` icp1994
2024-12-08 16:33 ` icp1994
2024-12-08 16:55 ` icp1994
2025-03-10 1:51 ` python3-textual: update to 0.89.1; memray: update to 1.15.0 github-actions
2025-03-11 7:20 ` [PR PATCH] [Updated] " icp1994
2025-03-11 7:41 ` icp1994
2025-03-11 7:46 ` icp1994
2025-03-11 7:57 ` icp1994
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).