Commit graph

16 commits

Author SHA1 Message Date
Ankush Menat
7f1655fe46
build(deps): drop pyOpenSSL dependency (#18162)
- Not used anymore
- Official documentation suggests stopping use of
pyopenssl: https://github.com/pyca/pyopenssl
2022-09-17 12:15:26 +05:30
Ankush Menat
168fcf0975 build(deps): bump redis to latest version 2022-08-31 17:04:31 +05:30
Ankush Menat
7e34da6bec build(deps): bump werkzeug
Werkzeug has faster router now
2022-08-26 10:23:09 +05:30
Ankush Menat
17d327719e build(deps): drop unused dependencies
- googlemaps
- google-auth-httplib2
- urllib3
- pypng
- pyasn1
- gitdb
2022-08-26 10:23:09 +05:30
Ankush Menat
b30a78aa40
perf: install hiredis for faster response parsing (#17893) 2022-08-22 11:39:18 +05:30
Ankush Menat
821a4df192 chore(deps): bump boto dependency 2022-08-17 20:18:14 +05:30
phot0n
a02bd94d16 chore: remove payment gateway libraries 2022-07-26 23:17:04 +05:30
gavin
7eb7ec2663
Merge branch 'develop' into cleanup 2022-07-22 15:10:34 +05:30
chillaranand
d7bb903212 refactor: Removed parse package 2022-07-18 09:43:03 +05:30
Ankush Menat
55fb8acafa
perf(DX): add watchdog as developer dependency
Werkzeug reloader is right now using an inefficient `stat` based reloader which is horrible on large codebases with low-powered devices. 

Difference: 

- `stat` based reloader basically checks each and every file if they have changed or not. 
- watchdog subscribes to platform specific change events on kernel (like kqueue, fsevents or inotify )
2022-07-17 20:07:05 +05:30
Suraj Shetty
d4166dbe20 refactor: Replace html2text with markdownify 2022-07-06 08:23:14 +05:30
Gavin D'souza
404d5a3cd7 build!: Bump minimum Python version to 3.10
Given how widespread PY310's usage has become, and how we're just a
few months away from PY311 major release. This is a slightly late
bumping but necessary to ensure smoother updates & maintenance for
Frappe, ERPNext & other apps in the coming years. Almost all people
who participated in the pool from the community as well as Frappe team
voted (via active telegram groups) PY310 as their preferred minimum
requirement for v14.
2022-06-30 13:11:26 +05:30
gavin
abfbe3daa4
build: Use toml defined dev dependencies over txt file (#17356)
* build: Use toml defined dev dependencies over txt file

* chore: Remove redundant ==

* ref: https://github.com/frappe/bench/releases/tag/v5.12.1
* Linter's style updates

* chore(deps): Bump coverage from 5.5 to ~=6.4.1
2022-06-30 12:21:28 +05:30
Gavin D'souza
71531bd290 chore(deps): Bump PyJWT from 2.0.1 to 2.4.0
Consists of security & bug fixes, and seemingly no breaking changes

Ref: https://pyjwt.readthedocs.io/en/stable/changelog.html
2022-06-22 15:02:18 +05:30
Gavin D'souza
9f941e9312 build: Declarative builds via pyproject.toml
There was an attempt to switch to declarative setup, which was to use
setup.cfg. However, we've made more progress in the "world of packaging"
since. Also, given we're using a pyproject file already to govern
certain aspects of our project maintenance, it's probably a good time to
bring these things together. bye-bye to clutter and confusion in
maintaining multiple files and formats.

We've used setuptools to package frappe for the longest time. Maybe
since the first editable installation. Howver setuptools doesn't support
PEP 660 yet which supports editable installs via pyproject file.

So why now? Primarily because I wanted to start tracking system
dependencies for Frappe. Doing so through pyproject file made the most
sense. This change seemed to be the obvious pre-requisite for the
upcoming changes to our packaging systems.

Sys deps tracking: https://github.com/frappe/frappe/issues/13811
Flit docs: https://flit.pypa.io/en/latest/pyproject_toml.html
Previous attempt: https://github.com/frappe/frappe/pull/10773
Which build tool: https://stackoverflow.com/a/69711730/10309266
PEP 660: https://peps.python.org/pep-0660/
2022-06-14 13:29:36 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30