]> git.phdru.name Git - sqlconvert.git/log
sqlconvert.git
11 months agoFix(Py3): `sqlparse` lost module `compat`
Oleg Broytman [Sun, 10 Dec 2023 12:03:40 +0000 (15:03 +0300)]
Fix(Py3): `sqlparse` lost module `compat`

14 months agoCI(GHActions): Ensure `pip` only if needed
Oleg Broytman [Sun, 17 Sep 2023 16:32:32 +0000 (19:32 +0300)]
CI(GHActions): Ensure `pip` only if needed

This is to work around a problem in conda with Python 3.7 -
it brings in wrong version of `setuptools` incompatible with Python 3.7.

16 months agoCI(GHActions): Install all Python and PyPy versions from `conda-forge`
Oleg Broytman [Sat, 15 Jul 2023 18:16:09 +0000 (21:16 +0300)]
CI(GHActions): Install all Python and PyPy versions from `conda-forge`

23 months agoCI(GHActions): More descriptive step names
Oleg Broytman [Thu, 15 Dec 2022 20:53:34 +0000 (23:53 +0300)]
CI(GHActions): More descriptive step names

Add OS name.

23 months agoTests(tox): Limit "tox < 4"
Oleg Broytman [Thu, 15 Dec 2022 16:16:48 +0000 (19:16 +0300)]
Tests(tox): Limit "tox < 4"

`tox` 4+ has incompatible `tox.ini` syntax.
It's impossible to use one `tox.ini` for Pythons < 3.7 and 3.7+.

23 months agoCI(GHActions): Set `$LD_LIBRARY_PATH`
Oleg Broytman [Thu, 8 Dec 2022 12:38:39 +0000 (15:38 +0300)]
CI(GHActions): Set `$LD_LIBRARY_PATH`

Python 2.7 on Linux requires `$LD_LIBRARY_PATH`.

23 months agoCI(GHActions): Use `conda` to install older Pythons
Oleg Broytman [Tue, 6 Dec 2022 16:44:17 +0000 (19:44 +0300)]
CI(GHActions): Use `conda` to install older Pythons

Ubuntu >= 22 and `setup-python` dropped Pythons < 3.7.
Use `s-weigand/setup-conda` instead of `setup-python`.

2 years agoDocs: Year 2022
Oleg Broytman [Sun, 30 Oct 2022 18:57:51 +0000 (21:57 +0300)]
Docs: Year 2022

[skip ci]

2 years agoTests, CI: Run tests with Python 3.11
Oleg Broytman [Wed, 26 Oct 2022 17:17:06 +0000 (20:17 +0300)]
Tests, CI: Run tests with Python 3.11

2 years agoTests(tox): Remove `basepython`
Oleg Broytman [Tue, 25 Oct 2022 21:06:58 +0000 (00:06 +0300)]
Tests(tox): Remove `basepython`

We no longer use `TOXPYTHON`.

2 years agoBuild(devscripts/release): Disable progress bar for `twine`
Oleg Broytman [Wed, 21 Sep 2022 08:03:22 +0000 (11:03 +0300)]
Build(devscripts/release): Disable progress bar for `twine`

[skip ci]

2 years agoCI(GHActions): Use `actions/setup-python@v4`, `actions/cache@v3`
Oleg Broytman [Tue, 20 Sep 2022 23:24:24 +0000 (02:24 +0300)]
CI(GHActions): Use `actions/setup-python@v4`, `actions/cache@v3`

2 years agoBuild(setup.py): Python 3.9, 3.10
Oleg Broytman [Mon, 19 Sep 2022 17:58:15 +0000 (20:58 +0300)]
Build(setup.py): Python 3.9, 3.10

2 years agoChore: Remove overlooked coverage leftovers
Oleg Broytman [Mon, 19 Sep 2022 17:56:40 +0000 (20:56 +0300)]
Chore: Remove overlooked coverage leftovers

2 years agoCI(GHActions): Show `tox`/`pytest` version
Oleg Broytman [Sun, 18 Sep 2022 17:13:07 +0000 (20:13 +0300)]
CI(GHActions): Show `tox`/`pytest` version

