Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
python_min:
- '3.9'
- '3.10'
6 changes: 3 additions & 3 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions recipe/1980-wrapt_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 3911395a85f0b259155865d3f39cb002053741a1 Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <[email protected]>
Date: Tue, 12 Aug 2025 08:35:30 -0400
Subject: [PATCH] Allow wrapt 2.x

---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index e36b50ad0..e125ea84f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ dynamic = ["readme", "version"]
description = "Controller Area Network interface module for Python"
authors = [{ name = "python-can contributors" }]
dependencies = [
- "wrapt~=1.10",
+ "wrapt >= 1.10, < 3",
"packaging >= 23.1",
"typing_extensions>=3.10.0.0",
]
6 changes: 4 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ package:
source:
url: https://pypi.org/packages/source/p/python_can/python_can-{{ version }}.tar.gz
sha256: 290fea135d04b8504ebff33889cc6d301e2181a54099116609f940825ffe5005
patches:
- 1980-wrapt_version.patch

build:
noarch: python
number: 0
number: 1
script:
- sed -i 's/dynamic = .*/version = "{{ version }}"/' pyproject.toml
- echo "__version__ = '{{ version }}'" >> can/__init__.py
Expand All @@ -28,7 +30,7 @@ requirements:
- pyserial
- typing
- typing_extensions >=3.10.0.0
- wrapt >=1.10.0
- wrapt >=1.10.0,<3
# - pywin32 # [win]
# - windows-curses # [win]

Expand Down