Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14408

Re: PYTHONPATH with cmake build

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject Re: PYTHONPATH with cmake build
Date Tue, 30 Aug 2022 18:30:02 +0200
Message-ID <F0chI-48FT-1@gated-at.bofh.it> (permalink)
References <F0apz-47z4-1@gated-at.bofh.it> <F0azg-47Cd-5@gated-at.bofh.it> <F0bOF-48hk-1@gated-at.bofh.it> <F0bOF-48hk-15@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Aug 30 16:21:13 2022
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=-0.011 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, RCVD_IN_MSPIKE_H2=-0.001, THREADTOPIC=2, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Mailer Zimbra 8.8.15_GA_4272 (zclient/8.8.15_GA_4272)
Thread-Topic PYTHONPATH with cmake build
Thread-Index vCDjZi3YW+1SalG3hSCz8zPYFeQBOQ==
X-Renater-Ptge-Spamstate clean
X-Renater-Ptge-Spamcause gggruggvucftvghtrhhoucdtuddrgedvfedrvdekfedgleejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefkjghfufggtgfgofhtsehtjegttdertdejnecuhfhrohhmpefrkfevveetucfhrhgvuggvrhhitgdqgfhmmhgrnhhuvghluceofhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrheqnecuggftrfgrthhtvghrnhepgfdvieegieetuddvuddvtdeltdfhteeguddtvdehudeugfdugfetgefgtefgjeegnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddtrddvheegrddvgedtrddugeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddtrddvheegrddvgedtrddugeehpdhhvghlohepiihsthhorhgvqdgsfedqtdduvddrphgrrhhtrghgvgdrrhgvnhgrthgvrhdrfhhrpdhmrghilhhfrhhomheprffkveevtecuhfhrvgguvghrihgtqdfgmhhmrghnuhgvlhcuoehfrhgvuggvrhhitgdqvghmmhgrnhhuvghlrdhpihgttggrsehshihntghhrhhothhrohhnqdhsohhlvghilhdrfhhrqedpnhgspghrtghpthhtohepvddprhgtphhtthhopeifrhgrrhesuggvsghirghnrdhorhhgpdhrtghpthhtohepuggvsghirghnqdhphihthhhonheslhhishhtshdruggvsghirghn rdhorhhg
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20246
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/62107125.2425333.1661875321047.JavaMail.zimbra@synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 41
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Tue, 30 Aug 2022 18:02:01 +0200 (CEST)
X-Original-Message-ID <62107125.2425333.1661875321047.JavaMail.zimbra@synchrotron-soleil.fr>
X-Original-References <185024340.2308857.1661867906140.JavaMail.zimbra@synchrotron-soleil.fr> <Yw4fsZMTSHE9Bhpq@belkar.wrar.name> <1885471923.2393430.1661873161950.JavaMail.zimbra@synchrotron-soleil.fr> <Yw4zCfFpt383rI4E@belkar.wrar.name>
Xref csiph.com linux.debian.maint.python:14408

Show key headers only | View raw


> When trying to run tests you should look how does the upstream intend to
run them.


Yes they are building inplace the module like this

from https://github.com/dials/dxtbx/blob/main/.azure-pipelines/unix-build.yml


# Build dxtbx
- bash: |
    set -e
    . conda_base/bin/activate
    set -ux
    mkdir build
    cd build
    cmake ../modules/dxtbx
    cmake --build . --target install
    pip install ../modules/dxtbx
  displayName: Build dxtbx
  workingDirectory: $(Pipeline.Workspace)

then

# Finally, run the full regression test suite
- bash: |
    set -e
    . conda_base/bin/activate
    set -ux
    export DIALS_DATA=${PWD}/data
    cd modules/dxtbx
    export PYTHONDEVMODE=1
    pytest -v -ra -n auto --basetemp="$(Pipeline.Workspace)/tests" --durations=10 \
        --cov=dxtbx --cov-report=html --cov-report=xml --cov-branch \
        --timeout=5400 --regression || echo "##vso[task.complete result=Failed;]Some tests failed"
  displayName: Run tests
  workingDirectory: $(Pipeline.Workspace)


-- 
WBR, wRAR

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 16:30 +0200
  Re: PYTHONPATH with cmake build Andrey Rahmatullin <wrar@debian.org> - 2022-08-30 16:40 +0200
    Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 18:00 +0200
      Re: PYTHONPATH with cmake build Andrey Rahmatullin <wrar@debian.org> - 2022-08-30 18:00 +0200
        Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 18:30 +0200
          Re: PYTHONPATH with cmake build Andrey Rahmatullin <wrar@debian.org> - 2022-08-30 19:00 +0200
            Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 19:20 +0200
              Re: PYTHONPATH with cmake build Neil Williams <codehelp@debian.org> - 2022-08-30 20:10 +0200
            Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 19:30 +0200
          Re: PYTHONPATH with cmake build Stefano Rivera <stefanor@debian.org> - 2022-08-31 00:20 +0200
            Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-31 11:30 +0200
              Re: PYTHONPATH with cmake build stefanor@debian.org - 2022-08-31 11:40 +0200

csiph-web