Skip to content

Commit

Permalink
Merge pull request #16 from Brijeshthummar02/py313
Browse files Browse the repository at this point in the history
Updated Python versions - Python 3.13
  • Loading branch information
niccokunzmann authored Oct 13, 2024
2 parents 9b1881c + bc1cb7d commit bae26fe
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["3.12", "py312"]
- ["3.13", "py313"]

runs-on: ubuntu-latest
name: ${{ matrix.config[1] }}
Expand Down
19 changes: 17 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ Testing with ``tox``

You can use ``tox`` to test the package in different Python versions.

.. code-block:: shell
.. code:: shell
tox
This tests all the different functionalities:

.. code-block:: shell
.. code:: shell
tox -- --x-wr-timezone all
Expand All @@ -195,6 +195,17 @@ To release new versions,
python3 setup.py tag_and_deploy
6. notify the issues about their release

Add/Remove a Python Version
---------------------------


If you need to add or remove a Python version, you need to modify these files:

- ... README.rst in the changelog section
- ... setup.py
- ... tox.ini
- ... tests.yml

Testing
*******

Expand All @@ -215,6 +226,10 @@ how to go about it.
Changelog
---------

- v1.0.2

- Added support for Python 3.13

- v1.0.1

- Use `zoneinfo` instead of `pytz`
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
HERE = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, HERE) # for package import

__version__ = "1.0.1"
__version__ = "1.0.2"
__author__ = 'Nicco Kunzmann'


Expand Down Expand Up @@ -132,6 +132,7 @@ def run(self):
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
development_state
],
zip_safe=True,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py39, py310, py311, py312
envlist = py39, py310, py311, py312, py313
requires = setuptools>=68.2.2

[testenv]
Expand Down

0 comments on commit bae26fe

Please sign in to comment.