public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeorion/
Date: Wed,  8 Feb 2023 12:32:17 +0000 (UTC)	[thread overview]
Message-ID: <1675859514.3fc7c92a9670caf986a459d870f6c6f6d11e55bf.ionen@gentoo> (raw)

commit:     3fc7c92a9670caf986a459d870f6c6f6d11e55bf
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  8 11:10:28 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 12:31:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc7c92a

games-strategy/freeorion: enable py3.11

Upon closer look this seem to work fine now? Crashed at start when
last tried it and hadn't took the time to investigate further
(perhaps was an issue with python 3.11 betas).

Other distros are already using this with 3.11 and upstream tests
it with it too (albeit only cmake tests, they only run pytest bits
with 3.7 and 3.10 currently).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild | 8 ++++++--
 games-strategy/freeorion/freeorion-9999.ebuild        | 7 ++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild b/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild
index 6744b4443595..be201e6b862d 100644
--- a/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild
+++ b/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=8
 
-# note: py3.11 is known failing at runtime with this version
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit check-reqs cmake multiprocessing python-single-r1 xdg
 
 if [[ ${PV} == 9999 ]]; then
@@ -96,6 +95,11 @@ src_test() {
 	# seems fixed by some refactoring in -9999 (excluding for now)
 	cmake_src_test -E 'SmokeTest(Game|Hostless)'
 
+	local EPYTEST_DESELECT=(
+		# broken with 3.11 but is not known to cause issues, just skip for now
+		default/python/tests/AI/test_savegame_manager.py::test_setstate_call
+	)
+
 	epytest -o cache_dir="${T}"/pytest_cache default/python/tests
 }
 

diff --git a/games-strategy/freeorion/freeorion-9999.ebuild b/games-strategy/freeorion/freeorion-9999.ebuild
index d95c1dfd5b18..044eca4aa766 100644
--- a/games-strategy/freeorion/freeorion-9999.ebuild
+++ b/games-strategy/freeorion/freeorion-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit check-reqs cmake multiprocessing python-single-r1 xdg
 
 if [[ ${PV} == 9999 ]]; then
@@ -94,6 +94,11 @@ src_compile() {
 src_test() {
 	cmake_src_test -j1 # avoid running 2 conflicting servers
 
+	local EPYTEST_DESELECT=(
+		# broken with 3.11 but is not known to cause issues, just skip for now
+		default/python/tests/AI/save_game_codec/test_savegame_manager.py::test_setstate_call
+	)
+
 	epytest -o cache_dir="${T}"/pytest_cache default/python/tests
 }
 


             reply	other threads:[~2023-02-08 12:32 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08 12:32 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-01  5:32 [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeorion/ Ionen Wolkens
2024-05-26 14:52 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2023-02-08 13:45 Ionen Wolkens
2022-07-25  6:11 Ionen Wolkens
2022-07-25  6:11 Ionen Wolkens
2022-07-24 15:03 Ionen Wolkens
2022-07-24 15:03 Ionen Wolkens
2022-05-14  2:32 Sam James
2022-05-14  2:32 Sam James
2021-07-01 16:02 Adam Feldman
2021-07-01 16:02 Adam Feldman
2021-06-18 19:18 David Seifert
2020-10-12  3:19 Adam Feldman
2020-10-06 18:12 Adam Feldman
2020-05-09 15:31 Adam Feldman
2020-04-09 20:55 Adam Feldman
2020-04-09 20:55 Adam Feldman
2020-02-09 16:25 Michał Górny
2019-08-12 19:58 Michał Górny
2019-05-11  8:24 Andreas Sturmlechner
2019-05-11  8:24 Andreas Sturmlechner
2019-04-23 10:05 Lars Wendler
2018-03-27  4:06 NP Hardass
2017-12-08  0:35 NP Hardass
2017-12-04  6:27 NP Hardass
2017-09-13 19:48 NP Hardass
2017-05-07  6:36 NP Hardass
2017-04-26 18:43 NP Hardass
2017-04-25 18:58 NP Hardass
2017-03-16  4:24 NP Hardass
2017-03-16  4:24 NP Hardass
2016-10-25  8:55 Thomas Kahle
2015-09-29 12:16 Thomas Kahle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1675859514.3fc7c92a9670caf986a459d870f6c6f6d11e55bf.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox