aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/cyson/pymodule
diff options
context:
space:
mode:
authorvvvv <vvvv@ydb.tech>2023-08-30 20:49:53 +0300
committervvvv <vvvv@ydb.tech>2023-08-30 21:17:44 +0300
commitf154e22342f327342effe873b0a00ad80c975e76 (patch)
treefff231496c10fbfcff025ed953b512bf2a82d7c0 /library/python/cyson/pymodule
parent4ebafdd49d8b0706c5af76ef7c2d0b3b498d0310 (diff)
downloadydb-f154e22342f327342effe873b0a00ad80c975e76.tar.gz
Moved udf_test and refactored test_framework
Локально упавший тест выполняется %% vvvv@mr-nvme-testing-08:~/repo/arcadia/statbox/nile/tests/yql/py2/part_2$ arc checkout move_udf_test_and_refactor_tf Switched to branch 'move_udf_test_and_refactor_tf' vvvv@mr-nvme-testing-08:~/repo/arcadia/statbox/nile/tests/yql/py2/part_2$ ya make -tA -F '*test_unchanged_table*' Warn[-WPluginErr]: in $B/statbox/nile/tests/yql/py2/part_2/libpy2-part_2.so: Requirement cpu is redefined 2 -> 4 Warn[-WPluginErr]: in $B/statbox/nile/tests/yql/py2/part_2/libpy2-part_2.so: Requirement ram is redefined 16 -> 9 Number of suites skipped by name: 2, by filter *test_unchanged_table* Total 1 suite: 1 - GOOD Total 4 tests: 4 - GOOD Ok %% судя по ошибке он flaky
Diffstat (limited to 'library/python/cyson/pymodule')
-rw-r--r--library/python/cyson/pymodule/ya.make21
1 files changed, 21 insertions, 0 deletions
diff --git a/library/python/cyson/pymodule/ya.make b/library/python/cyson/pymodule/ya.make
new file mode 100644
index 0000000000..dd308bd8a0
--- /dev/null
+++ b/library/python/cyson/pymodule/ya.make
@@ -0,0 +1,21 @@
+PY_ANY_MODULE(_cyson)
+
+IF (PYTHON_CONFIG MATCHES "python3" OR USE_SYSTEM_PYTHON MATCHES "3.")
+ PYTHON3_MODULE()
+ELSE()
+ PYTHON2_MODULE()
+ENDIF()
+
+NO_WSHADOW()
+
+PEERDIR(
+ library/c/cyson
+)
+
+SRCS(
+ library/python/cyson/cyson/_cyson.pyx
+ library/python/cyson/cyson/helpers.cpp
+ library/python/cyson/cyson/unsigned_long.cpp
+)
+
+END()