Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Keene committed Feb 26, 2024
2 parents b29a57d + 7071292 commit cb7e434
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- name: Checkout
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.0.2 (2024-02-26)
--------------------------
Add Python 3.12 to CI tests (#356) (Thanks to @edgarrmondragon)

Version 1.0.1 (2023-07-12)
--------------------------
Fix tstamp parameter in track_self_describing_event (#350) (Thanks to @andehen)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
RUN git clone --depth=1 https://github.com/pyenv/pyenv.git $PYENV_ROOT
RUN git clone --depth=1 https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv

RUN pyenv install 3.5.10 && pyenv install 3.6.14 && pyenv install 3.7.11 && pyenv install 3.8.11 && pyenv install 3.9.6 && pyenv install 3.10.1 && pyenv install 3.11.0
RUN pyenv install 3.5.10 && pyenv install 3.6.14 && pyenv install 3.7.11 && pyenv install 3.8.11 && pyenv install 3.9.6 && pyenv install 3.10.1 && pyenv install 3.11.0 && pyenv install 3.12.1

WORKDIR /app
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
author = 'Alex Dean, Paul Boocock, Matus Tomlein, Jack Keene'

# The full version, including alpha/beta/rc tags
release = "1.0.1"
release = "1.0.2"


# -- General configuration ---------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ function deploy {
source deactivate
fi

# pyenv install 3.12.0
if [ ! -e ~/.pyenv/versions/tracker312 ]; then
pyenv virtualenv 3.12.0 tracker312
pyenv activate tracker312
pip install .
pip install -r requirements-test.txt
source deactivate
fi
}


Expand Down Expand Up @@ -109,6 +117,10 @@ function run_tests {
pyenv activate tracker311
pytest
source deactivate

pyenv activate tracker312
pytest
source deactivate
}

function refresh_deploy {
Expand All @@ -119,6 +131,7 @@ function refresh_deploy {
pyenv uninstall -f tracker39
pyenv uninstall -f tracker310
pyenv uninstall -f tracker311
pyenv uninstall -f tracker312
}


Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

setup(
name="snowplow-tracker",
version="1.0.1",
version="1.0.2",
author=authors_str,
author_email=authors_email_str,
packages=["snowplow_tracker", "snowplow_tracker.test", "snowplow_tracker.events"],
Expand All @@ -62,6 +62,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
],
install_requires=["requests>=2.25.1,<3.0", "typing_extensions>=3.7.4"],
Expand Down
2 changes: 1 addition & 1 deletion snowplow_tracker/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
# language governing permissions and limitations there under.
# """

__version_info__ = (1, 0, 1)
__version_info__ = (1, 0, 2)
__version__ = ".".join(str(x) for x in __version_info__)
__build_version__ = __version__ + ""

0 comments on commit cb7e434

Please sign in to comment.