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/black-ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
black-format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--diff --check"
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- uses: tlylt/install-graphviz@v1

Expand All @@ -34,15 +34,6 @@ jobs:
- name: Install requirements dev
run: python -m pip install -r requirements-dev.txt

- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-

- name: Generate coverage report
run: |
pip install pytest
Expand Down Expand Up @@ -83,6 +74,6 @@ jobs:
exit 1
fi

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./dist/html/**
4 changes: 2 additions & 2 deletions .github/workflows/wheels-any.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- name: build wheel
run: python -m pip wheel .

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./pandas_streaming*.whl
5 changes: 5 additions & 0 deletions CHANGELOGS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Change Logs
===========

0.5.2
+++++

* :pr:`46`: update to CI to newer versions

0.5.1
+++++

Expand Down
7 changes: 6 additions & 1 deletion _doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
issues_github_path = "sdpython/pandas-streaming"

# The following is used by sphinx.ext.linkcode to provide links to github
linkcode_resolve = make_linkcode_resolve(
_linkcode_resolve = make_linkcode_resolve(
"pandas_streaming",
(
"https://github.com/sdpython/pandas-streaming/"
Expand All @@ -68,6 +68,11 @@
),
)


def linkcode_resolve(domain, info):
return _linkcode_resolve(domain, info)


latex_elements = {
"papersize": "a4",
"pointsize": "10pt",
Expand Down
2 changes: 1 addition & 1 deletion _doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ Source are available at `sdpython/pandas_streaming <https://github.com/sdpython/
Older versions
++++++++++++++

* `0.5.2 <../v0.5.2/index.html>`_
* `0.5.1 <../v0.5.1/index.html>`_
* `0.5.0 <../v0.5.0/index.html>`_
2 changes: 1 addition & 1 deletion _unittests/ut_df/test_streaming_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def compares(a, b, how):
sdf20 = dummy_streaming_dataframe(20)
sdf30 = dummy_streaming_dataframe(30)
# itself
hows = "inner left right outer".split()
hows = ["inner", "left", "right", "outer"]
for how in hows:
compares(sdf20, sdf20, how)
compares(sdf20, sdf20, how)
Expand Down
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
matrix:
Python311-Linux:
python.version: '3.11'
python.version: '3.12'
maxParallel: 3

steps:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
strategy:
matrix:
Python311-Linux:
python.version: '3.11'
python.version: '3.12'
maxParallel: 3

steps:
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
strategy:
matrix:
Python311-Linux:
python.version: '3.11'
python.version: '3.12'
maxParallel: 3

steps:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
strategy:
matrix:
Python311-Windows:
python.version: '3.11'
python.version: '3.12'
maxParallel: 3

steps:
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
strategy:
matrix:
Python311-Mac:
python.version: '3.11'
python.version: '3.12'
maxParallel: 3

steps:
Expand Down
2 changes: 1 addition & 1 deletion pandas_streaming/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.5.1"
__version__ = "0.5.2"
__author__ = "Xavier Dupré"
__github__ = "https://github.com/sdpython/pandas_streaming"
__url__ = "https://sdpython.github.io/doc/pandas-streaming/dev/"
Expand Down
44 changes: 43 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
[project]
authors = [{name="Xavier Dupré", email="xavier.dupre@gmail.com"}]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Development Status :: 5 - Production/Stable",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = ["pandas"]
description = "Streaming DataFrame: streaming over pandas."
keywords = ["pandas", "streaming"]
license = {file = "LICENSE.txt"}
name = "pandas-streaming"
readme = "README.rst"
requires-python = ">=3.10"
version = "0.5.2"

[project.urls]
homepage = "https://sdpython.github.io/doc/pandas-streaming/dev/"
documentation = "https://sdpython.github.io/doc/pandas-streaming/dev/"
repository = "https://github.com/sdpython/pandas-streaming/"
changelog = "https://sdpython.github.io/doc/pandas-streaming/dev/CHANGELOGS.html"

[tool.ruff]

# Exclude a variety of commonly ignored directories.
Expand Down Expand Up @@ -38,7 +74,13 @@ select = [
]

[tool.ruff.lint.per-file-ignores]
"**" = ["B905", "C401", "C408", "C413", "RUF012", "RUF100", "RUF010", "SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103", "UP015", "UP027", "UP031", "UP034", "UP032", "UP006", "UP035", "UP007", "UP038"]
"**" = [
"B905",
"C401", "C408", "C413",
"RUF012", "RUF100", "RUF010", "RUF051",
"SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103",
"UP015", "UP027", "UP031", "UP034", "UP032", "UP045", "UP006", "UP035", "UP007", "UP038"
]
"**/plot*.py" = ["B018"]
"_doc/examples/**.py" = ["E402", "F811", "B018"]
"_unittests/ut_df/test_dataframe_io_helpers.py" = ["E501"]
Expand Down
5 changes: 2 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ jupyter_sphinx
jyquickhelper
matplotlib
nbsphinx
pandas>=1.1.0
pandas>=2
pandocfilters
Pillow
pycodestyle
pylint>=2.14.0
pytest
pytest-cov
ruff
scikit-learn
scipy
sphinx
sphinx-issues
git+https://github.com/sdpython/sphinx-runpython.git
sphinx-runpython
sphinx_gallery
ujson
wheel
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
setup(
name="pandas-streaming",
version=version_str,
description="Array (and numpy) API for ONNX",
description="Streaming DataFrame: streaming over pandas",
long_description=long_description,
author="Xavier Dupré",
author_email="xavier.dupre@gmail.com",
Expand Down