Compare commits

..

No commits in common. "c4df75d23b5d1e0dc1691f58aacdbde1bdefb8a7" and "985c3b1d8b96b66f6b8e876cbed9ecd76bb6f2f5" have entirely different histories.

6 changed files with 5 additions and 17 deletions

View file

@ -3,7 +3,7 @@ version: 2
build: build:
os: ubuntu-24.04 os: ubuntu-24.04
tools: tools:
python: "3.14" python: "3.13"
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py

View file

@ -1,10 +1,5 @@
# Changelog # Changelog
## 0.14.1
* Fixed some imports in `sqlalchemy` module
* Support for Python 3.15
## 0.14.0 "Claims & Columns" ## 0.14.0 "Claims & Columns"
* Added `ast` module * Added `ast` module

View file

@ -27,8 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.14"
"Programming Language :: Python :: 3.15"
] ]
[project.urls] [project.urls]

View file

@ -41,7 +41,7 @@ from .color import OKLabColor, chalk, WebColor, RGBColor, LinearRGBColor, \
from .mat import Matrix from .mat import Matrix
from .argparse import LetterSubparsers from .argparse import LetterSubparsers
__version__ = "0.14.1" __version__ = "0.14.0"
__all__ = ( __all__ = (
'ColorFormatter', 'ColorFormatter',

View file

@ -158,7 +158,7 @@ from .asyncio import SQLAlchemy, async_query, SessionWrapper, AsyncSelectPaginat
from .orm import ( from .orm import (
id_column, snowflake_column, match_column, match_constraint, bool_column, declarative_base, parent_children, id_column, snowflake_column, match_column, match_constraint, bool_column, declarative_base, parent_children,
author_pair, age_pair, bound_fk, unbound_fk, want_column, a_relationship, BitSelector, secret_column, username_column, author_pair, age_pair, bound_fk, unbound_fk, want_column, a_relationship, BitSelector, secret_column, username_column,
ascii_column, i4_column, now_column, email_column, ascii_column, i4_column, now_column,
) )
try: try:
@ -173,7 +173,7 @@ __all__ = (
'match_column', 'match_constraint', 'bool_column', 'parent_children', 'match_column', 'match_constraint', 'bool_column', 'parent_children',
'author_pair', 'age_pair', 'bound_fk', 'unbound_fk', 'want_column', 'author_pair', 'age_pair', 'bound_fk', 'unbound_fk', 'want_column',
'a_relationship', 'BitSelector', 'secret_column', 'username_column', 'a_relationship', 'BitSelector', 'secret_column', 'username_column',
'ascii_column', 'i4_column', 'now_column', 'email_column', 'ascii_column', 'i4_column', 'now_column',
# .asyncio # .asyncio
'SQLAlchemy', 'AsyncSelectPagination', 'async_query', 'SessionWrapper' 'SQLAlchemy', 'AsyncSelectPagination', 'async_query', 'SessionWrapper'
) )

View file

@ -102,12 +102,6 @@ match_constraint.TEXT_DIALECTS = {
## Type decorators for match_column and ascii_column follow ## Type decorators for match_column and ascii_column follow
class MatchString(TypeDecorator): class MatchString(TypeDecorator):
"""
XXX if you see this type in an alembic migration this is an error. Please go to the migration file and fix the migration manually,
by replacing suou.sqlalchemy.orm.MatchString with sa.String.
In normal circumstances, this should be a VARCHAR with a CHECK constraint.
"""
impl: TypeAlias = String impl: TypeAlias = String
def __init__(self, length: int, regex: str | re.Pattern, case: StringCase = StringCase.AS_IS, *args, **kwargs): def __init__(self, length: int, regex: str | re.Pattern, case: StringCase = StringCase.AS_IS, *args, **kwargs):