Skip to content

Merge dev branch into main#3

Merged
thejcfactor merged 18 commits into
mainfrom
dev
Aug 1, 2025
Merged

Merge dev branch into main#3
thejcfactor merged 18 commits into
mainfrom
dev

Conversation

@thejcfactor

Copy link
Copy Markdown
Collaborator

No description provided.

thejcfactor and others added 18 commits June 10, 2025 16:15
Changes
=======
* Basic query functionality is available for both sync and async APIs
* Rough handling of timeouts and cancellation is available (but more
  work needs to be done)
* Error handling is incomplete
* Linting is not in place (and will require changes)
* Typing is not in place (and will require changes)
* Test suite is minimal
Changes
=======
* Static type checking in place (via mypy)
* Baseline unit tests available and passing
* Baseline integration query tests available and passing
Changes
=======
* Better handling of timeout errors
* Update sync tests to handle various forms (normal, lazy, cancellable)
Changes
=======
* PYCO-58: Timeout tests
* PYCO-57: Cancellation tests
Changes
=======
* Introduce request_context to handle bulk of logic for a request
  (state, retries, etc.)
* Increase test coverage
* Apply formatting/lint via ruff
* Apply static type checking via mypy
* Cleanup and reorganize code structure
Changes
=======
* Add retry logic
* Cleaned up error handling
* Reorganized RequestContext logic
* Updated tests
* Updated pre-commit configuration and ensured all stages are passing
Changes
=======
* Update pyproject.toml and setup.py to handle package_data
* Update MANIFEST.in to correctly handle package_data
* Add uv.lock file to git
Changes
=======
* Add loggers to `acouchbase_analytics` and `couchbase_analytics`
* Remove print/todos related to logging and replace with log messaging
* Allow logging to be configured via `PYCBAC_LOG_LEVEL` environment
  variable
* General clean-up
Changes
=======
* Cluster/Scope examples added for both sync and async APIs
* Backoff exponent set to 2 (changed from 1.5)
* Cleaned up test suite test server request/response functionality
Changes
=======
* Allow httpx to handle timeouts instead of using anyio `CancelScope`
  deadline
* Add tests to confirm functionality
* Add logging helpful logging messages
Changes
=======
* Add test.yml workflow
* Update error handling to take into account timeout scenarios after
  `send_request` is called again after retry
* Update error handling to take into account httpx ReadTimeout,
  WriteError and WriteTimeout
* Update JSON streaming/parsing to handle when ijson uses Python as the
  backend and thus can raise different errors
* Update ijson from 3.3.0 to 3.4.0 to get Python 3.13 wheel
Changes
=======
* Handle wider range of httpx errors
* Allow BaseException to be raised if not a timeout or cancel scenario
@thejcfactor thejcfactor merged commit 12894be into main Aug 1, 2025
84 checks passed
@thejcfactor thejcfactor deleted the dev branch August 1, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants