summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Try building Py38 windows packagespy38Daniele Varrazzo2019-10-191-1/+2
| | | | | Temporary commit to rebase. Will reinstate the .travis file before merging.
* Appveyor: added package_name to optionsappveyor-pyDaniele Varrazzo2019-04-221-6/+9
|
* Dropped command line config from appveyor scripsDaniele Varrazzo2019-04-221-212/+237
| | | | | | | | | | Only use env vars, they were unused. Use consistently a config object with properties instead of functions (the one returning a binary are especially dangerous if parens are forgotten). Also add helpers to call the target python more succinctly.
* Run tests more quiet/faster building wheelsDaniele Varrazzo2019-04-221-5/+12
| | | | We are mostly interested it installed alright.
* Better dir names in appveyor buildDaniele Varrazzo2019-04-221-20/+29
|
* Added support for wheel building and uploadingDaniele Varrazzo2019-04-221-22/+225
| | | | To be used by the psycopg/psycopg2-wheels project.
* Configure postgres to run appveyor tests on sslDaniele Varrazzo2019-04-221-5/+54
|
* Setup build environment only before buildingDaniele Varrazzo2019-04-221-1/+1
|
* appveyor: added logging level configurationDaniele Varrazzo2019-04-221-3/+24
|
* Using pathlib to manipulate pathsDaniele Varrazzo2019-04-221-66/+72
|
* Dropped problematic init stepDaniele Varrazzo2019-04-221-18/+11
| | | | | It was performed before repos cloned so no resource available (including the script!)
* All together now, let's make this realDaniele Varrazzo2019-04-221-6/+0
|
* Test packages from PythonDaniele Varrazzo2019-04-221-10/+43
|
* Build psycopg from PythonDaniele Varrazzo2019-04-221-5/+33
|
* Build libpq from PythonDaniele Varrazzo2019-04-222-53/+186
|
* Build openssl from PythonDaniele Varrazzo2019-04-221-4/+93
|
* Added setenv to log env vars changesDaniele Varrazzo2019-04-221-15/+16
|
* Added script to implement appveyor functionality in PythonDaniele Varrazzo2019-04-221-0/+277
| | | | Only the init step for the moment.
* Build and test with openssl 1.1 on windowsDaniele Varrazzo2019-04-112-1/+21
| | | | Porting to openssl 1.1 by Matthew Brett, from the psycopg2-wheel repos.
* Run tests on windows using the same library versions of the packagesDaniele Varrazzo2019-03-181-2/+2
|
* Copyright year updatedDaniele Varrazzo2019-02-173-3/+3
| | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I"
* SQLSTATE error classes implemented in CDaniele Varrazzo2019-02-101-97/+6
| | | | The module is only used to export them to Python.
* Dropped duplicate classes in errors moduleDaniele Varrazzo2018-10-231-4/+24
| | | | Also using a more compact class registration using a decorator
* Merge branch 'master' into errors-moduleerrors-moduleDaniele Varrazzo2018-10-154-15/+13
|\
| * errorcodes map update to PostgreSQL 11Daniele Varrazzo2018-10-141-2/+2
| |
| * Merge branch 'master' into httpsDaniele Varrazzo2018-10-101-9/+7
| |\
| | * Replace deprecated optparse usage with argparseJon Dufresne2018-10-101-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | Per https://docs.python.org/3/library/optparse.html > Deprecated since version 3.2: The optparse module is deprecated and > will not be developed further; development will continue with the > argparse module.
| * | Prefer https:// URLs when availableJon Dufresne2018-09-221-1/+1
| |/
| * Consider PG 9.3 a thing of the past.Daniele Varrazzo2018-07-131-1/+1
| | | | | | | | | | | | | | | | | | Wow, it seems yesterday... Previosly archived as a "past" version only in the prepare script. Test script consistent now. [skip ci]
| * Fetch the correct testing postgres packages on xenialDaniele Varrazzo2018-07-131-1/+1
| |
| * Add testing and document support for Python 3.7Jon Dufresne2018-07-121-2/+2
| | | | | | | | | | | | Python 3.7 was released on June 27, 2018. https://docs.python.org/3/whatsnew/3.7.html
* | Errors module content updated to Postgres 11Daniele Varrazzo2018-10-141-1/+1
| |
* | Generating the whole errors file from scriptDaniele Varrazzo2018-08-171-0/+210
| |
* | Dropped parsing sgml files for error codesDaniele Varrazzo2018-08-171-53/+9
|/ | | | | | | The errcodes.txt file contains all the errors for the currently maintained server versions. There is only one error code missing, probably unused, but adding it back anyway to keep the errcode module unchanged.
* Note the upgrade in wheel dependencies in NEWS fileDaniele Varrazzo2018-05-231-2/+2
|
* Merge branch 'master' into drop-2to3Daniele Varrazzo2018-05-202-9/+9
|\
| * Test databases from newest to oldestDaniele Varrazzo2018-05-181-8/+8
| | | | | | | | | | This way we can spot when a feature was not supported yet by the first test failing.
| * Build using OpenSSL 1.0.2nDaniele Varrazzo2018-01-291-1/+1
| |
* | Drop 2to3 build step; make all code compatible with all PythonsJon Dufresne2017-12-111-1/+1
|/ | | | | | | | | | | | | | | | Make all library code compatible with both Python 2 and Python 3. Helps move to modern Python idioms. Can now write for Python 3 (with workarounds for Python 2) instead of the other way around. In the future, when it is eventually time to drop Python 2, the library will be in a better position to remove workarounds Added a very small comparability module compat.py where required. It includes definitions for: - text_type -- A type. str on Python 3. unicode on Python 2. - string_types -- A tuple. Contains only str on Python 3. Contains str & unicode on Python 2.
* Avoid installing tests to site-packagesJon Dufresne2017-12-102-4/+4
| | | | | | | | For library end users, there is no need to install tests alongside the package itself. This keeps the tests available for development without adding extra packages to user's site-packages directory. Reduces the size of the installed package. Avoids accidental execution of test code by an installed package.
* Use print() function instead of print statement throughout projectJon Dufresne2017-12-102-4/+6
| | | | Forward compatible with newer Pythons.
* Remove unused scripts maketypes.sh & buildtypes.pyJon Dufresne2017-12-102-158/+0
| | | | Refs #645
* Trim trailing whitespace from all files throughout projectJon Dufresne2017-12-011-3/+1
| | | | | | Many editors automatically trim whitespace on save. By trimming all files in one go, makes future diffs cleaner without extraneous whitespace changes.
* Build and test packages with libpq 10.1 and OpenSSL 1.0.2mDaniele Varrazzo2017-11-281-2/+2
|
* Remove redundant parenthesesHugo2017-11-281-2/+2
|
* Import recipe to build PG 10 libpq on win from wheel reposDaniele Varrazzo2017-10-241-1/+8
| | | | | Also build pg_config so the libpq version is correct at compile time too.
* Test against PG 10.0 on TravisDaniele Varrazzo2017-10-242-4/+6
|
* Parse PG 10 error codes from final versionDaniele Varrazzo2017-10-191-7/+12
|
* Disable uploading docs on pythonhostedDaniele Varrazzo2017-08-231-15/+0
| | | | | | | The service is deprecated in favour of RTD. There is also no more way to upload redirects there, so #581 cannot be fixed. Official docs are on http://initd.org/psycopg/docs/
* Force rebuild of cache for new OpenSSL/PostgreSQLJason Erickson2017-06-081-2/+2
| | | | | OpenSSL updated to 1.0.2l PostgreSQL updated to 9.6.3