Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: Re: PYTHONPATH with cmake build Date: Tue, 30 Aug 2022 18:30:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Aug 30 16:21:13 2022 Old-Return-Path: 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: archive/latest/20246 List-ID: List-URL: 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> <1885471923.2393430.1661873161950.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:14408 > 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