Сравнение pandas-1.5.3 с pandas-2.0.0

/usr/portage/dev-python/pandas/pandas-2.0.0.ebuild 2023-10-09 14:52:30.320368371 +0300
24 24

  
25 25
SLOT="0"
26 26
LICENSE="BSD"
27
KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
27
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
28 28
IUSE="doc full-support minimal test X"
29 29
RESTRICT="!test? ( test )"
30 30

  
31 31
RECOMMENDED_DEPEND="
32
	>=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}]
33
	>=dev-python/numexpr-2.7.0[${PYTHON_USEDEP}]
32
	>=dev-python/bottleneck-1.3.2[${PYTHON_USEDEP}]
33
	>=dev-python/numexpr-2.7.1[${PYTHON_USEDEP}]
34 34
"
35 35

  
36 36
# TODO: add pandas-gbq to the tree
37 37
# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11
38 38
# https://github.com/statsmodels/statsmodels/issues/8287
39 39
OPTIONAL_DEPEND="
40
	dev-python/beautifulsoup4[${PYTHON_USEDEP}]
40
	>=dev-python/beautifulsoup4-4.9.3[${PYTHON_USEDEP}]
41 41
	dev-python/blosc[${PYTHON_USEDEP}]
42
	|| (
43
		dev-python/html5lib[${PYTHON_USEDEP}]
44
		dev-python/lxml[${PYTHON_USEDEP}]
45
	)
46
	dev-python/jinja[${PYTHON_USEDEP}]
47
	dev-python/matplotlib[${PYTHON_USEDEP}]
48
	|| (
49
		dev-python/openpyxl[${PYTHON_USEDEP}]
50
		dev-python/xlsxwriter[${PYTHON_USEDEP}]
51
	)
52
	>=dev-python/tables-3.2.1[${PYTHON_USEDEP}]
53
	>=dev-python/xarray-0.12.3[${PYTHON_USEDEP}]
54
	>=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
55
	>=dev-python/xlrd-1.2.0[${PYTHON_USEDEP}]
42
	>=dev-python/html5lib-1.1[${PYTHON_USEDEP}]
43
	>=dev-python/jinja-3.0.0[${PYTHON_USEDEP}]
44
	>=dev-python/lxml-4.6.3[${PYTHON_USEDEP}]
45
	>=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
46
	>=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
47
	>=dev-python/sqlalchemy-1.4.16[${PYTHON_USEDEP}]
48
	>=dev-python/tables-3.6.1[${PYTHON_USEDEP}]
49
	>=dev-python/tabulate-0.8.9[${PYTHON_USEDEP}]
50
	>=dev-python/xarray-0.21.0[${PYTHON_USEDEP}]
51
	>=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}]
52
	>=dev-python/xlsxwriter-1.4.3[${PYTHON_USEDEP}]
56 53
	>=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}]
57 54
	!hppa? (
58 55
		$(python_gen_cond_dep '
59 56
			dev-python/statsmodels[${PYTHON_USEDEP}]
60 57
		' python3_{8..10} )
61
		>=dev-python/scipy-1.1[${PYTHON_USEDEP}]
58
		>=dev-python/scipy-1.7.1[${PYTHON_USEDEP}]
62 59
	)
63 60
	X? (
64 61
		|| (
65
			dev-python/PyQt5[${PYTHON_USEDEP}]
62
			>=dev-python/PyQt5-5.15.1[${PYTHON_USEDEP}]
63
			>=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}]
66 64
			x11-misc/xclip
67 65
			x11-misc/xsel
68 66
		)
69 67
	)
70 68
"
71
DEPEND="
72
	>=dev-python/numpy-1.21.0[${PYTHON_USEDEP}]
73
"
74 69
COMMON_DEPEND="
75
	${DEPEND}
76
	>=dev-python/python-dateutil-2.8.1-r3[${PYTHON_USEDEP}]
70
	>=dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
71
	>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
77 72
	>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
78 73
"
79 74
# <cython-3: bug #898706
80 75
BDEPEND="
81 76
	${COMMON_DEPEND}
77
	>=dev-python/cython-0.29.33[${PYTHON_USEDEP}]
82 78
	<dev-python/cython-3[${PYTHON_USEDEP}]
83
	>=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
79
	>=dev-python/versioneer-0.28[${PYTHON_USEDEP}]
