Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
95b5170
Established Python 2.7 test dependencies.
insightindustry Feb 14, 2021
a889157
Added Pydantic support to AttributeConfiguration.
insightindustry Feb 14, 2021
b89c54e
Added Pydantic field serialization as a pre-processor to de-serializi…
insightindustry Feb 14, 2021
da45b23
Added documentation pf the config_set parameter for BaseModel.set_att…
insightindustry Feb 14, 2021
8a7e6a4
Implemented column consolidation and config set generation from one o…
insightindustry Feb 15, 2021
5e8463d
Implemented generate_model_from_pydantic() with unit tests.
insightindustry Feb 15, 2021
a339851
Implemented Table.from_pydantic() with unit tests.
insightindustry Feb 15, 2021
ace929b
Closes #99. Updated documentation to reflect Pydantic support.
insightindustry Feb 16, 2021
2bc10aa
Closes #100. Updated config set documentation in BaseModel class meth…
insightindustry Feb 16, 2021
e017071
Updated documentation on heap-caching class methods.
insightindustry Feb 16, 2021
57decb7
Fixed typo in setup.py
insightindustry Feb 16, 2021
fe6f751
Made code resilient to typing introspection support in earlier versio…
insightindustry Feb 17, 2021
10d15f0
Fixed minor bug.
insightindustry Feb 17, 2021
129551c
Fixed edge case for type identification in earlier Python versions.
insightindustry Feb 17, 2021
24f1a22
Added additional edge case support.
insightindustry Feb 17, 2021
4538346
Added Union parent class for Python 3.6 support.
insightindustry Feb 17, 2021
949d748
Removed implicit Pydantic support for Python 3.5.
insightindustry Feb 17, 2021
b48e538
Fixed typing import to support Python 3.4 and 2.7.
insightindustry Feb 17, 2021
2ce5ae0
Attempted to address SyntaxError in Python 3.5
insightindustry Feb 17, 2021
1e4eefc
Addressed syntax error in Python 3.5, 3.4, and 2.7.
insightindustry Feb 17, 2021
294fa06
Addressed syntax errors in a number of unit test modules for Python 2…
insightindustry Feb 17, 2021
507aa52
Debugged unit tests in Python 3.5, 3.4, and 2.7.
insightindustry Feb 17, 2021
31963c9
Fixed ImportErrors in test modules for Python 3.4 and 2.7.
insightindustry Feb 17, 2021
4e595eb
Updated tox.ini for Pydantic support in coverage test environment.
insightindustry Feb 17, 2021
becf540
Merge pull request #101 from insightindustry/pydantic-support
insightindustry Feb 17, 2021
5a503d9
Updated documentation and version number for the next SQLAthanor rele…
insightindustry Feb 18, 2021
01511c9
Updated documentation for SQLAthanor and Pydantic support.
insightindustry Feb 22, 2021
7d3f600
fixed failing unit tests.
insightindustry Dec 27, 2021
1ecaa44
Cleaned up dependencies, requirements.txt, and updated dependency doc…
insightindustry Dec 27, 2021
2be508f
Updated version history and version numbering.
insightindustry Dec 27, 2021
fcb034a
Fixed version numbering.
insightindustry Dec 27, 2021
9e8e5d9
Updated test matrix.
insightindustry Dec 27, 2021
9470525
Fixed contextual dependency mismatch.
insightindustry Dec 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ celerybeat-schedule
# virtualenv
.venv
venv/
.py35
.python38
.py38
.python37
Expand Down
298 changes: 298 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,284 @@ env:

matrix:
include:
## PYTHON 3.10
## SIMPLEJSON
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson30
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson31
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson32
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson33
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson34
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson35
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson36
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson37
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson38
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson39
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson310
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson311
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson312
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson313
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson314
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson315
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson316
# PYYAML
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml42b2-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml54-simplejson316
#### SQLALCHEMY
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml313-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy10-pyyaml42b2-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy11-pyyaml313-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy12-pyyaml313-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy12-pyyaml42b1-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy12-pyyaml42b2-simplejson316
- python: '3.10'
dist: bionic
sudo: true
env:
- TOXENV=.python310-sqlalchemy12-pyyaml54-simplejson316
## PYTHON 3.9
## SIMPLEJSON
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson30
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson31
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson32
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson33
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson34
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson35
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson36
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson37
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson38
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson39
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson310
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson311
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson312
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson313
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson314
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson315
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson316
# PYYAML
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml42b2-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml54-simplejson316
#### SQLALCHEMY
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml313-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy10-pyyaml42b2-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy11-pyyaml313-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy12-pyyaml313-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy12-pyyaml42b1-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy12-pyyaml42b2-simplejson316
- python: '3.9'
dist: bionic
sudo: true
env:
- TOXENV=.python39-sqlalchemy12-pyyaml54-simplejson316
## PYTHON 3.8
## SIMPLEJSON
- python: '3.8'
Expand Down Expand Up @@ -107,6 +385,11 @@ matrix:
sudo: true
env:
- TOXENV=.python38-sqlalchemy10-pyyaml42b2-simplejson316
- python: '3.8'
dist: bionic
sudo: true
env:
- TOXENV=.python38-sqlalchemy10-pyyaml54-simplejson316
#### SQLALCHEMY
- python: '3.8'
dist: bionic
Expand Down Expand Up @@ -138,6 +421,11 @@ matrix:
sudo: true
env:
- TOXENV=.python38-sqlalchemy12-pyyaml42b2-simplejson316
- python: '3.8'
dist: bionic
sudo: true
env:
- TOXENV=.python38-sqlalchemy12-pyyaml54-simplejson316
## PYTHON 3.7
## SIMPLEJSON
- python: '3.7'
Expand Down Expand Up @@ -236,6 +524,11 @@ matrix:
sudo: true
env:
- TOXENV=.python37-sqlalchemy10-pyyaml42b2-simplejson316
- python: '3.7'
dist: xenial
sudo: true
env:
- TOXENV=.python37-sqlalchemy10-pyyaml54-simplejson316
#### SQLALCHEMY
- python: '3.7'
dist: xenial
Expand Down Expand Up @@ -267,6 +560,11 @@ matrix:
sudo: true
env:
- TOXENV=.python37-sqlalchemy12-pyyaml42b2-simplejson316
- python: '3.7'
dist: xenial
sudo: true
env:
- TOXENV=.python37-sqlalchemy12-pyyaml54-simplejson316
## PYTHON 3.6
## SIMPLEJSON
- python: '3.6'
Expand Down
38 changes: 38 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
-----------

Release 0.8.0
=========================================

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.8.0
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.8.0/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.8.0
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.8.0
:alt: Documentation Status (ReadTheDocs)

New Features
-----------------

* #99: Added `Pydantic <https://pydantic-docs.helpmanual.io/>`_ support. This includes:

* the ability to generate **SQLAthanor** model classes from Pydantic models
(``generate_model_from_pydantic()``)
* the ability to generate ``Table`` objects from Pydantic models
(``Table.from_pydantic()``)
* the ability to create ``AttributeConfiguration`` instances from fields in a Pydantic
model (``AttributeConfiguration.from_pydantic_model()``)
* updates to documentation to reflect new functionality

Other Changes
------------------

* Updated PyYAML requirement to v.5.4 to address security vulnerability.
* #100: Fixed missing documentation.
* Cleaned up ``requirements.txt`` to reduce dependencies.
* Minor bug fixes.

-----------

Release 0.7.0
=========================================

Expand Down
Loading