diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fe283a1e..10a07f0b 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 a972cdb8..d35d7e4c 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 ba83c472..e5c7abd7 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 8411e21d..9e119e13 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 f6146e53..5b28cefb 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 f7abf810..db949e46 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 8c730e7f..95ad6078 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 495d894c..5983b031 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 70baa03e..705ca53d 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 fa819640..c6042742 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 8bea4723..c20f7257 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 220b859c..f9229bdc 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 3699f18f..985a48f6 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 913a3ae0..213bbf01 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 390c50c0..fb5f32af 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 5b810370..0225e023 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 75655c6c..be4e6585 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 b1ec8bba..161d9c5a 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 b0a0cc73..deddf235 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',