René's URL Explorer Experiment


Title: Add debian packaging files by SCOTT-HAMILTON · Pull Request #75 · ParallelSSH/ssh-python · GitHub

Open Graph Title: Add debian packaging files by SCOTT-HAMILTON · Pull Request #75 · ParallelSSH/ssh-python

X Title: Add debian packaging files by SCOTT-HAMILTON · Pull Request #75 · ParallelSSH/ssh-python

Description: This PR is a follow up of ParallelSSH/ssh2-python#190 in an attempt to package all the parallel-ssh ecosystem to debian, the end goal being to have a python3-parallel-ssh package. I've already started working on parallel-ssh so it's coming next. I had to disable two tests tests/test_channel.py:test_write_stdin and tests/test_sftp.py:test_mkdir in order to make it build locally, otherwise I had these errors: _________________________ ChannelTest.test_write_stdin _________________________ self = def test_write_stdin(self): self._auth() _in = u'writing to stdin' chan = self.session.channel_new() chan.open_session() chan.request_exec('cat') chan.write(_in + '\n') self.assertEqual(chan.send_eof(), 0) size, data = chan.read() self.assertTrue(size > 0) lines = [line.decode('utf-8') for line in data.splitlines()] self.assertListEqual([_in], lines) chan.close() > chan.read() tests/test_channel.py:173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ssh/channel.pyx:170: in ssh.channel.Channel.read ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ssh.exceptions.SSHError: (-1, b'Remote channel is closed.') ssh/utils.pyx:94: SSHError I don't know much about libssh but reading a closed channel might be the issue. And _____________________________ SFTPTest.test_mkdir ______________________________ self = def test_mkdir(self): mode = int("0644") if version_info <= (2,) else 0o644 _path = 'tmp' abspath = os.path.join(os.path.expanduser('~'), _path) self._auth() sftp = self.session.sftp_init() try: shutil.rmtree(abspath) except OSError: pass > sftp.mkdir(_path, mode) tests/test_sftp.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ssh/sftp.pyx:165: in ssh.sftp.SFTP.mkdir ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ssh.exceptions.SSHError: (-1, b'SFTP server: Failure') ssh/utils.pyx:94: SSHError I doubt '~' expansion works in a build environment This builds fine locally, the steps are as follow (on a debian machine with buildessentials and debhelper installed, and maybe more): # We copy the debian folder but we want to build with the 1.0.0 tree git clone https://github.com/SCOTT-HAMILTON/ssh-python mv ssh-python/debian . rm -rf ssh-python # we get the 1.0.0 tree wget https://github.com/ParallelSSH/ssh-python/archive/refs/tags/1.0.0.tar.gz tar -xf 1.0.0.tar.gz mv ssh-python-1.0.0/ python3-ssh-1.0.0 mv debian python3-ssh-1.0.0 # we make the tar file tar -czf python3-ssh_1.0.0.orig.tar.gz python3-ssh-1.0.0 # we install the build deps cd python3-ssh-1.0.0 sudo mk-build-deps --install debian/control rm -f python3-ssh-build-deps_1.0.0-1_all.deb # and we finally build debuild -us -uc This works for me locally on ZorinOS 16.2. It also builds fine on OBS with debian testing and ubuntu 22.04 https://build.opensuse.org/package/show/home:ScottHamilton/python3-ssh. PS: I've noticed that the tests don't buid locally if the working directory is under /tmp. Maybe this is why the OBS build is failing, very strange ? Here is the error that I get for almost all the tests: __________________________ SFTPTest.test_sftp_setstat __________________________ self = def test_sftp_setstat(self): > self._auth() tests/test_sftp.py:237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/base_case.py:89: in _auth self.session.userauth_publickey(self.pkey), 0) ssh/session.pyx:445: in ssh.session.Session.userauth_publickey ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ssh.exceptions.AuthenticationDenied: b"Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive" ssh/utils.pyx:109: AuthenticationDenied Seems like an auth error.

Open Graph Description: This PR is a follow up of ParallelSSH/ssh2-python#190 in an attempt to package all the parallel-ssh ecosystem to debian, the end goal being to have a python3-parallel-ssh package. I've already ...

X Description: This PR is a follow up of ParallelSSH/ssh2-python#190 in an attempt to package all the parallel-ssh ecosystem to debian, the end goal being to have a python3-parallel-ssh package. I&#39;ve alre...

Opengraph URL: https://github.com/ParallelSSH/ssh-python/pull/75

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:946dd80f-06d9-f1dd-c0e5-9051e83a70b0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBFA2:178CF3:F38DB:13BDD3:697D17EE
html-safe-noncef7b6850c3d22cf20d61a398e583c318e357b150f8100e985fa60f23c9dc3bdd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkEyOjE3OENGMzpGMzhEQjoxM0JERDM6Njk3RDE3RUUiLCJ2aXNpdG9yX2lkIjoiNTYxNDUyODEzMDM5MjU5NDQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3bd5dd6a9da689a001141cd739874051d89880801d20c11ecdecb21b3e669227
hovercard-subject-tagpull_request:1434763929
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/ParallelSSH/ssh-python/pull/75/files
twitter:imagehttps://avatars.githubusercontent.com/u/24496705?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/24496705?s=400&v=4
og:image:altThis PR is a follow up of ParallelSSH/ssh2-python#190 in an attempt to package all the parallel-ssh ecosystem to debian, the end goal being to have a python3-parallel-ssh package. I've already ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None6bac6431e041e40aadf6b728ae7d4714d3e9db06146c32859d7f755bfd99f370
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/ParallelSSH/ssh-python git https://github.com/ParallelSSH/ssh-python.git
octolytics-dimension-user_id22918200
octolytics-dimension-user_loginParallelSSH
octolytics-dimension-repository_id135702111
octolytics-dimension-repository_nwoParallelSSH/ssh-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135702111
octolytics-dimension-repository_network_root_nwoParallelSSH/ssh-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16471c97de653e844cc3021141a92460ac261244
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FParallelSSH%2Fssh-python%2Fpull%2F75%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FParallelSSH%2Fssh-python%2Fpull%2F75%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=ParallelSSH%2Fssh-python
Reloadhttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
Reloadhttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
Reloadhttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
ParallelSSH https://patch-diff.githubusercontent.com/ParallelSSH
ssh-pythonhttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FParallelSSH%2Fssh-python
Fork 31 https://patch-diff.githubusercontent.com/login?return_to=%2FParallelSSH%2Fssh-python
Star 45 https://patch-diff.githubusercontent.com/login?return_to=%2FParallelSSH%2Fssh-python
Code https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python
Issues 1 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/issues
Pull requests 1 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pulls
Discussions https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/discussions
Security 0 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/security
Insights https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pulse
Code https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python
Issues https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/issues
Pull requests https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pulls
Discussions https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/discussions
Security https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/security
Insights https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FParallelSSH%2Fssh-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FParallelSSH%2Fssh-python%2Fissues%2Fnew%2Fchoose
SCOTT-HAMILTONhttps://patch-diff.githubusercontent.com/SCOTT-HAMILTON
ParallelSSH:masterhttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/tree/master
SCOTT-HAMILTON:masterhttps://patch-diff.githubusercontent.com/SCOTT-HAMILTON/ssh-python/tree/master
Conversation 1 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75
Commits 1 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/commits
Checks 0 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/checks
Files changed https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
Add debian packaging files https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
62fb547 Add debian packaging files SCOTT-HAMILTON Jul 14, 2023 https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/commits/62fb5477403a015579a4a0d685da5f3d2d206c9c
Clear filters https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files
changelog https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-93467241211d3f9d253fb8ad341738fbda5e5d3ade4721326f2bba82525fbaee
control https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-2a13f1344504379e877324d3a0375adcbcb4cb27d7e575ad8f4618a52d6a00e0
copyright https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-248a3ad2376574c96e7b8fc79764c5a217d4d41c8bf8679bcca1c3b7b87f8ff2
rules https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-889c5495b68d2a0c0d1f238818716a71939918499efbc0fc6d2994319624fc67
format https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-13e7b6d892391ee2c0c7fedaf7c767cba1b2e89faf2ef48894f3cc14ef06a3fa
debian/changeloghttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-93467241211d3f9d253fb8ad341738fbda5e5d3ade4721326f2bba82525fbaee
View file https://patch-diff.githubusercontent.com/SCOTT-HAMILTON/ssh-python/blob/62fb5477403a015579a4a0d685da5f3d2d206c9c/debian/changelog
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/{{ revealButtonHref }}
debian/controlhttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-2a13f1344504379e877324d3a0375adcbcb4cb27d7e575ad8f4618a52d6a00e0
View file https://patch-diff.githubusercontent.com/SCOTT-HAMILTON/ssh-python/blob/62fb5477403a015579a4a0d685da5f3d2d206c9c/debian/control
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/{{ revealButtonHref }}
debian/copyrighthttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-248a3ad2376574c96e7b8fc79764c5a217d4d41c8bf8679bcca1c3b7b87f8ff2
View file https://patch-diff.githubusercontent.com/SCOTT-HAMILTON/ssh-python/blob/62fb5477403a015579a4a0d685da5f3d2d206c9c/debian/copyright
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/{{ revealButtonHref }}
debian/ruleshttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-889c5495b68d2a0c0d1f238818716a71939918499efbc0fc6d2994319624fc67
View file https://patch-diff.githubusercontent.com/SCOTT-HAMILTON/ssh-python/blob/62fb5477403a015579a4a0d685da5f3d2d206c9c/debian/rules
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/{{ revealButtonHref }}
debian/source/formathttps://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/files#diff-13e7b6d892391ee2c0c7fedaf7c767cba1b2e89faf2ef48894f3cc14ef06a3fa
View file https://patch-diff.githubusercontent.com/SCOTT-HAMILTON/ssh-python/blob/62fb5477403a015579a4a0d685da5f3d2d206c9c/debian/source/format
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ParallelSSH/ssh-python/pull/75/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.