File: no_pkg_resources.patch

package info (click to toggle)
pandas 2.2.3%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 66,784 kB
  • sloc: python: 422,228; ansic: 9,190; sh: 270; xml: 102; makefile: 83
file content (25 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Stop using pkg_resources

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1083523
Forwarded: no, it would crash on Macs

--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,6 @@ import sys
 from sysconfig import get_config_vars
 
 import numpy
-from pkg_resources import parse_version
 from setuptools import (
     Command,
     Extension,
@@ -46,7 +45,7 @@ try:
     )
     from Cython.Build import cythonize
 
-    _CYTHON_INSTALLED = parse_version(_CYTHON_VERSION) >= parse_version(min_cython_ver)
+    _CYTHON_INSTALLED = True
 except ImportError:
     _CYTHON_VERSION = None
     _CYTHON_INSTALLED = False