Skip to content

Commit

Permalink
DEV-2542: Include newest pythons.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenX00 committed Apr 17, 2024
1 parent 23743a9 commit 9d9e6f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tox:
- python3.9
- python3.10
- python3.11
- python3.12
services:
- name: docker.osdc.io/ncigdc/ci-postgres-13:${BASE_CONTAINER_VERSION}
alias: postgres
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ python:
- 3.8
- 3.9
- 3.10
- 3.11
- 3.12

addons:
postgresql: '13'
Expand Down
4 changes: 2 additions & 2 deletions src/psqlgraph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init_subclass__(cls) -> None:
)

for name, property in pg_properties:
h_prop = create_hybrid_property(name, property)
h_prop = _create_hybrid_property(name, property)
setattr(cls, name, h_prop)
cls.__pg_properties__[name] = property.__pg_types__

Expand Down Expand Up @@ -251,7 +251,7 @@ def get_pg_properties(cls):
return cls.__pg_properties__


def create_hybrid_property(name, fset):
def _create_hybrid_property(name, fset):
@hybrid_property
def hybrid_prop(instance):
# Note: this does not use an 'in' clause or a .get() with a
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310
envlist = py3{7,8,9,10,11,12}
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 9d9e6f8

Please sign in to comment.