瀏覽代碼

Merge pull request #821 from Avaiga/fix/pandas-version

fix: leave only minimum version of pandas in Pipfile
João André 1 年之前
父節點
當前提交
812a46fdd1

+ 1 - 1
Pipfile

@@ -21,7 +21,7 @@ markdown = "==3.4.4"
 marshmallow = "==3.20.1"
 networkx = "==2.6"
 openpyxl = "==3.1.2"
-pandas = ">=1.3.5,<2.3.0"
+pandas = "==1.3.5"
 pyarrow = "==14.0.2"
 pymongo = {extras = ["srv"], version = "==4.2.0"}
 python-dotenv = "==1.0.0"

+ 1 - 1
taipy/core/Pipfile

@@ -4,7 +4,7 @@ verify_ssl = true
 name = "pypi"
 
 [packages]
-pandas = ">=1.3.5,<2.3.0"
+pandas = "==1.3.5"
 networkx = "==2.6"
 openpyxl = "==3.1.2"
 pyarrow = "==14.0.2"

+ 1 - 1
taipy/gui/Pipfile

@@ -12,7 +12,7 @@ gevent = "==23.7.0"
 gevent-websocket = "==0.10.1"
 kthread = "==0.2.3"
 markdown = "==3.4.4"
-pandas = ">=1.3.5,<2.3.0"
+pandas = "==1.3.5"
 pyarrow = "==14.0.2"
 pyngrok = "==5.1"
 python-dotenv = "==1.0.0"

+ 1 - 0
tests/core/data/test_write_multiple_sheet_excel_data_node.py

@@ -346,6 +346,7 @@ def test_write_without_header_multiple_sheet_custom_exposed_type_without_sheet_n
         assert all(actual == expected for actual, expected in zip(excel_dn_data[sheet_name], sheet_data[sheet_name]))
 
 
+@pytest.mark.skip(reason="Not implemented on pandas 1.3.5")
 @pytest.mark.parametrize(
     "content",
     [

+ 3 - 0
tests/core/data/test_write_single_sheet_excel_data_node.py

@@ -348,6 +348,7 @@ def test_write_with_column_and_sheet_name(excel_file_with_sheet_name, default_da
         assert len(excel_dn.read()) == 1
 
 
+@pytest.mark.skip(reason="Not implemented on pandas 1.3.5")
 @pytest.mark.parametrize(
     "content",
     [
@@ -367,6 +368,7 @@ def test_append_pandas_with_sheetname(excel_file, default_data_frame, content):
     )
 
 
+@pytest.mark.skip(reason="Not implemented on pandas 1.3.5")
 @pytest.mark.parametrize(
     "content",
     [
@@ -386,6 +388,7 @@ def test_append_pandas_without_sheetname(excel_file, default_data_frame, content
     )
 
 
+@pytest.mark.skip(reason="Not implemented on pandas 1.3.5")
 @pytest.mark.parametrize(
     "content",
     [