From 97724a88366a70733337c7853efd6b5bc7f3d3c9 Mon Sep 17 00:00:00 2001 From: MrNaif2018 Date: Mon, 16 Dec 2024 00:14:04 +0300 Subject: [PATCH] Version 1.1.0 --- .circleci/config.yml | 18 ++++-------------- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 560fcc6..3cb4fb4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -77,21 +77,11 @@ jobs: - checkout - run: - name: setup credentials + name: upload package command: | - echo -e "[pypi]" >> ~/.pypirc - echo -e "username = $PYPI_USER" >> ~/.pypirc - echo -e "password = $PYPI_PASS" >> ~/.pypirc - - - run: - name: create env, build dist and upload - command: | - virtualenv ~/venv - . ~/venv/bin/activate - pip install -U wheel twine - python setup.py sdist - python setup.py bdist_wheel - twine upload dist/* + curl -LsSf https://astral.sh/uv/install.sh | sh + uv build + uv publish --token $PYPI_TOKEN workflows: version: 2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e440d8..03c5b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## Latest changes +## 1.1.0 + +Use uv & ruff as build infrastructure + +Require Python 3.9+ + ## 1.0.6 Don't install a separate tests package, but include tests in source tarball diff --git a/pyproject.toml b/pyproject.toml index 8a4b912..616edc7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "trontxsize" -version = "1.0.6" +version = "1.1.0" description = "Calculate tron transaction size (bandwidth)" readme = "README.md" license = "MIT" diff --git a/uv.lock b/uv.lock index c6ffdfb..0c2d61e 100644 --- a/uv.lock +++ b/uv.lock @@ -1091,7 +1091,7 @@ wheels = [ [[package]] name = "trontxsize" -version = "1.0.6" +version = "1.1.0" source = { editable = "." } dependencies = [ { name = "base58" },