summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Run tests against PostgreSQL 10 beta1test-postgres-10beta1Daniele Varrazzo2017-06-082-7/+7
| | | | | | Use the new Postgres verisoning schema: 10 is a major version, 10.0 a patch release. See https://wiki.postgresql.org/wiki/New_in_postgres_10#Change_in_Version_Numbering
* Error codes updated to PG 10 beta 1Daniele Varrazzo2017-06-051-5/+9
|
* errcodes updated to PG 9.6Daniele Varrazzo2017-06-051-1/+2
|
* Added docs about making a releaseDaniele Varrazzo2017-03-011-54/+0
| | | | | | Drop previous script which didn't include the CI-generated packages. [skip ci]
* Added AppVeyor configuration to test building on WindowsDaniele Varrazzo2017-02-162-0/+132
|
* Download testing servers from upload instead of tarballsDaniele Varrazzo2017-02-081-1/+1
|
* Merge branch 'test-dinosaurs'Daniele Varrazzo2017-02-072-44/+157
|\
| * Run the test suite with postgres versions not available on travisDaniele Varrazzo2017-02-062-44/+157
| |
* | build-manylinux script moved to build-wheels projectDaniele Varrazzo2017-02-061-50/+0
|/
* Use the server on the host to testDaniele Varrazzo2017-02-011-10/+9
|
* Merge back manylinux build script from the psycopg2-wheels projectDaniele Varrazzo2017-02-011-7/+11
|
* Added script to create manylinux1 wheelsDaniele Varrazzo2017-01-041-0/+47
| | | | See issue #425
* Fixed travis test: unset green modeDaniele Varrazzo2016-12-261-1/+1
|
* Less verbose travis testsDaniele Varrazzo2016-12-261-2/+2
|
* Configure Travis to test replicationDaniele Varrazzo2016-12-252-3/+22
|
* Don't use separate databases for testsDaniele Varrazzo2016-12-242-15/+6
| | | | | I got this wrong: I thought parallel test ran in the same VM; they are isolated instead.
* Run the tests against all the available server versionsDaniele Varrazzo2016-12-242-0/+80
|
* Python source cleanup using flake8Daniele Varrazzo2016-10-113-21/+26
|
* Dropped use of b() "macro" and 2to3 fixerDaniele Varrazzo2016-08-151-20/+0
| | | | Just use the b"" strings syntax supported from python 2.6.
* errorcodes map updated to PostgreSQL 9.5.Daniele Varrazzo2016-07-011-1/+1
|
* Don't need to build the env for a sdistDaniele Varrazzo2014-09-011-1/+0
| | | | After 2.5 we are not releasing the html docs in the sdist anymore.
* Added scripts to release and upload docsDaniele Varrazzo2014-09-012-0/+70
|
* Dropped creation of errcodes with missing spec fieldDaniele Varrazzo2014-08-281-8/+3
| | | | | On further inspection these names are just aliases for values already defined: we don't need the duplication.