Skip to content

Commit 3d059f7

Browse files
committed
test: Undo skip test + update security and github actions
1 parent e4b70f0 commit 3d059f7

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1616
fail-fast: false
1717
steps:
1818
- uses: actions/checkout@v3

SECURITY.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
The latest version of bigtree is supported with security updates.
66

7-
| Version | Supported |
8-
|---------| ------------------ |
9-
| 0.12.x | :white_check_mark: |
10-
| 0.13.x | :white_check_mark: |
11-
| 0.14.x | :white_check_mark: |
7+
| Version | Supported |
8+
|-----------| ------------------ |
9+
| >= 0.12.x | :white_check_mark: |
1210

1311

1412
## Reporting a Vulnerability

tests/tree/test_construct.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import sys
21
import unittest
32

43
import pandas as pd
@@ -1319,7 +1318,6 @@ def test_add_dataframe_to_tree_by_name_inconsistent_attributes(self):
13191318
)
13201319

13211320

1322-
@unittest.skipIf(sys.version_info <= (3, 7), "polars not supported")
13231321
class TestAddPolarsToTreeByPath(unittest.TestCase):
13241322
def setUp(self):
13251323
"""
@@ -1753,7 +1751,6 @@ def test_add_polars_to_tree_by_path_different_root_error(self):
17531751
)
17541752

17551753

1756-
@unittest.skipIf(sys.version_info <= (3, 7), "polars not supported")
17571754
class TestAddPolarsToTreeByName(unittest.TestCase):
17581755
def setUp(self):
17591756
"""
@@ -3668,7 +3665,6 @@ def test_dataframe_to_tree_by_relation_no_root_error():
36683665
) == Constants.ERROR_NODE_DATAFRAME_MULTIPLE_ROOT.format(root_nodes=[])
36693666

36703667

3671-
@unittest.skipIf(sys.version_info <= (3, 7), "polars not supported")
36723668
class TestPolarsToTree(unittest.TestCase):
36733669
def setUp(self):
36743670
"""
@@ -4109,7 +4105,6 @@ def test_polars_to_tree_different_root_error():
41094105
)
41104106

41114107

4112-
@unittest.skipIf(sys.version_info <= (3, 7), "polars not supported")
41134108
class TestPolarsToTreeByRelation(unittest.TestCase):
41144109
def setUp(self):
41154110
self.relation_data = pl.DataFrame(

tests/tree/test_export.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import sys
2-
import unittest
3-
41
import pandas as pd
52
import polars as pl
63
import pytest
@@ -869,7 +866,6 @@ def test_tree_to_dataframe_to_tree(tree_node):
869866
assert_tree_structure_node_root(tree)
870867

871868

872-
@unittest.skipIf(sys.version_info <= (3, 7), "polars not supported")
873869
class TestTreeToPolars:
874870
@staticmethod
875871
def test_tree_to_polars(tree_node):

0 commit comments

Comments
 (0)