Skip to content

Commit 9a4f925

Browse files
renovate[bot]portellaa
authored andcommitted
chore(actions): update dependency python to 3.13
1 parent 3d5301d commit 9a4f925

4 files changed

Lines changed: 54 additions & 42 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
name: built-artifacts
8181
path: dist/
8282

83-
- uses: pypa/gh-action-pypi-publish@v1.12.4
83+
- uses: pypa/gh-action-pypi-publish@release/v1
8484
with:
85-
user: __token__
86-
password: ${{ secrets.PYPI_API_TOKEN }}
85+
packages-dir: dist/

MANIFEST.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ include requirements*.txt
44
# Include license, Readme, etc.
55
include LICENSE
66
include *.md
7-
include mypy.ini
8-
include src/ydata_profiling/py.typed
97

108
# Templates and static resources
119
recursive-include src/ydata_profiling/report/presentation/flavours/html/templates *.html *.js *.css
@@ -20,7 +18,7 @@ recursive-include venv *.yml
2018
exclude .pre-commit-config.yaml
2119
exclude commitlint.config.js
2220
exclude .releaserc.json
23-
include Makefile make.bat
21+
exclude Makefile make.bat
2422
exclude docs examples tests docsrc .devcontainer
2523
recursive-exclude docs *
2624
recursive-exclude docsrc *

pyproject.toml

Lines changed: 51 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
[build-system]
2-
requires = ["setuptools"]
32
build-backend = "setuptools.build_meta"
3+
requires = [
4+
"setuptools>=72.0.0,<80.0.0",
5+
"setuptools-scm>=8.0.0,<9.0.0",
6+
"wheel>=0.38.4,<1.0.0"
7+
]
8+
9+
[packaging]
10+
package_name = "ydata-profiling"
411

512
[project]
613
name = "ydata-profiling"
14+
requires-python = ">=3.7,<3.13"
715
authors = [
8-
{name = "YData Labs Inc", email = "opensource@ydata.ai"},
16+
{name = "YData Labs Inc", email = "opensource@ydata.ai"}
917
]
10-
description="Generate profile report for pandas DataFrame"
18+
description = "Generate profile report for pandas DataFrame"
19+
keywords = ["pandas", "data-science", "data-analysis", "python", "jupyter", "ipython"]
1120
readme = "README.md"
12-
requires-python=">=3.7, <3.13"
13-
keywords=["pandas", "data-science", "data-analysis", "python", "jupyter", "ipython"]
14-
license = {text = "MIT"}
15-
classifiers=[
21+
license = {file = "LICENSE.md"}
22+
classifiers = [
1623
"Development Status :: 5 - Production/Stable",
1724
"Topic :: Software Development :: Build Tools",
1825
"License :: OSI Approved :: MIT License",
@@ -63,10 +70,11 @@ dependencies = [
6370
"numba>=0.56.0, <1",
6471
]
6572

66-
dynamic = ["version"]
73+
dynamic = [
74+
"version",
75+
]
6776

6877
[project.optional-dependencies]
69-
# dependencies for development and testing
7078
dev = [
7179
"black>=20.8b1",
7280
"isort>=5.0.7",
@@ -80,6 +88,23 @@ dev = [
8088
"sphinx-multiversion>=0.2.3",
8189
"autodoc_pydantic",
8290
]
91+
92+
docs = [
93+
"mkdocs>=1.6.0,<1.7.0",
94+
"mkdocs-material>=9.0.12,<10.0.0",
95+
"mkdocs-material-extensions>=1.1.1,<2.0.0",
96+
"mkdocs-table-reader-plugin<=2.2.0",
97+
"mike>=2.1.1,<2.2.0",
98+
"mkdocstrings[python]>=0.20.0,<1.0.0",
99+
"mkdocs-badges",
100+
]
101+
102+
notebook = [
103+
"jupyter>=1.0.0",
104+
"ipywidgets>=7.5.1",
105+
"autodoc_pydantic"
106+
]
107+
83108
# this provides the recommended pyspark and pyarrow versions for spark to work on pandas-profiling
84109
# note that if you are using pyspark 2.3 or 2.4 and pyarrow >= 0.15, you might need to
85110
# set ARROW_PRE_0_15_IPC_FORMAT=1 in your conf/spark-env.sh for toPandas functions to work properly
@@ -90,6 +115,7 @@ spark = [
90115
"numpy>=1.16.0,<1.24",
91116
"visions[type_image_path]>=0.7.5, <0.7.7",
92117
]
118+
93119
test = [
94120
"pytest",
95121
"coverage>=6.5, <8",
@@ -100,35 +126,29 @@ test = [
100126
"twine>=3.1.1",
101127
"kaggle",
102128
]
103-
notebook = [
104-
"jupyter>=1.0.0",
105-
"ipywidgets>=7.5.1",
106-
]
107-
docs = [
108-
"mkdocs>=1.6.0,<1.7.0",
109-
"mkdocs-material>=9.0.12,<10.0.0",
110-
"mkdocs-material-extensions>=1.1.1,<2.0.0",
111-
"mkdocs-table-reader-plugin<=2.2.0",
112-
"mike>=2.1.1,<2.2.0",
113-
"mkdocstrings[python]>=0.20.0,<1.0.0",
114-
"mkdocs-badges",
115-
]
129+
116130
unicode= [
117131
"tangled-up-in-unicode==0.2.0",
118132
]
119133

120-
[tool.setuptools.packages.find]
121-
where = ["src"]
134+
[project.urls]
135+
Homepage = "https://ydata.ai"
136+
Repository = "https://github.com/ydataai/ydata-profiling"
122137

123-
[tool.setuptools.package-data]
124-
ydata_profiling = ["py.typed"]
138+
[project.scripts]
139+
ydata_profiling = "ydata_profiling.controller.console:main"
140+
pandas_profiling = "ydata_profiling.controller.console:main"
141+
142+
# setuptools relative
125143

126144
[tool.setuptools]
127145
include-package-data = true
128146

129-
[project.scripts]
130-
ydata_profiling = "ydata_profiling.controller.console:main"
131-
pandas_profiling = "ydata_profiling.controller.console:main"
147+
[tool.setuptools.package-data]
148+
ydata_profiling = ["py.typed"]
132149

133-
[project.urls]
134-
homepage = "https://github.com/ydataai/ydata-profiling"
150+
[tool.distutils.bdist_wheel]
151+
universal = true
152+
153+
[tool.setuptools.package-dir]
154+
"" = "src"

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
# Read the contents of README file
66
source_root = Path(".")
7-
with (source_root / "README.md").open(encoding="utf-8") as f:
8-
long_description = f.read()
97

108
try:
119
version = (source_root / "VERSION").read_text().rstrip("\n")
@@ -17,7 +15,4 @@
1715

1816
setup(
1917
version=version,
20-
long_description=long_description,
21-
long_description_content_type="text/markdown",
22-
options={"bdist_wheel": {"universal": True}},
2318
)

0 commit comments

Comments
 (0)