1. Jan 12, 2024
  2. Jan 11, 2024
    • Jeremy Mikola's avatar
      CDRIVER-4806 sync tests for failCommand errorLabels reqs (#1508) · 4ef84ecd
      Jeremy Mikola authored
      Synced with mongodb/specifications@5fc23f40f79d18f0693e7159eba81f0e7b276715
      
      Updates retryable writes prose test 3 to relocate the errorLabels field when configuring a fail point.
      
      Note: with_transaction/callback-retry.json is unrelated but was missed in CDRIVER-2975. This test currently fails and has been skipped (see: CDRIVER-4811).
      4ef84ecd
  3. Jan 10, 2024
    • Jeremy Mikola's avatar
      CDRIVER-4717 sync legacy transaction tests for LB runOnRequirements (#1507) · 50abb269
      Jeremy Mikola authored
      Synced with mongodb/specifications@38e65fc8e59fedea351d9393ae43d305cde6ce00
      
      This includes error-labels-blockConnection.json for client-side operations timeout, which is not yet implemented in libmongoc.
      
      Per run-tests.sh, these tests will not actually be executed on load balancers. This is intentional to avoid making further changes to the legacy spec test runner to support LBs.
      
      * Add trailing newline to skipped test output
      50abb269
  4. Jan 06, 2024
  5. Jan 05, 2024
  6. Jan 04, 2024
  7. Jan 03, 2024
  8. Jan 02, 2024
    • Kevin Albertson's avatar
      CDRIVER-4795 restore `MONGOC_MD_FLAG_ENABLE_ICU` (#1494) · 38f80af2
      Kevin Albertson authored
      * support Python 3 in `parse_handshake_cfg.py`
      
      * add numeric assignments to enum values
      
      * format `mongoc-handshake-private.h`
      
      * fix reference to test function
      
      * restore `MONGOC_MD_FLAG_ENABLE_ICU`
      
      * comment about `MONGOC_MD_FLAG_ENABLE_ICU` removal
      38f80af2
  9. Dec 28, 2023
    • SaltyMilk's avatar
      dbc8095a
    • Kevin Albertson's avatar
      CDRIVER-4767 support Sphinx 1.7.6 (#1492) · 0da4704d
      Kevin Albertson authored
      * import older `DirectoryHTMLBuilder` if needed
      
      The import path of `DirectoryHTMLBuilder` was changed from `sphinx.builders.html` to `sphinx.builders.dirhtml` in Sphinx v2.0.0
      
      * import `Directive`, not `SphinxDirective`
      
      `SphinxDirective` was added in Sphinx v2.0.0
      
      * do not import Project
      
      `Project` was added in Sphinx v2.0.0
      
      * update `needs_sphinx` to 1.7
      
      * error if `add_css_file` is unavailable for HTML builder.
      
      But do not error otherwise. This is intended to help build man pages without HTML requirements.
      
      `Sphinx.add_css_file` was added in Sphinx v3.5.0
      
      * use `builder-inited`
      
      `config-inited` was added in Sphinx v1.8.0
      
      * do not use `external` role
      
      `external` role was added in intersphinx extension in v4.4
      
      * do not use `noindexentry`
      
      `noindexentry` option was added to C domain in Sphinx v3.2
      
      * remove `name` from `index` directive
      
      `name` option was added in Sphinx v3.0
      
      * populate `man_pages` in `setup` instead of event handler
      
      The `config-inited` event was added in Sphinx v1.8.0
      The `ManualPageBuilder` constructor raises an exception for an empty `man_pages` value.
      
      * remove parallel build of man pages
      
      To avoid an error observed on Sphinx 1.7.6:
      ```
      AttributeError: Can't pickle local object 'BuildEnvironment._read_parallel.<locals>.merge'
      ```
      
      * remove unhelpful warning
      
      An error is raised at runtime with a message suggesting to install `sphinx-design`. The warning was a source of confusion in CDRIVER-4767
      
      * update NEWS for 1.25.3
      
      * add upcoming NEWS for 1.25.4
      0da4704d
  10. Dec 21, 2023
  11. Dec 08, 2023
  12. Dec 07, 2023
  13. Dec 06, 2023
  14. Dec 05, 2023
    • Kevin Albertson's avatar
      CDRIVER-4788 do not require sphinx-design for man pages (#1483) · 3c51f9d1
      Kevin Albertson authored
      * do not require sphinx-design
      
      sphinx-design is not used in the man pages. Do not require sphinx-design to enable building man pages when sphinx-design is not available.
      
      * error if building HTML docs without sphinx-design
      
      * remove `python3-sphinx` from mock install
      
      `python3-sphinx` is listed in BuildRequires of spec file and does not need to be installed separately.
      
      * update spec.patch to remove `python3-sphinx-design`
      
      Intended to test the RPM build without the `python3-sphinx-design` dependency installed.
      
      * commit staged files
      
      This is intended to test files changed in a patch build.
      Patch builds apply changes to index.
      3c51f9d1
    • Kevin Albertson's avatar
      c2c3c797
  15. Dec 02, 2023
  16. Nov 30, 2023
  17. Nov 28, 2023
  18. Nov 22, 2023
  19. Nov 21, 2023
  20. Nov 16, 2023
  21. Nov 14, 2023
    • Ezra Chung's avatar
      CDRIVER-4781 Avoid intermediate uint32_t for socketTimeoutMS (#1475) · 42ff0727
      Ezra Chung authored
      * Fix format specifier in timeout range validation error messages
      
      * CDRIVER-4781 Avoid overflow of -1 sockettimeout in cast to intermediate uint32_t
      
      * Add regression test for negative sockettimeoutms validation
      
      * Update documentation with warnings for non-positive timeout values
      
      * Update timeout variables for type consistency
      
      * Add regression test for unspecified default timeout in writev functions
      42ff0727
  22. Nov 10, 2023
  23. Nov 09, 2023