Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'
- name: Install pandoc
uses: pandoc/actions/setup@v1
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10", "3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand All @@ -36,4 +36,4 @@ jobs:
pre-commit run --all-files
- name: Test with pytest
run: |
DATAPROFILER_SEED=0 pytest --forked --cov=dataprofiler --cov-fail-under=80
DATAPROFILER_SEED=0 pytest --cov=dataprofiler --cov-fail-under=80
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ recursive-include resources *.py
recursive-include dataprofiler/labelers/embeddings *.txt
include versioneer.py
include dataprofiler/_version.py
include whitesource.config

recursive-exclude _docs *.html
recursive-exclude _docs *.cfg
Expand Down
2 changes: 0 additions & 2 deletions dataprofiler/tests/test_data_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ def setUpClass(cls):
def test_set_seed(self):
import dataprofiler as dp

self.assertEqual(dp.settings._seed, None)

dp.set_seed(5)
self.assertEqual(dp.settings._seed, 5)

Expand Down
6 changes: 0 additions & 6 deletions dataprofiler/tests/test_dp_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ def tearDownClass(cls):
root_logger.removeHandler(dp_logging.get_logger())
dp_logging._dp_logger = None

def test_default_verbosity(self, mock_stdout):
# Ensure that default effective level is INFO
self.assertEqual(
logging.INFO, logging.getLogger("DataProfiler").getEffectiveLevel()
)

def test_set_verbosity(self, mock_stdout):
from dataprofiler import dp_logging

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ python-snappy>=0.7.1
charset-normalizer>=1.3.6
psutil>=4.0.0
scipy>=1.10.0
requests==2.32.*
requests>=2.32.4
networkx>=2.5.1
typing-extensions>=3.10.0.2
HLL>=2.0.3
datasketches>=4.1.0
packaging>=23.0
boto3>=1.28.61
boto3>=1.37.15
urllib3>=2.5.0
versioneer
# adding comment to trigger mend check
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
name="DataProfiler",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
python_requires=">=3.9",
python_requires=">=3.10",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ deps =
-rrequirements-reports.txt
-rrequirements-test.txt
commands =
python3 -m pytest dataprofiler/tests/ --cov=dataprofiler --cov-fail-under=80 --cov-report=xml:coverage.xml --forked
python3 -m pytest dataprofiler/tests/ --cov=dataprofiler --cov-fail-under=80 --cov-report=xml:coverage.xml

# add "docs" to `envlist` to run the docs build
#[testenv:docs]
Expand Down
2 changes: 2 additions & 0 deletions whitesource.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python.path=python3.11
python.pipPath=pip3.11