2 years agoCI(GHActions): Python 3.10
Oleg Broytman [Sun, 18 Sep 2022 14:26:23 +0000 (17:26 +0300)]
CI(GHActions): Python 3.10

Fix versions for newer Pythons.

3 years agoRelease 0.3.0 0.3.0
Oleg Broytman [Fri, 24 Sep 2021 16:53:42 +0000 (19:53 +0300)]
Release 0.3.0

3 years agoCI: The hack with `validators.py` is no longer required
Oleg Broytman [Thu, 23 Sep 2021 13:49:24 +0000 (16:49 +0300)]
CI: The hack with `validators.py` is no longer required

3 years agoDocs(news): Stop testing at AppVeyor
Oleg Broytman [Thu, 23 Sep 2021 13:27:10 +0000 (16:27 +0300)]
Docs(news): Stop testing at AppVeyor

[skip ci]

3 years agoCI(GHActions): Group tasks
Oleg Broytman [Thu, 23 Sep 2021 11:37:53 +0000 (14:37 +0300)]
CI(GHActions): Group tasks

3 years agoMerge branch 'github-actions'
Oleg Broytman [Thu, 16 Sep 2021 17:49:43 +0000 (20:49 +0300)]
Merge branch 'github-actions'

3 years agoCI(GHActions): Run tests on w32
Oleg Broytman [Fri, 10 Sep 2021 15:46:29 +0000 (18:46 +0300)]
CI(GHActions): Run tests on w32

3 years agoCI: Stop testing at AppVeyor
Oleg Broytman [Fri, 10 Sep 2021 15:25:20 +0000 (18:25 +0300)]
CI: Stop testing at AppVeyor

3 years agoCI(GHActions): Setup PostgreSQL using `ankane/setup-postgres@v1`
Oleg Broytman [Fri, 10 Sep 2021 15:18:58 +0000 (18:18 +0300)]
CI(GHActions): Setup PostgreSQL using `ankane/setup-postgres@v1`

This action sets up Postgres on any OS. It also creates the `runner` user
and configures trusted access without password.

3 years agoTests(tox): Stop collecting coverage
Oleg Broytman [Fri, 10 Sep 2021 14:55:28 +0000 (17:55 +0300)]
Tests(tox): Stop collecting coverage

3 years agoCI(GHActions): Setup PostgreSQL, run postgres tests
Oleg Broytman [Thu, 9 Sep 2021 00:16:54 +0000 (03:16 +0300)]
CI(GHActions): Setup PostgreSQL, run postgres tests

3 years agoCI: Stop testing at Travis CI
Oleg Broytman [Mon, 6 Sep 2021 17:36:37 +0000 (20:36 +0300)]
CI: Stop testing at Travis CI

3 years agoCI: Run tests at Github Actions
Oleg Broytman [Mon, 6 Sep 2021 17:34:03 +0000 (20:34 +0300)]
CI: Run tests at Github Actions

3 years agoTests(tox): Limit `pip` and `setuptools` versions for Python 3.4
Oleg Broytman [Sun, 25 Jul 2021 18:01:45 +0000 (21:01 +0300)]
Tests(tox): Limit `pip` and `setuptools` versions for Python 3.4

3 years agoTests(tox): Limit `VIRTUALENV_PIP` version for Python 3.4
Oleg Broytman [Sun, 25 Jul 2021 11:52:17 +0000 (14:52 +0300)]
Tests(tox): Limit `VIRTUALENV_PIP` version for Python 3.4

3 years agoRefactor: Rename internal `statement` to `_statement`
Oleg Broytman [Thu, 21 Jan 2021 01:15:22 +0000 (04:15 +0300)]
Refactor: Rename internal `statement` to `_statement`

Rename variables in the internal loops.

3 years agoFix(process_tokens): Check if parser didn't produce any statements at all
Oleg Broytman [Sat, 16 Jan 2021 19:22:36 +0000 (22:22 +0300)]
Fix(process_tokens): Check if parser didn't produce any statements at all

