Skip to content

Commit

Permalink
Upgrade to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fleming committed Dec 31, 2024
1 parent 0a7b46d commit 5fcf2ab
Show file tree
Hide file tree
Showing 7 changed files with 416 additions and 339 deletions.
12 changes: 1 addition & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ version: 2.1
executors:
standard:
docker:
- image: circleci/python:3.9
- image: cimg/python:3.10
environment:
PIPENV_VENV_IN_PROJECT: true
working_directory: "~/lib"

# -----------------
# Reusable commands
Expand Down Expand Up @@ -41,14 +40,6 @@ commands:
paths:
- "./.git"

# todo: remove unixodbc when tentaclio 1.0 is released
install_unixodbc:
steps:
- run:
name: Instal UnixODBC
command: |
sudo apt-get install unixodbc-dev -y
update_virtualenv:
steps:
- restore_cache:
Expand All @@ -57,7 +48,6 @@ commands:
- pip-cache-{{ .Environment.CACHE_VERSION }}-{{ .Branch }}-
- pip-cache-{{ .Environment.CACHE_VERSION }}-
- configure_github
- install_unixodbc
- run:
name: Install Python packages
command: make sync
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.0.4] - 2024-03-6
## [0.1.0] - 2025-01-03
### Changed
Upgraded to python 3.10
### Fixed
- Fix reading from shared drives

Expand All @@ -23,7 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Google drive client.

[Unreleased]: https://github.com/octoenergy/tentaclio-gdrive/compare/0.0.3...HEAD
[Unreleased]: https://github.com/octoenergy/tentaclio-gdrive/compare/0.1.0...HEAD
[0.1.0]: https://github.com/octoenergy/tentaclio-gdrive/compare/0.0.3...0.1.0
[0.0.3]: https://github.com/octoenergy/tentaclio-gdrive/compare/0.0.2...0.0.3
[0.0.2]: https://github.com/octoenergy/tentaclio-gdrive/compare/0.0.1...0.0.2
[0.0.1]: https://github.com/octoenergy/tentaclio-gdrive/releases/tag/0.0.1
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ format: ## Run black and isort
unit: ## Run unit tests
pipenv run pytest tests/unit

functional:
pipenv run pytest tests/functional/gdrive

# Release
package:
# create a source distribution
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ twine = "*"
[packages]

[requires]
python_version = "3.9"
python_version = "3.10"

[pipenv]
allow_prereleases = false
726 changes: 406 additions & 320 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 99
target_version = ['py39']
target_version = ['py310']
include = '\.pyi?$'
exclude = '(\.mypy_cache)'

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

VERSION = "0.0.4"
VERSION = "0.1.0"

REPO_ROOT = pathlib.Path(__file__).parent

Expand Down Expand Up @@ -63,6 +63,7 @@ def run(self):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
cmdclass={"verify": VerifyVersionCommand},
)
Expand Down

0 comments on commit 5fcf2ab

Please sign in to comment.