Comments (5)
Ah sorry, I failed to update my branch properly from upstream and it was very out of date. All is good when updating it.
At least it helped update the docs :) Sorry again for the noise, and thank you for testing 3.12 pre-releases!
from dill.
@EliahKagan: Thanks for your posting. I was wondering the same thing. Good catch on the outdated docs.
from dill.
I am unable to reproduce this at the tip of the master branch (currently b66411e). Does this happen at the tip of master, or with any recent releases? This part of your output suggests you may be testing a very old version:
py312: install_package> python -I -m pip install --force-reinstall --no-deps /private/tmp/dill/.tox/.tmp/package/1/dill-0.3.2.dev0.tar.gz
dill 0.3.2 was released in June 2020, with 0.3.3 in November 2020. So I don't think tox
runs on any recent dill should show that. The corresponding part of my tox -e py312
output shows:
py312: install_package> python -I -m pip install --force-reinstall --no-deps /home/ek/repos-wsl/dill/.tox/.tmp/package/2/dill-0.3.8.dev0.tar.gz
And for my next line, instead of:
py312: commands[0]> .tox/py312/bin/python setup.py build
I have:
py312: commands[0]> .tox/py312/bin/python -m pip install .
This is what I expect, because tox.ini
does not directly use setup.py
since #469 (per this diff).
With that said, even if I am understanding correctly and the problem you've reported here was effectively fixed in #469, it seems to me that there is at least one thing that should be updated, relating to Python 3.12 not having setuptools
installed by default:
Lines 10 to 11 in b66411e
However, that cannot be the cause of test failures, because it appears in a docstring (that is not a doctest).
from dill.
No problem--and thanks for the fix for that (#621)!
I've noticed that the new instructions give an installation command that assumes the current directory is the location of that file (they refer to the repository root as ../..
). This differs from the old instructions, which assumed they were run in the root of the repository (where seup.py
is).
Although I find this odd, I'm reluctant to propose that it be changed, in case it is intentional.
from dill.
I've noticed that the new instructions give an installation command that assumes the current directory is the location of that file (they refer to the repository root as
../..
). This differs from the old instructions, which assumed they were run in the root of the repository (whereseup.py
is).Although I find this odd, I'm reluctant to propose that it be changed, in case it is intentional.
Yeah, it's intentional. I thought it a bit odd too, but I think it more correct. Maybe it'd be better to say one should "cd to the package root" then python -m pip install .
-- that might be better...
from dill.
Related Issues (20)
- Error trying to serialize a binary file handle HOT 3
- Cannot pickle TFAutomodels HOT 1
- dill.load - object has no attribute in custom class HOT 2
- How to ensure the same functions serialize to the same bytes?
- Cannot use callable that was pickled within pytest HOT 14
- dill.source.getsource applied on lambda function returns many cached lines
- Class attributes changes at load if the object is in a list or tuple. HOT 1
- nan type drift for np.nan HOT 3
- dill.source.findsource fails when in asyncio REPL
- `save_function()` can't save function in a submodule that has the same name as an attribute of the parent module HOT 2
- bytes length not a multiple of item size
- dill.source.getsource returns decorated function instead of function
- 0.3.7 incorrectly pickles the class definition for module/class with the same name HOT 7
- Exception: --- Logging error --- HOT 3
- Use dump_module() in jupyter notebook with remote kernel HOT 1
- UnpicklingError using dill but not stdlib pickle HOT 2
- Compatibility with Pyodide HOT 6
- tfp.math.psd_kernels.ExponentiatedQuadratic no longer serialiases with latest versions
- `dill.load_session()` raises `NameError: name 'UnpicklingError' is not defined` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dill.