3 years agoTest(tox): Refactor `tox.ini`: combine environments
Oleg Broytman [Fri, 15 Jan 2021 21:27:36 +0000 (00:27 +0300)]
Test(tox): Refactor `tox.ini`: combine environments

3 years agoTests,CI: Upgrade `tox`
Oleg Broytman [Fri, 15 Jan 2021 21:17:38 +0000 (00:17 +0300)]
Tests,CI: Upgrade `tox`

Prepare for `tox.ini` refactoring.
Stop running tests with Python 3.4 - `tox` 3.15 doesn't support it.

3 years agoTest(tox): Do not restore `validators.py`
Oleg Broytman [Fri, 8 Jan 2021 16:20:52 +0000 (19:20 +0300)]
Test(tox): Do not restore `validators.py`

It seems we no longer need the hack at AppVeyor.

3 years agoDoc: Fix copyright year
Oleg Broytman [Fri, 8 Jan 2021 16:19:15 +0000 (19:19 +0300)]
Doc: Fix copyright year

[skip ci]

3 years agoPython 3.9
Oleg Broytman [Fri, 8 Jan 2021 16:18:47 +0000 (19:18 +0300)]
Python 3.9

4 years agoTests(tox): Run generic tests under w32
Oleg Broytman [Thu, 7 May 2020 22:10:03 +0000 (01:10 +0300)]
Tests(tox): Run generic tests under w32

4 years agoCI: pip<21 for Python 2.7
Oleg Broytman [Wed, 6 May 2020 20:28:26 +0000 (23:28 +0300)]
CI: pip<21 for Python 2.7

4 years agoLimit `setuptools<44` for Python 2.7
Oleg Broytman [Fri, 28 Feb 2020 12:11:12 +0000 (15:11 +0300)]
Limit `setuptools<44` for Python 2.7

4 years agoTests(tox): Fix copying `validators.py`
Oleg Broytman [Thu, 27 Feb 2020 07:23:32 +0000 (10:23 +0300)]
Tests(tox): Fix copying `validators.py`

4 years agoFix(process_mysql): Fix invalid escape sequence `\*`
Oleg Broytman [Wed, 26 Feb 2020 22:49:47 +0000 (01:49 +0300)]
Fix(process_mysql): Fix invalid escape sequence `\*`

4 years agoFix: Adapt to newer `sqlparse`
Oleg Broytman [Wed, 26 Feb 2020 22:41:47 +0000 (01:41 +0300)]
Fix: Adapt to newer `sqlparse`

`VALUES` is now a separate object that contains a lists of value tuples.

4 years agoTests: Run tests with Python 3.8
Oleg Broytman [Tue, 25 Feb 2020 21:56:33 +0000 (00:56 +0300)]
Tests: Run tests with Python 3.8

4 years agoCI(Travis): Set default OS to `linux`, dist to `xenial`
Oleg Broytman [Tue, 25 Feb 2020 20:22:46 +0000 (23:22 +0300)]
CI(Travis): Set default OS to `linux`, dist to `xenial`

Default dist is `xenial` anyway.

4 years agoDocs: Install using `pip install`
Oleg Broytman [Tue, 25 Feb 2020 20:08:41 +0000 (23:08 +0300)]
Docs: Install using `pip install`

5 years agoCI(AppVeyor): Move `validators.py` -> `devscripts/CI/`
Oleg Broytman [Thu, 5 Sep 2019 17:58:11 +0000 (20:58 +0300)]
CI(AppVeyor): Move `validators.py` -> `devscripts/CI/`

5 years agoCI: Remove branch limitations
Oleg Broytman [Mon, 25 Feb 2019 18:24:53 +0000 (21:24 +0300)]
CI: Remove branch limitations

5 years agoDocs,tests: Limit Sphinx and pytest versions for Python 2.7 and 3.4
Oleg Broytman [Mon, 25 Feb 2019 16:33:24 +0000 (19:33 +0300)]
Docs,tests: Limit Sphinx and pytest versions for Python 2.7 and 3.4

