Skip to content

Commit

Permalink
build: Iterate the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 28, 2024
1 parent b8d152b commit 23e7ab6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Other changes:

* feat: The :code:`--quoting` option accepts 4 (`csv.QUOTE_STRINGS <https://docs.python.org/3/library/csv.html#csv.QUOTE_STRINGS>`__) and 5 (`csv.QUOTE_NOTNULL <https://docs.python.org/3/library/csv.html#csv.QUOTE_NOTNULL>`__) on Python 3.12.
* feat: :doc:`/scripts/csvformat`: The :code:`--out-quoting` option accepts 4 (`csv.QUOTE_STRINGS <https://docs.python.org/3/library/csv.html#csv.QUOTE_STRINGS>`__) and 5 (`csv.QUOTE_NOTNULL <https://docs.python.org/3/library/csv.html#csv.QUOTE_NOTNULL>`__) on Python 3.12.
* fix: :doc:`/scripts/csvclean`: The :code:`--join-short-rows` option no longer reports length mismatch errors that were fixed.
* fix: :doc:`/scripts/csvformat`: The :code:`--out-quoting` option works with 2 (`csv.QUOTE_NONUMERIC <https://docs.python.org/3/library/csv.html#csv.QUOTE_NOTNUMERIC>`__). Use the :code:`--locale` option to set the locale of any formatted numbers.
* fix: :doc:`/scripts/csvclean`: The :code:`--join-short-rows` option no longer reports length mismatch errors that were fixed.

1.5.0 - March 28, 2024
----------------------
Expand Down
2 changes: 1 addition & 1 deletion csvkit/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _init_common_parser(self):
'1-based numbering.')

self.argparser.add_argument(
'-V', '--version', action='version', version='%(prog)s 1.5.0',
'-V', '--version', action='version', version='%(prog)s 2.0.0',
help='Display version information and exit.')

def _open_input_file(self, path, opened=False):
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

project = 'csvkit'
copyright = '2016, Christopher Groskopf and James McKinney'
version = '1.5.0'
version = '2.0.0'
release = version

# -- General configuration -----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='csvkit',
version='1.5.0',
version='2.0.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',
Expand Down
1 change: 0 additions & 1 deletion tests/test_utilities/test_csvformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def test_locale(self):
'1.7,200000000,""',
])


def test_launch_new_instance(self):
with patch.object(sys, 'argv', [self.Utility.__name__.lower(), 'examples/dummy.csv']):
launch_new_instance()
Expand Down

0 comments on commit 23e7ab6

Please sign in to comment.