From 875311f406230fbd152e869e0ebe6f36d724494e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Wed, 18 Sep 2024 20:41:19 +0200
Subject: [PATCH] snakehouse.__version__

---
 CHANGELOG.md               | 4 ++++
 setup.cfg                  | 2 +-
 snakehouse/__init__.py     | 2 +-
 snakehouse/requirements.py | 5 ++++-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0eb0cf7..db038fd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+# 2.3
+
+* updated snakehouse.__version__
+
 # 2.2
 
 * added read_dependency_links to snakehouse
diff --git a/setup.cfg b/setup.cfg
index 67c8987..e299516 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,7 +2,7 @@
 [metadata]
 name = snakehouse
 keywords = cython, extension, multiple, pyx
-version = 2.2
+version = 2.3
 long_description = file: README.md
 long_description_content_type = text/markdown; charset=UTF-8
 license_files = LICENSE
diff --git a/snakehouse/__init__.py b/snakehouse/__init__.py
index b62cb1c..0d535f8 100644
--- a/snakehouse/__init__.py
+++ b/snakehouse/__init__.py
@@ -3,4 +3,4 @@ from .multibuild import Multibuild, find_all
 from .faster_builds import monkey_patch_parallel_compilation
 from .requirements import read_requirements_txt, read_dependency_links, find_c, find_pyx_and_c, find_pyx
 
-__version__ = '2.0'
+__version__ = '2.3'
diff --git a/snakehouse/requirements.py b/snakehouse/requirements.py
index a9bf665..3ae9601 100644
--- a/snakehouse/requirements.py
+++ b/snakehouse/requirements.py
@@ -64,7 +64,10 @@ def read_requirements_txt(path: str = 'requirements.txt'):
     return list(lines)
 
 
-def read_dependency_links(path: str = 'requirements.txt'):
+def read_dependency_links(path: str = 'requirements.txt') -> tp.List[str]:
+    """
+    Return arguments that can be passed to setup.py dependency_links
+    """
     lines = read_lines(path)
     lines = (line for line in lines if line.startwith('--extra'))
     return list(lines)
-- 
GitLab