Skip to content

Commit 13499ff

Browse files
Bing Guomergify[bot]
authored andcommitted
Fix collision of VERSION files with Clang++ <version> header files
1 parent d0369d4 commit 13499ff

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

c/VERSION renamed to c/VERSION.txt

File renamed without changes.

c/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('tskit', ['c', 'cpp'],
2-
version: files('VERSION'),
2+
version: files('VERSION.txt'),
33
default_options: ['c_std=c99', 'cpp_std=c++11']
44
)
55

python/tests/test_lowlevel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3550,7 +3550,7 @@ def test_tskit_version(self):
35503550

35513551
def test_tskit_version_file(self):
35523552
maj, min_, patch = _tskit.get_tskit_version()
3553-
with open(f"{tskit.__path__[0]}/../../c/VERSION") as f:
3553+
with open(f"{tskit.__path__[0]}/../../c/VERSION.txt") as f:
35543554
assert f.read() == f"{maj}.{min_}.{patch}"
35553555

35563556

0 commit comments

Comments
 (0)