From b4313a91273581c3e83dbb6fef64c3a3f700c8c8 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 18 Oct 2023 00:37:57 -0400 Subject: [PATCH] build: Iterate the version number --- CHANGELOG.rst | 10 +++++----- csvkit/cli.py | 2 +- docs/conf.py | 6 +++--- setup.py | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fdf60aab8..e703d30e4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,16 +1,16 @@ -Unreleased ----------- +1.3.0 - October 18, 2023 +------------------------ * :doc:`/scripts/csvformat` adds a :code:`--skip-header` (:code:`-E`) option to not output a header row. * :doc:`/scripts/csvlook` adds a :code:`--max-precision` option to set the maximum number of decimal places to display. * :doc:`/scripts/csvlook` adds a :code:`--no-number-ellipsis` option to disable the ellipsis (``…``) if :code:`--max-precision` is exceeded. (Requires agate 1.9.0 or greater.) * :doc:`/scripts/csvstat` supports the :code:`--no-inference` (:code:`-I`), :code:`--locale` (:code:`-L`), :code:`--blanks`, :code:`--date-format` and :code:`datetime-format` options. -* :doc:`/scripts/csvstat` adds a :code:`--json` option to output results as JSON text. -* :doc:`/scripts/csvstat` adds an :code:`--indent` option to indent the JSON text when :code:`--json` is set. * :doc:`/scripts/csvstat` reports a "Non-null values" statistic (or a :code:`nonnulls` column when :code:`--csv` is set). -* :doc:`/scripts/csvstat` reports a "Most decimal places" statistic (or a :code:`maxprecision` column when :code:`--csv` is set). * :doc:`/scripts/csvstat` adds a :code:`--non-nulls` option to only output counts of non-null values. +* :doc:`/scripts/csvstat` reports a "Most decimal places" statistic (or a :code:`maxprecision` column when :code:`--csv` is set). * :doc:`/scripts/csvstat` adds a :code:`--max-precision` option to only output the most decimal places. +* :doc:`/scripts/csvstat` adds a :code:`--json` option to output results as JSON text. +* :doc:`/scripts/csvstat` adds an :code:`--indent` option to indent the JSON text when :code:`--json` is set. * :doc:`/scripts/in2csv` adds a :code:`--use-sheet-names` option to use the sheet names as file names when :code:`--write-sheets` is set. * feat: Add a :code:`--null-value` option to commands with the :code:`--blanks` option, to convert additional values to NULL. * fix: Reconfigure the encoding of standard input according to the :code:`--encoding` option, which defaults to ``utf-8-sig``. Affected users no longer need to set the ``PYTHONIOENCODING`` environment variable. diff --git a/csvkit/cli.py b/csvkit/cli.py index d32be6381..4c3d1bdf2 100644 --- a/csvkit/cli.py +++ b/csvkit/cli.py @@ -230,7 +230,7 @@ def _init_common_parser(self): '1-based numbering.') self.argparser.add_argument( - '-V', '--version', action='version', version='%(prog)s 1.2.0', + '-V', '--version', action='version', version='%(prog)s 1.3.0', 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 e2cf996a4..28536f03c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,8 +11,8 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = 'csvkit' -copyright = '2016, Christopher Groskopf' -version = '1.2.0' +copyright = '2016, Christopher Groskopf and James McKinney' +version = '1.3.0' release = version # -- General configuration ----------------------------------------------------- @@ -50,6 +50,6 @@ os.path.join('scripts', name), name, f'{name} Documentation', - ['Christopher Groskopf'], + ['Christopher Groskopf and contributors'], 1, )) diff --git a/setup.py b/setup.py index 74aa3f66f..1d79d8640 100644 --- a/setup.py +++ b/setup.py @@ -5,11 +5,11 @@ setup( name='csvkit', - version='1.2.0', + version='1.3.0', 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', - author='Christopher Groskopf', + author='Christopher Groskopf and James McKinney', author_email='chrisgroskopf@gmail.com', url='https://github.com/wireservice/csvkit', license='MIT',