File tree 4 files changed +2
-12
lines changed
4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 183
183
184
184
_built_with_meson = True
185
185
except ImportError :
186
- from pandas ._version import get_versions
187
-
188
- v = get_versions ()
189
- __version__ = v .get ("closest-tag" , v ["version" ])
190
- __git_version__ = v .get ("full-revisionid" )
191
- del get_versions , v
186
+ from .__version import version as __version__
192
187
193
188
194
189
# module level doc-string
Original file line number Diff line number Diff line change @@ -193,8 +193,6 @@ class TestPDApi(Base):
193
193
"_testing" ,
194
194
"_typing" ,
195
195
]
196
- if not pd ._built_with_meson :
197
- private_modules .append ("_version" )
198
196
199
197
def test_api (self ):
200
198
checkthese = (
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def test_standardize_mapping():
159
159
dd = collections .defaultdict (list )
160
160
assert isinstance (com .standardize_mapping (dd ), partial )
161
161
162
-
162
+ @ pytest . mark . xfail ( reason = "deb_nonversioneer_version patch" )
163
163
def test_git_version ():
164
164
# GH 21295
165
165
git_version = pd .__git_version__
Original file line number Diff line number Diff line change @@ -55,9 +55,6 @@ def test_show_versions_console(capsys):
55
55
# check header
56
56
assert "INSTALLED VERSIONS" in result
57
57
58
- # check full commit hash
59
- assert re .search (r"commit\s*:\s[0-9a-f]{40}\n" , result )
60
-
61
58
# check required dependency
62
59
# 2020-12-09 npdev has "dirty" in the tag
63
60
# 2022-05-25 npdev released with RC wo/ "dirty".
You can’t perform that action at this time.
0 commit comments