5 years agoStyle(setup): Fix flake8 F821 undefined name `execfile` under Python 3
Oleg Broytman [Mon, 18 Feb 2019 18:32:33 +0000 (21:32 +0300)]
Style(setup): Fix flake8 F821 undefined name `execfile` under Python 3

5 years agoBuild(setup): Use exec[file] to get version from __version__.py
Oleg Broytman [Mon, 18 Feb 2019 18:04:40 +0000 (21:04 +0300)]
Build(setup): Use exec[file] to get version from __version__.py

Use exec[file] instead of imp/importlib.

5 years agoCI(travis): remove deprecated `sudo` keyword
Oleg Broytman [Thu, 7 Feb 2019 14:22:55 +0000 (17:22 +0300)]
CI(travis): remove deprecated `sudo` keyword

5 years agoBuild(setup.py): Use `importlib` instead of deprecated `imp` for Python 3.4+
Oleg Broytman [Thu, 7 Feb 2019 13:41:47 +0000 (16:41 +0300)]
Build(setup.py): Use `importlib` instead of deprecated `imp` for Python 3.4+

5 years agoCI: Require pip < 19.1 for Python 2.7 and 3.4
Oleg Broytman [Sun, 3 Feb 2019 18:53:16 +0000 (21:53 +0300)]
CI: Require pip < 19.1 for Python 2.7 and 3.4

5 years agoBuild(release): Skip exiting files at PyPI
Oleg Broytman [Sat, 2 Feb 2019 20:34:37 +0000 (23:34 +0300)]
Build(release): Skip exiting files at PyPI

[skip ci]

5 years agoVersion 0.2.3 0.2.3
Oleg Broytman [Fri, 1 Feb 2019 19:17:48 +0000 (22:17 +0300)]
Version 0.2.3

5 years agoCI(AppVeyor): Work around a strange problem with Py3.7
Oleg Broytman [Thu, 31 Jan 2019 22:59:40 +0000 (01:59 +0300)]
CI(AppVeyor): Work around a strange problem with Py3.7

Work around a very strange problem with Python 3.7 at AppVeyor
by copying correct validators.py to formencode.

5 years agoTests: Require tox < 3.1 to avoid basepython conflicts
Oleg Broytman [Thu, 31 Jan 2019 17:42:48 +0000 (20:42 +0300)]
Tests: Require tox < 3.1 to avoid basepython conflicts

5 years agoTests: Require pytest < 5.0 for Python 2.7
Oleg Broytman [Thu, 31 Jan 2019 17:42:14 +0000 (20:42 +0300)]
Tests: Require pytest < 5.0 for Python 2.7

5 years agoStyle: Ignore flake8 W605 invalid \* escape
Oleg Broytman [Thu, 31 Jan 2019 17:40:15 +0000 (20:40 +0300)]
Style: Ignore flake8 W605 invalid \* escape

5 years agoPython 3.7
Oleg Broytman [Thu, 31 Jan 2019 17:36:17 +0000 (20:36 +0300)]
Python 3.7

6 years agoBuild(release): Stop releasing eggs
Oleg Broytman [Tue, 21 Aug 2018 16:26:24 +0000 (19:26 +0300)]
Build(release): Stop releasing eggs

It's enough to release a wheel.

[skip ci]

6 years agoBuild, Tests(tox): Python 3.7
Oleg Broytman [Thu, 28 Jun 2018 14:24:23 +0000 (17:24 +0300)]
Build, Tests(tox): Python 3.7

[skip ci]

6 years agoTests: Install psycopg2 from psycopg2-binary package
Oleg Broytman [Wed, 6 Jun 2018 16:47:40 +0000 (19:47 +0300)]
Tests: Install psycopg2 from psycopg2-binary package

6 years agoUpgrade: http://phdru.name -> https://phdru.name
Oleg Broytman [Fri, 25 May 2018 07:42:32 +0000 (10:42 +0300)]
Upgrade: http://phdru.name -> https://phdru.name

6 years agoTests: Update tox.ini
Oleg Broytman [Sun, 22 Apr 2018 18:38:28 +0000 (21:38 +0300)]
Tests: Update tox.ini

