Skip to content

Conversation

@MattShirley
Copy link
Collaborator

@MattShirley MattShirley commented Sep 25, 2025

Fix errors observed in PRs like this: #657

There is an error properly resolving the func-adl-servicex-xaodr22 version number. Because this package is only available in the extra docs package, this error can be bypassed temporarily until the package resolution can work properly.

Example error message in the "Install dependencies" step:

Downloading cpython-3.10.18-linux-x86_64-gnu (download) (27.5MiB)
 Downloading cpython-3.10.18-linux-x86_64-gnu (download)
Using CPython 3.10.18
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
  × No solution found when resolving dependencies:
  ╰─▶ Because servicex[docs]==0.0.1a0 depends on func-adl-servicex-xaodr22 and
      func-adl-servicex-xaodr22==2.4.0.22.2.113 was yanked (reason: Bug!), we
      can conclude that servicex[docs]==0.0.1a0 depends on one of:
          func-adl-servicex-xaodr22<2.4.0.22.2.113
          func-adl-servicex-xaodr22>2.4.0.22.2.113

      And because only the following versions of func-adl-servicex-xaodr22
      are available:
          func-adl-servicex-xaodr22==1.1.4.22.2.113
          func-adl-servicex-xaodr22==2.0.0.22.2.107
          func-adl-servicex-xaodr22==2.0.1.22.2.107
          func-adl-servicex-xaodr22==2.1.1.22.2.107
          func-adl-servicex-xaodr22==2.1.2.22.2.113
          func-adl-servicex-xaodr22==2.2.0.22.2.113
          func-adl-servicex-xaodr22==2.2.1.22.2.113
          func-adl-servicex-xaodr22==2.2.2.22.2.113
          func-adl-servicex-xaodr22==2.3.0.22.2.113
          func-adl-servicex-xaodr22==2.4.0.22.2.113
          func-adl-servicex-xaodr22==2.4.1.22.2.113
          func-adl-servicex-xaodr22==2.4.4.22.2.113
      and all of:
          func-adl-servicex-xaodr22>=2.0.0.22.2.107,<=2.3.0.22.2.113
          func-adl-servicex-xaodr22>=2.4.1.22.2.113
      depend on servicex>=3.0.0b1, we can conclude that
      func-adl-servicex-xaodr22!=1.1.4.22.2.113, servicex<3.0.0b1,
      servicex[docs]==0.0.1a0 are incompatible. (1)

      Because only the following versions of func-adl-servicex are available:
          func-adl-servicex<2.0b1
          func-adl-servicex==2.0
          func-adl-servicex==2.1
          func-adl-servicex>=2.2
      and func-adl-servicex>=2.0,<=2.1 depends on servicex>=2.4,<3.0a1,
      we can conclude that func-adl-servicex>=2.0b1,<2.2 depends on
      servicex>=2.4,<3.0a1.
      And because func-adl-servicex==2.2 depends on servicex>=2.6.1
      and func-adl-servicex-xaodr22==1.1.4.22.2.113 depends
      on func-adl-servicex>=2.0b1, we can conclude that
      func-adl-servicex-xaodr22==1.1.4.22.2.113 depends on servicex>=2.4.
      And because we know from (1) that
      func-adl-servicex-xaodr22!=1.1.4.22.2.113, servicex<3.0.0b1,
      servicex[docs]==0.0.1a0 are incompatible, we can conclude that
      servicex[docs]==0.0.1a0 depends on servicex>=2.4.
      And because only servicex[docs]==0.0.1a0 is available and you
      require servicex[docs], we can conclude that your requirements are
      unsatisfiable.

      hint: Pre-releases are available for `func-adl-servicex-xaodr22` in
      the requested range (e.g., 2.1.1.22.2.107b2), but pre-releases weren't
      enabled (try: `--prerelease=allow`)

      hint: `func-adl-servicex` was requested with a pre-release marker (e.g.,
      all of:
          func-adl-servicex>=2.0b1,<2.0
          func-adl-servicex>2.0,<2.1
          func-adl-servicex>2.1,<2.2
      ), but pre-releases weren't enabled (try: `--prerelease=allow`)

@MattShirley MattShirley changed the title pin specific version of func-adl-servicex-xaodr22 resolve func-adl-servicex-xaodr22 package resolution failure Sep 25, 2025
@MattShirley MattShirley changed the title resolve func-adl-servicex-xaodr22 package resolution failure fix func-adl-servicex-xaodr22 package resolution failure Sep 25, 2025
@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.22%. Comparing base (38b07b5) to head (bb7a963).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #661      +/-   ##
==========================================
+ Coverage   97.20%   97.22%   +0.01%     
==========================================
  Files          29       29              
  Lines        1969     1979      +10     
==========================================
+ Hits         1914     1924      +10     
  Misses         55       55              
Flag Coverage Δ
unittests 97.22% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@BenGalewsky
Copy link
Contributor

Did you really need to remove the docs from pyproject? Could you just disable the docs GHA job without commenting out the rest?

@ArturU043
Copy link
Contributor

ArturU043 commented Sep 26, 2025

Hi,

I mentioned this issue in #652
It follows the version auto bump on the release test I did.

Dont we just need to put the package version back #660 ?

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.

4 participants