Comments (5)
I think that
ssl.wrap_socket
needs to be removed too. Used here as well as other places. See https://docs.python.org/3/whatsnew/3.12.html#ssl
Yes, I have a starting point in #328
from circuits.
@kathychurch Could you have a look about Python 3.12 support for the STOMP components? I did a starting point - but not yet found a replacement for ssl.match_hostname()
. Is it still required?
from circuits.
→ PR: #328
from circuits.
I think that ssl.wrap_socket
needs to be removed too. Used here as well as other places. See https://docs.python.org/3/whatsnew/3.12.html#ssl
from circuits.
=============================== warnings summary ===============================
circuits/web/processors.py:2
/home/runner/work/circuits/circuits/circuits/web/processors.py:2: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
from cgi import parse_header
tests/web/test_servers.py:23
/home/runner/work/circuits/circuits/tests/web/test_servers.py:23: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
SSL_CONTEXT = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
tests/core/test_bridge.py::test
tests/node/test_node.py::test_return_value
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=2001) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
tests/web/test_expires.py::test
/home/runner/work/circuits/circuits/tests/web/test_expires.py:26: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
diff = mktime(parsedate(expires)) - mktime(datetime.utcnow().timetuple())
tests/web/test_expires.py::test_nocache
/home/runner/work/circuits/circuits/tests/web/test_expires.py:39: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.utcnow()
tests/web/test_jsonrpc.py::test
/home/runner/work/circuits/circuits/tests/web/jsonrpclib.py:370: DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead
utype, uri = splittype(uri)
tests/web/test_jsonrpc.py::test
/home/runner/work/circuits/circuits/tests/web/jsonrpclib.py:373: DeprecationWarning: urllib.parse.splithost() is deprecated as of 3.8, use urllib.parse.urlparse() instead
self.__host, self.__handler = splithost(uri)
tests/web/test_jsonrpc.py::test
/home/runner/work/circuits/circuits/tests/web/jsonrpclib.py:236: DeprecationWarning: urllib.parse.splituser() is deprecated as of 3.8, use urllib.parse.urlparse() instead
auth, host = splituser(host)
from circuits.
Related Issues (20)
- SSL based tests fail on Ubuntu 20.04 HOT 3
- chunked multi-part web posts HOT 10
- 📣 Migrating off of Github 📣 HOT 5
- Migrate circuits.web HTTP parser to httoop HOT 7
- circuits.web.tools.validate_etags(autotags=True) is broken
- Migrate from Travis-CI to github actions HOT 2
- Fix Python 3.10 support HOT 2
- reduce possible XSS attack vector
- Integrate tornado
- allow coroutines with Python 3 syntax as async def functions HOT 4
- circuits.web error handling broken HOT 1
- circuits.web.tools.validate_etags(autotags=True) is broken
- Missing A record for domain circuitsframework.com HOT 9
- failing IRC byte representation
- Couple of questions the documentation seems to be lacking HOT 4
- TravisCI blocks Pull Requests HOT 4
- Recent changes but no PyPi release HOT 3
- enable skipped pyinotify test HOT 2
- fix Python deprecations HOT 3
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 circuits.