Factor out envlist.
Unwhitelist cmp.py and rm.py - they're installed via requirements_tests.txt.

6 years agoBuild, docs: pypi.python.org => pypi.org
Oleg Broytman [Mon, 16 Apr 2018 17:57:30 +0000 (20:57 +0300)]
Build, docs: pypi.python.org => pypi.org

6 years agoStyle(setup.py): Reindent parameters
Oleg Broytman [Sun, 8 Apr 2018 22:30:01 +0000 (01:30 +0300)]
Style(setup.py): Reindent parameters

6 years agoTests(tox.ini): Add forgotten `[testenv:py36-sqlite-w32]` env
Oleg Broytman [Sun, 1 Apr 2018 01:02:02 +0000 (04:02 +0300)]
Tests(tox.ini): Add forgotten `[testenv:py36-sqlite-w32]` env

6 years agoCI(appveyor.yml): Upgrade `pip` using `python -m pip`
Oleg Broytman [Sun, 1 Apr 2018 00:47:09 +0000 (03:47 +0300)]
CI(appveyor.yml): Upgrade `pip` using `python -m pip`

Avoid `WindowsError: [Error 5] Access is denied`.

6 years agoBuild(.gitignore): Ignore `.pytest_cache`
Oleg Broytman [Sun, 1 Apr 2018 00:10:25 +0000 (03:10 +0300)]
Build(.gitignore): Ignore `.pytest_cache`

[skip ci]

6 years agoBuild(setup.py): Reorder `install_requires`
Oleg Broytman [Sat, 31 Mar 2018 22:31:53 +0000 (01:31 +0300)]
Build(setup.py): Reorder `install_requires`

6 years agoBuild(release): Do not GPG-sign release files
Oleg Broytman [Sat, 31 Mar 2018 17:59:01 +0000 (20:59 +0300)]
Build(release): Do not GPG-sign release files

New pypi.io deprecated GPG signatures.

[skip ci]

6 years agoBuild(setup.py): Add long_description_content_type
Oleg Broytman [Fri, 30 Mar 2018 20:58:54 +0000 (23:58 +0300)]
Build(setup.py): Add long_description_content_type

6 years agoBuild(setup.py): Add `project_urls`
Oleg Broytman [Thu, 29 Mar 2018 21:41:42 +0000 (00:41 +0300)]
Build(setup.py): Add `project_urls`

6 years agoBuild(setup.py): Use setuptools instead of distutils
Oleg Broytman [Wed, 28 Mar 2018 19:58:19 +0000 (22:58 +0300)]
Build(setup.py): Use setuptools instead of distutils

6 years agoDocs: 2018 year
Oleg Broytman [Wed, 28 Mar 2018 18:47:00 +0000 (21:47 +0300)]
Docs: 2018 year

[skip ci]

6 years agoTests(tox.ini): Shorten default list of environments
Oleg Broytman [Mon, 26 Mar 2018 20:13:33 +0000 (23:13 +0300)]
Tests(tox.ini): Shorten default list of environments

6 years agoTests(tox.ini): Don't whitelist flake8
Oleg Broytman [Mon, 26 Mar 2018 19:43:44 +0000 (22:43 +0300)]
Tests(tox.ini): Don't whitelist flake8

6 years agoBuild: Use module returned by imp.load_source() directly
Oleg Broytman [Sun, 4 Feb 2018 06:22:58 +0000 (09:22 +0300)]
Build: Use module returned by imp.load_source() directly

6 years agoDocs: Add a link to PyPI
Oleg Broytman [Wed, 27 Dec 2017 20:28:53 +0000 (23:28 +0300)]
Docs: Add a link to PyPI

[skip ci]

6 years agoTests(tox.ini): Set platform
Oleg Broytman [Sun, 17 Dec 2017 11:19:27 +0000 (14:19 +0300)]
Tests(tox.ini): Set platform

Default platform is linux, but for *-w32 environments it's win32.

6 years agoTest(tox.ini): Remove sitepackages
Oleg Broytman [Sun, 17 Dec 2017 11:17:56 +0000 (14:17 +0300)]
Test(tox.ini): Remove sitepackages

