Remove python 2.6 specific code

2019-01-30 Thread Cyril Jouve
Hi,

Since python 2.6 is deprecated
,
this patch removes python 2.6 specific code.

Regards,
Cyril


0001-remove-python-2.6-compatibility-code.patch
Description: Binary data


Replace PyCrypto by cryptography

2019-01-30 Thread Cyril Jouve
Hello,

this removes the PyCrypto dependency and replace it by cryptography (3272
).

Regards,
Cyril


0001-replace-PyCrypto-by-cryptography.patch
Description: Binary data


Simplify requirements.txt

2019-02-06 Thread Cyril Jouve
Hi,

moved to web/regression/requirements.txt:
extras==1.0.0
fixtures==3.0.0
linecache2==1.0.0
pbr==3.1.1
python-mimeparse==1.6.0

removed:
html5lib
pyrsistent

Regards,
Cyril


0001-simplify-main-requirements.txt.patch
Description: Binary data


Use python3 ipaddress module to validate ipaddress

2020-08-09 Thread Cyril Jouve



0001-use-python3-ipaddress-module.patch
Description: Binary data


str never has attribute decode in py3

2020-08-11 Thread Cyril Jouve



0001-str-never-has-attribute-decode.patch
Description: Binary data


Re: More idiomatic python3 + fix some tests

2020-09-01 Thread Cyril Jouve
thanks :)

and sure, I'll run the linter next time!

have you thought of automatic code formatters instead like yapf or black?



Le lun. 31 août 2020 à 13:18, Akshay Joshi 
a écrit :

> Hi Cyril
>
> Thanks, patch applied. Please make sure to run "yarn run pep8" before
> sending the patch.
>
> On Sat, Aug 29, 2020 at 2:28 AM Cyril Jouve  wrote:
>
>> Hello,
>>
>> patch 1 to 6 generated mostly using 2to3:
>> 0001: https://docs.python.org/3.8/library/2to3.html#2to3fixer-asserts
>> 0002: https://docs.python.org/3.8/library/2to3.html#2to3fixer-filter
>> 0003: https://docs.python.org/3.8/library/2to3.html#2to3fixer-idioms
>> 0004: https://docs.python.org/3.8/library/2to3.html#2to3fixer-metaclass
>> 0005: https://docs.python.org/3.8/library/2to3.html#2to3fixer-xrange
>> 0006: https://docs.python.org/3.8/library/2to3.html#2to3fixer-unicode
>>
>> patch 7 fixes change_password tests:
>> Less that min length : min is 8 instead of 6
>> Valid password : use an user different than admin user / mock mail module
>>
>> patch 8 fixes ConstraintDeleteMultipleTestCase on py3.10 (using
>> simplejson like in all other modules).
>>
>> Regards,
>> Cyril
>>
>
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
> *pgAdmin Hacker | Sr. Software Architect*
> *EDB Postgres <http://edbpostgres.com>*
>
> *Mobile: +91 976-788-8246*
>


RM5841: server.username can be empty when using .pg_service.conf

2020-09-19 Thread Cyril Jouve
fix for https://redmine.postgresql.org/issues/5841


0001-server.username-can-be-None-when-using-.pg_service.c.patch
Description: Binary data