aws-deadline / deadline-cloud-for-maya

AWS Deadline Cloud for Maya
Apache License 2.0
11 stars 15 forks source link

fix: libtoml -> tomllib in depsBundle.py #89

Closed AWS-Samuel closed 8 months ago

AWS-Samuel commented 8 months ago

What was the problem/requirement? (What/Why)

We used the wrong package name for python 3.11

What was the solution? (How)

Use tomllib, ref: https://docs.python.org/3/library/tomllib.html

What is the impact of this change?

We can run depsBundle.py in python 3.11

How was this change tested?

I imported tomllib in 3.11:

(24-02-08 19:56:44) % python -c "import tomllib"

(24-02-08 19:56:47) % python -c "import libtoml"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'libtoml'

Did you run the "Job Bundle Output Tests"? If not, why not? If so, paste the test results here.

No because this does not affect integration code.

Was this change documented?

No

Is this a breaking change?

No