6 years agoCI: Run tests at AppVeyor with Python 2.7 32bit and 3.6 64bit
Oleg Broytman [Sat, 16 Dec 2017 12:26:59 +0000 (15:26 +0300)]
CI: Run tests at AppVeyor with Python 2.7 32bit and 3.6 64bit

6 years agoTests: rm.py -f
Oleg Broytman [Fri, 15 Dec 2017 18:31:53 +0000 (21:31 +0300)]
Tests: rm.py -f

6 years agoBuild: Require tox >= 2.0 (for passenv)
Oleg Broytman [Fri, 15 Dec 2017 15:34:14 +0000 (18:34 +0300)]
Build: Require tox >= 2.0 (for passenv)

[skip ci]

6 years agoDocs: Remove -O2 from installation instructions
Oleg Broytman [Fri, 15 Dec 2017 13:28:46 +0000 (16:28 +0300)]
Docs: Remove -O2 from installation instructions

[skip ci]

6 years agoDocs: Install from PyPI
Oleg Broytman [Wed, 13 Dec 2017 12:40:14 +0000 (15:40 +0300)]
Docs: Install from PyPI

[skip ci]

6 years agoCI: Rename TOX_ENV -> TOXENV; execute tox (no need to pass TOXENV)
Oleg Broytman [Mon, 11 Dec 2017 17:56:46 +0000 (20:56 +0300)]
CI: Rename TOX_ENV -> TOXENV; execute tox (no need to pass TOXENV)

6 years agoBuild(setup.py): Use python_version marker and python_requires keyword
Oleg Broytman [Mon, 11 Dec 2017 14:16:07 +0000 (17:16 +0300)]
Build(setup.py): Use python_version marker and python_requires keyword

CI: Upgrade pip and setuptools

7 years agoFeat(demo): Add CREATE TABLE
Oleg Broytman [Sat, 4 Nov 2017 17:30:59 +0000 (20:30 +0300)]
Feat(demo): Add CREATE TABLE

7 years agoRefactor(process_mysql): Get DML type
Oleg Broytman [Fri, 3 Nov 2017 22:32:55 +0000 (01:32 +0300)]
Refactor(process_mysql): Get DML type

7 years agoRefactor(process_mysql): Rename quoting_style -> dbname
Oleg Broytman [Fri, 3 Nov 2017 22:31:18 +0000 (01:31 +0300)]
Refactor(process_mysql): Rename quoting_style -> dbname

7 years agoFeat(process_mysql): Get DML type instead of just testing for INSERT
Oleg Broytman [Thu, 26 Oct 2017 19:13:33 +0000 (22:13 +0300)]
Feat(process_mysql): Get DML type instead of just testing for INSERT

7 years agoTests(tox): Install ppu
Oleg Broytman [Thu, 26 Oct 2017 19:12:28 +0000 (22:12 +0300)]
Tests(tox): Install ppu

Install Portable Python Utilities that are used in tests.

7 years agoFix misspelling in a comment
Oleg Broytman [Tue, 24 Oct 2017 23:39:20 +0000 (02:39 +0300)]
Fix misspelling in a comment

[skip ci]

7 years agoDocs: Update TODO
Oleg Broytman [Tue, 24 Oct 2017 23:35:04 +0000 (02:35 +0300)]
Docs: Update TODO

[skip ci]

7 years agoTests(CI): Explicitly list python versions at Travis CI
Oleg Broytman [Fri, 6 Oct 2017 20:01:37 +0000 (23:01 +0300)]
Tests(CI): Explicitly list python versions at Travis CI

7 years agoFix(setup): Remove unused package_data
Oleg Broytman [Sat, 2 Sep 2017 14:36:58 +0000 (17:36 +0300)]
Fix(setup): Remove unused package_data

7 years agoTests(CI): Add "db: postgresql" in appveyor.yml for Pg-related tests
Oleg Broytman [Sun, 20 Aug 2017 20:07:44 +0000 (23:07 +0300)]
Tests(CI): Add "db: postgresql" in appveyor.yml for Pg-related tests