Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elliottech/lighter-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: 0x-chad/lighter-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 31, 2025

  1. Fix aiohttp ClientSession initialization for pytest-asyncio compatibi…

    …lity
    
    Move ClientSession creation from __init__ to async request() method to ensure
    it's created within an event loop context, preventing RuntimeError with
    pytest-asyncio ≥ 0.23 and newer aiohttp versions.
    0x-chad committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    92d8e6f View commit details
    Browse the repository at this point in the history
  2. Use ClientTimeout for aiohttp request timeouts

    Convert raw timeout values to aiohttp.ClientTimeout objects to fix
    compatibility with newer aiohttp versions.
    0x-chad committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    40eb999 View commit details
    Browse the repository at this point in the history
  3. Move SSL context and connector creation into async context

    Delay creation of SSL context and TCPConnector until the first async
    request to ensure they're created within the event loop context. This
    prevents event loop mismatch issues with pytest-asyncio session-scoped
    fixtures.
    0x-chad committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    1ea2edf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfe91ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b973c9 View commit details
    Browse the repository at this point in the history
Loading