Skip to content

Commit 4868ae4

Browse files
authored
upgrade version to 0.5.2 (#46)
* upgrade version to 0.5.2 * block * version * avoids partial * changes
1 parent 4a2927b commit 4868ae4

File tree

12 files changed

+70
-28
lines changed

12 files changed

+70
-28
lines changed

.github/workflows/black-ruff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
black-format-check:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v3
88
- uses: psf/black@stable
99
with:
1010
options: "--diff --check"

.github/workflows/documentation.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525

2626
- uses: tlylt/install-graphviz@v1
2727

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

37-
- name: Cache pip
38-
uses: actions/cache@v2
39-
with:
40-
path: ~/.cache/pip
41-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
42-
restore-keys: |
43-
${{ runner.os }}-pip-
44-
${{ runner.os }}-
45-
4637
- name: Generate coverage report
4738
run: |
4839
pip install pytest
@@ -83,6 +74,6 @@ jobs:
8374
exit 1
8475
fi
8576
86-
- uses: actions/upload-artifact@v3
77+
- uses: actions/upload-artifact@v4
8778
with:
8879
path: ./dist/html/**

.github/workflows/wheels-any.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

2020
- uses: actions/setup-python@v4
2121
with:
22-
python-version: '3.11'
22+
python-version: '3.12'
2323

2424
- name: build wheel
2525
run: python -m pip wheel .
2626

27-
- uses: actions/upload-artifact@v3
27+
- uses: actions/upload-artifact@v4
2828
with:
2929
path: ./pandas_streaming*.whl

CHANGELOGS.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Change Logs
33
===========
44

5+
0.5.2
6+
+++++
7+
8+
* :pr:`46`: update to CI to newer versions
9+
510
0.5.1
611
+++++
712

_doc/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
issues_github_path = "sdpython/pandas-streaming"
6060

6161
# The following is used by sphinx.ext.linkcode to provide links to github
62-
linkcode_resolve = make_linkcode_resolve(
62+
_linkcode_resolve = make_linkcode_resolve(
6363
"pandas_streaming",
6464
(
6565
"https://github.com/sdpython/pandas-streaming/"
@@ -68,6 +68,11 @@
6868
),
6969
)
7070

71+
72+
def linkcode_resolve(domain, info):
73+
return _linkcode_resolve(domain, info)
74+
75+
7176
latex_elements = {
7277
"papersize": "a4",
7378
"pointsize": "10pt",

_doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ Source are available at `sdpython/pandas_streaming <https://github.com/sdpython/
6868
Older versions
6969
++++++++++++++
7070

71+
* `0.5.2 <../v0.5.2/index.html>`_
7172
* `0.5.1 <../v0.5.1/index.html>`_
72-
* `0.5.0 <../v0.5.0/index.html>`_

_unittests/ut_df/test_streaming_dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def compares(a, b, how):
301301
sdf20 = dummy_streaming_dataframe(20)
302302
sdf30 = dummy_streaming_dataframe(30)
303303
# itself
304-
hows = "inner left right outer".split()
304+
hows = ["inner", "left", "right", "outer"]
305305
for how in hows:
306306
compares(sdf20, sdf20, how)
307307
compares(sdf20, sdf20, how)

azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
strategy:
66
matrix:
77
Python311-Linux:
8-
python.version: '3.11'
8+
python.version: '3.12'
99
maxParallel: 3
1010

1111
steps:
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
matrix:
5151
Python311-Linux:
52-
python.version: '3.11'
52+
python.version: '3.12'
5353
maxParallel: 3
5454

5555
steps:
@@ -91,7 +91,7 @@ jobs:
9191
strategy:
9292
matrix:
9393
Python311-Linux:
94-
python.version: '3.11'
94+
python.version: '3.12'
9595
maxParallel: 3
9696

9797
steps:
@@ -139,7 +139,7 @@ jobs:
139139
strategy:
140140
matrix:
141141
Python311-Windows:
142-
python.version: '3.11'
142+
python.version: '3.12'
143143
maxParallel: 3
144144

145145
steps:
@@ -170,7 +170,7 @@ jobs:
170170
strategy:
171171
matrix:
172172
Python311-Mac:
173-
python.version: '3.11'
173+
python.version: '3.12'
174174
maxParallel: 3
175175

176176
steps:

pandas_streaming/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.5.1"
1+
__version__ = "0.5.2"
22
__author__ = "Xavier Dupré"
33
__github__ = "https://github.com/sdpython/pandas_streaming"
44
__url__ = "https://sdpython.github.io/doc/pandas-streaming/dev/"

pyproject.toml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
[project]
2+
authors = [{name="Xavier Dupré", email="xavier.dupre@gmail.com"}]
3+
classifiers = [
4+
"Intended Audience :: Science/Research",
5+
"Intended Audience :: Developers",
6+
"License :: OSI Approved :: MIT License",
7+
"Programming Language :: C",
8+
"Programming Language :: Python",
9+
"Topic :: Software Development",
10+
"Topic :: Scientific/Engineering",
11+
"Development Status :: 5 - Production/Stable",
12+
"Operating System :: Microsoft :: Windows",
13+
"Operating System :: POSIX",
14+
"Operating System :: Unix",
15+
"Operating System :: MacOS",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
]
22+
dependencies = ["pandas"]
23+
description = "Streaming DataFrame: streaming over pandas."
24+
keywords = ["pandas", "streaming"]
25+
license = {file = "LICENSE.txt"}
26+
name = "pandas-streaming"
27+
readme = "README.rst"
28+
requires-python = ">=3.10"
29+
version = "0.5.2"
30+
31+
[project.urls]
32+
homepage = "https://sdpython.github.io/doc/pandas-streaming/dev/"
33+
documentation = "https://sdpython.github.io/doc/pandas-streaming/dev/"
34+
repository = "https://github.com/sdpython/pandas-streaming/"
35+
changelog = "https://sdpython.github.io/doc/pandas-streaming/dev/CHANGELOGS.html"
36+
137
[tool.ruff]
238

339
# Exclude a variety of commonly ignored directories.
@@ -38,7 +74,13 @@ select = [
3874
]
3975

4076
[tool.ruff.lint.per-file-ignores]
41-
"**" = ["B905", "C401", "C408", "C413", "RUF012", "RUF100", "RUF010", "SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103", "UP015", "UP027", "UP031", "UP034", "UP032", "UP006", "UP035", "UP007", "UP038"]
77+
"**" = [
78+
"B905",
79+
"C401", "C408", "C413",
80+
"RUF012", "RUF100", "RUF010", "RUF051",
81+
"SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103",
82+
"UP015", "UP027", "UP031", "UP034", "UP032", "UP045", "UP006", "UP035", "UP007", "UP038"
83+
]
4284
"**/plot*.py" = ["B018"]
4385
"_doc/examples/**.py" = ["E402", "F811", "B018"]
4486
"_unittests/ut_df/test_dataframe_io_helpers.py" = ["E501"]

0 commit comments

Comments
 (0)