Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[bumpversion]
current_version = 2.4.0
commit = True
tag = True
tag_name = {new_version}

[bumpversion:file:README.md]

[bumpversion:file:CONTRIBUTING_COMMON_ERRORS.md]

[bumpversion:file:tests/test_metadata.py]

[bumpversion:file:docs/source/install.rst]

[bumpversion:file:docs/source/what.rst]

[bumpversion:file:awswrangler/__metadata__.py]

[bumpversion:file:awswrangler/athena/_read.py]

[bumpversion:file:awswrangler/s3/_read_parquet.py]

[bumpversion:file:awswrangler/s3/_read_text.py]

[bumpversion:file:awswrangler/s3/_write_parquet.py]

[bumpversion:file:awswrangler/s3/_write_text.py]

[bumpversion:file:tutorials/001 - Introduction.ipynb]

[bumpversion:file:tutorials/007 - Redshift, MySQL, PostgreSQL, SQL Server.ipynb]

[bumpversion:file:tutorials/014 - Schema Evolution.ipynb]

[bumpversion:file:tutorials/021 - Global Configurations.ipynb]

[bumpversion:file:tutorials/022 - Writing Partitions Concurrently.ipynb]

[bumpversion:file:tutorials/023 - Flexible Partitions Filter.ipynb]
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,10 @@ or

Check the file below to check the common errors and solutions
[ERRORS](https://github.com/awslabs/aws-data-wrangler/blob/main/CONTRIBUTING_COMMON_ERRORS.md)

## Bumping version
When there is a new release you can use `bump2version` for updating the version number in relevant files.
You can run `bump2version major|minor|patch` in the top directory and the following steps will be executed:
- The version number in all files which are listed in `.bumpversion.cfg` is updated
- A new commit with message `Bump version: {current_version} → {new_version}` is created
- A new Git tag `{new_version}` is created
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ moto==2.0.0
jupyterlab==3.0.9
s3fs==0.4.2
python-Levenshtein==0.12.2
bump2version==1.0.1
-e .[sqlserver]