## The problem
Issue square/square-python-sdk#162 (closed, 11 comments): **Describe the bug** Importing the `Square` client using the new 42.x+ Python SDK causes a huge increase in memory consumption - 109MB - and is very slow. This occurs when from square import Square is called, before the library is even used. **Expected behavior** Importing the library and calling it should use an appropriate amount of system resources, as was the case in the old SDK. **To Reproduce** See below for profiling of a test function with memory-profiler. I ran this against SDK version 43.0.0.20250618 but this is true of all versions of the new SDK: ``` Python 3.13.5 (main, Jun 12 202
## What to do
The memory spike in the new Python SDK was fixed; the latest version (43.2.0.20251016 at the time) shows about 17.4 MB import footprint and 1.2s load time. Upgrade the square package.