84 80
	doc? (
85 81
		${VIRTUALX_DEPEND}
86
		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
87
		dev-python/html5lib[${PYTHON_USEDEP}]
82
		>=dev-python/beautifulsoup4-4.9.3[${PYTHON_USEDEP}]
83
		>=dev-python/html5lib-1.1[${PYTHON_USEDEP}]
88 84
		dev-python/ipython[${PYTHON_USEDEP}]
89
		dev-python/lxml[${PYTHON_USEDEP}]
90
		dev-python/matplotlib[${PYTHON_USEDEP}]
85
		>=dev-python/lxml-4.6.3[${PYTHON_USEDEP}]
86
		>=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
91 87
		dev-python/nbsphinx[${PYTHON_USEDEP}]
92 88
		>=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}]
93
		>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
94
		>=dev-python/tables-3.0.0[${PYTHON_USEDEP}]
89
		>=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
90
		>=dev-python/tables-3.6.1[${PYTHON_USEDEP}]
95 91
		dev-python/pytz[${PYTHON_USEDEP}]
96 92
		dev-python/rpy[${PYTHON_USEDEP}]
97 93
		dev-python/sphinx[${PYTHON_USEDEP}]
98
		dev-python/xlrd[${PYTHON_USEDEP}]
94
		>=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}]
99 95
		dev-python/xlwt[${PYTHON_USEDEP}]
100 96
		dev-python/scipy[${PYTHON_USEDEP}]
101 97
		virtual/pandoc
......
105 101
		${VIRTUALX_DEPEND}
106 102
		${RECOMMENDED_DEPEND}
107 103
		${OPTIONAL_DEPEND}
108
		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
109
		>=dev-python/hypothesis-5.5.3[${PYTHON_USEDEP}]
110
		dev-python/openpyxl[${PYTHON_USEDEP}]
111
		dev-python/pymysql[${PYTHON_USEDEP}]
112
		>=dev-python/pytest-6[${PYTHON_USEDEP}]
113
		>=dev-python/pytest-xdist-1.31[${PYTHON_USEDEP}]
114
		dev-python/psycopg:2[${PYTHON_USEDEP}]
115
		dev-python/xlsxwriter[${PYTHON_USEDEP}]
104
		>=dev-python/beautifulsoup4-4.9.3[${PYTHON_USEDEP}]
105
		>=dev-python/hypothesis-6.34.2[${PYTHON_USEDEP}]
106
		>=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
107
		>=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}]
108
		>=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
109
		>=dev-python/pytest-xdist-2.2.0[${PYTHON_USEDEP}]
110
		>=dev-python/psycopg-2.8.6:2[${PYTHON_USEDEP}]
111
		>=dev-python/xlsxwriter-1.4.3[${PYTHON_USEDEP}]
116 112
		x11-misc/xclip
117 113
		x11-misc/xsel
118 114
	)
......
130 126
	sed -e "/^              'sphinx.ext.intersphinx',/d" \
131 127
		-i doc/source/conf.py || die
132 128

  
133
	# requires package installed
134
	sed -e '/extra_compile_args =/s:"-Werror"::' \
135
		-i setup.py || die
129
	# unnecessary with system tzdata
130
	sed -i -e '/tzdata/d' pyproject.toml || die
136 131

  
137 132
	distutils-r1_python_prepare_all
138 133
}
......
185 180

  
186 181
		# warning from dask
187 182
		pandas/tests/test_downstream.py::test_construct_dask_float_array_int_dtype_match_ndarray
183

  
184
		# TODO: mpl incompatibility?
185
		pandas/tests/plotting/frame/test_frame.py::TestDataFramePlots::test_plain_axes
188 186
	)
189 187

  
190 188
	local -x LC_ALL=C.UTF-8
......
212 210
	optfeature "for msgpack compression using blosc" dev-python/blosc
213 211
	optfeature "Template engine for conditional HTML formatting" dev-python/jinja
214 212
	optfeature "Plotting support" dev-python/matplotlib
215
	optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.0" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
216
	optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.2.1"
213
	optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.7" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
214
	optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.6.1"
217 215
	optfeature "R I/O support" dev-python/rpy
218 216
	optfeature "Needed for parts of pandas.stats" dev-python/statsmodels
219
	optfeature "SQL database support" ">=dev-python/sqlalchemy-1.3.0"
217
	optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.16"
220 218
	optfeature "miscellaneous statistical functions" dev-python/scipy
221
	optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/pygtk x11-misc/xclip x11-misc/xsel
219
	optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel
222 220
}
Спасибо!