From 8dc95c97e0f16329480be400bac995ea9850d443 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 12 Jul 2024 23:12:10 -0400 Subject: [PATCH] build: Iterate the version number --- CHANGELOG.rst | 4 ++-- csvkit/cli.py | 2 +- docs/conf.py | 2 +- docs/release.rst | 6 ++++++ man/csvclean.1 | 2 +- man/csvcut.1 | 2 +- man/csvformat.1 | 2 +- man/csvgrep.1 | 2 +- man/csvjoin.1 | 2 +- man/csvjson.1 | 2 +- man/csvlook.1 | 2 +- man/csvpy.1 | 2 +- man/csvsort.1 | 2 +- man/csvsql.1 | 2 +- man/csvstack.1 | 2 +- man/csvstat.1 | 2 +- man/in2csv.1 | 2 +- man/sql2csv.1 | 2 +- setup.py | 2 +- 19 files changed, 25 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fe283a1e4..10a07f0b9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,5 @@ -Unreleased ----------- +2.0.1 - July 12, 2024 +--------------------- - feat: :doc:`/scripts/csvsql` adds :code:`--min-col-len` and :code:`--col-len-multiplier` options. - feat: :doc:`/scripts/sql2csv` adds a :code:`--engine-option` option. diff --git a/csvkit/cli.py b/csvkit/cli.py index a972cdb86..d35d7e4c6 100644 --- a/csvkit/cli.py +++ b/csvkit/cli.py @@ -252,7 +252,7 @@ def _init_common_parser(self): '1-based numbering.') self.argparser.add_argument( - '-V', '--version', action='version', version='%(prog)s 2.0.0', + '-V', '--version', action='version', version='%(prog)s 2.0.1', help='Display version information and exit.') def _open_input_file(self, path, opened=False): diff --git a/docs/conf.py b/docs/conf.py index ba83c4726..e5c7abd75 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ project = 'csvkit' copyright = '2016, Christopher Groskopf and James McKinney' -version = '2.0.0' +version = '2.0.1' release = version # -- General configuration ----------------------------------------------------- diff --git a/docs/release.rst b/docs/release.rst index 8411e21df..9e119e136 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -18,6 +18,12 @@ Release process - docs/conf.py - csvkit/cli.py +#. Regenerate the man pages: + + .. code-block:: bash + + sphinx-build -b man docs man + #. Check for new authors: .. code-block:: bash diff --git a/man/csvclean.1 b/man/csvclean.1 index f6146e533..5b28cefb5 100644 --- a/man/csvclean.1 +++ b/man/csvclean.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVCLEAN" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVCLEAN" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvclean \- csvclean Documentation .SH DESCRIPTION diff --git a/man/csvcut.1 b/man/csvcut.1 index f7abf8107..db949e464 100644 --- a/man/csvcut.1 +++ b/man/csvcut.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVCUT" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVCUT" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvcut \- csvcut Documentation .SH DESCRIPTION diff --git a/man/csvformat.1 b/man/csvformat.1 index 8c730e7f8..95ad60789 100644 --- a/man/csvformat.1 +++ b/man/csvformat.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVFORMAT" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVFORMAT" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvformat \- csvformat Documentation .SH DESCRIPTION diff --git a/man/csvgrep.1 b/man/csvgrep.1 index 495d894c4..5983b0315 100644 --- a/man/csvgrep.1 +++ b/man/csvgrep.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVGREP" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVGREP" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvgrep \- csvgrep Documentation .SH DESCRIPTION diff --git a/man/csvjoin.1 b/man/csvjoin.1 index 70baa03ea..705ca53d0 100644 --- a/man/csvjoin.1 +++ b/man/csvjoin.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVJOIN" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVJOIN" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvjoin \- csvjoin Documentation .SH DESCRIPTION diff --git a/man/csvjson.1 b/man/csvjson.1 index fa8196401..c60427421 100644 --- a/man/csvjson.1 +++ b/man/csvjson.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVJSON" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVJSON" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvjson \- csvjson Documentation .SH DESCRIPTION diff --git a/man/csvlook.1 b/man/csvlook.1 index 8bea47237..c20f7257f 100644 --- a/man/csvlook.1 +++ b/man/csvlook.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVLOOK" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVLOOK" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvlook \- csvlook Documentation .SH DESCRIPTION diff --git a/man/csvpy.1 b/man/csvpy.1 index 220b859cf..f9229bdc9 100644 --- a/man/csvpy.1 +++ b/man/csvpy.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVPY" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVPY" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvpy \- csvpy Documentation .SH DESCRIPTION diff --git a/man/csvsort.1 b/man/csvsort.1 index 3699f18f2..985a48f66 100644 --- a/man/csvsort.1 +++ b/man/csvsort.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVSORT" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVSORT" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvsort \- csvsort Documentation .SH DESCRIPTION diff --git a/man/csvsql.1 b/man/csvsql.1 index 913a3ae06..213bbf015 100644 --- a/man/csvsql.1 +++ b/man/csvsql.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVSQL" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVSQL" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvsql \- csvsql Documentation .SH DESCRIPTION diff --git a/man/csvstack.1 b/man/csvstack.1 index 390c50c02..fb5f32af7 100644 --- a/man/csvstack.1 +++ b/man/csvstack.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVSTACK" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVSTACK" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvstack \- csvstack Documentation .SH DESCRIPTION diff --git a/man/csvstat.1 b/man/csvstat.1 index 5b8103708..0225e0236 100644 --- a/man/csvstat.1 +++ b/man/csvstat.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CSVSTAT" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "CSVSTAT" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME csvstat \- csvstat Documentation .SH DESCRIPTION diff --git a/man/in2csv.1 b/man/in2csv.1 index 75655c6c1..be4e65852 100644 --- a/man/in2csv.1 +++ b/man/in2csv.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "IN2CSV" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "IN2CSV" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME in2csv \- in2csv Documentation .SH DESCRIPTION diff --git a/man/sql2csv.1 b/man/sql2csv.1 index b1ec8bba8..161d9c5a7 100644 --- a/man/sql2csv.1 +++ b/man/sql2csv.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SQL2CSV" "1" "Jul 12, 2024" "2.0.0" "csvkit" +.TH "SQL2CSV" "1" "Jul 12, 2024" "2.0.1" "csvkit" .SH NAME sql2csv \- sql2csv Documentation .SH DESCRIPTION diff --git a/setup.py b/setup.py index b0a0cc73b..deddf2357 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( name='csvkit', - version='2.0.0', + version='2.0.1', description='A suite of command-line tools for working with CSV, the king of tabular file formats.', long_description=long_description, long_description_content_type='text/x-rst',