diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5655be5a0..b7482dfc7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,10 +24,6 @@ jobs: python-version: 3.7.16 pandas: "pandas>1.1" numpy: "numpy" -# - os: windows-2016 -# python-version: 3.6 -# pandas: "pandas>1.1" -# numpy: "numpy" - os: ubuntu-22.04 python-version: 3.7.16 pandas: "pandas>1.1" @@ -48,6 +44,10 @@ jobs: python-version: "3.11" pandas: "pandas>1.1" numpy: "numpy" + - os: ubuntu-22.04 + python-version: "3.12" + pandas: "pandas>1.1" + numpy: "numpy" steps: - uses: actions/checkout@v4 @@ -158,22 +158,11 @@ jobs: matrix: os: [ ubuntu-22.04 ] python-version: [3.7, 3.8] - pandas: ["pandas==0.25.3", "pandas==1.0.5", "pandas>1.1"] - spark: ["2.3.0", "2.4.7", "3.0.1"] + pandas: ["pandas>1.1"] + spark: ["3.0.1"] hadoop: [ 2.7 ] numpy: ["numpy"] java_home: [ /usr/lib/jvm/java-8-openjdk-amd64 ] - exclude: - - python-version: 3.8 - spark: "2.3.0" - - python-version: 3.8 - spark: "2.4.7" -# - os: macos-latest -# python-version: 3.6 -# pandas: ">1.1" -# - os: windows-2016 -# python-version: 3.6 -# pandas: ">1.1" name: Tests Spark | python ${{ matrix.python-version }}, ${{ matrix.os }}, spark${{ matrix.spark }}, ${{ matrix.pandas }}, ${{ matrix.numpy }} env: diff --git a/requirements-spark.txt b/requirements-spark.txt index e8850714c..5d6e79cb4 100644 --- a/requirements-spark.txt +++ b/requirements-spark.txt @@ -5,3 +5,5 @@ pyspark>=2.3.0 pyarrow>=2.0.0 pandas>1.1, <2, !=1.4.0 numpy>=1.16.0,<1.24 +visions[type_image_path]==0.7.5 + diff --git a/requirements.txt b/requirements.txt index 4892182b8..ce87ae269 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,8 @@ matplotlib>=3.2, <3.9 pydantic>=2 PyYAML>=5.0.0, <6.1 jinja2>=2.11.1, <3.2 -visions[type_image_path]==0.7.5 -numpy>=1.16.0,<1.26 +visions[type_image_path]>=0.7.5, <0.7.7 +numpy>=1.16.0, <2 # Could be optional # Related to HTML report htmlmin==0.1.12 @@ -24,4 +24,4 @@ typeguard>=4.1.2, <5 imagehash==4.3.1 wordcloud>=1.9.1 dacite>=1.8 -numba>=0.56.0,<0.59.0 +numba>=0.56.0, <1 diff --git a/setup.py b/setup.py index 85dd2e182..aa68dd77d 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ url="https://github.com/ydataai/ydata-profiling", license="MIT", description="Generate profile report for pandas DataFrame", - python_requires=">=3.7, <3.12", + python_requires=">=3.7, <3.13", install_requires=requirements, extras_require={ "notebook": [ @@ -63,6 +63,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], keywords="pandas data-science data-analysis python jupyter ipython", long_description=long_description,